Документ взят из кэша поисковой машины. Адрес оригинального документа : http://lvk.cs.msu.su/~sveta/4-3sw.pdf
Дата изменения: Wed Mar 9 18:48:51 2016
Дата индексирования: Sat Apr 9 22:35:53 2016
Кодировка:
Sliding Window


SW #1
· A B , 6 , ( 3) go-back-N. 4- , A, ( ACK' B ). A B?



· :
­ ­ Sender Window Size ­ ­ Last ACK Received ­ ­ Last Segment Sent ­ ­








· :
­ ­ ­ ­ ­ Receiver Window Size ­ Largest Acceptable Segment ­ Last Segment Received -







SW #1
1

Sender: SWS = 3 LAR = 0 LSS = 1

Receiver: RWS = 1 LAS = 1 LSR = 0


SW #1
1 2

Sender: SWS = 3 LAR = 0 LSS = 2

Receiver: RWS = 1 LAS = 1 LSR = 0


SW #1
1 2 3

Sender: SWS = 3 LAR = 0 LSS = 3

Receiver: RWS = 1 LAS = 1 LSR = 0


SW #1
1 2 3

Sender: SWS = 3 LAR = 0 LSS = 3

A1

Receiver: RWS = 1 LAS = 2 LSR = 1


SW #1
1 2 3

Sender: SWS = 3 LAR = 0 LSS = 3

A1 A2

Receiver: RWS = 1 LAS = 3 LSR = 2


SW #1
1 2 3

Sender: SWS = 3 LAR = 0 LSS = 3

A1 A2 A3

Receiver: RWS = 1 LAS = 4 LSR = 3


SW #1
1 2 3

Sender: SWS = 3 LAR = 1 LSS = 4

A1 A2 A3 4

Receiver: RWS = 1 LAS = 4 LSR = 3


SW #1
1 2 3

Sender: SWS = 3 LAR = 2 LSS = 5

A1 A2 A3 4 5

Receiver: RWS = 1 LAS = 4 LSR = 3


SW #1
1 2 3

Sender: SWS = 3 LAR = 3 LSS = 6

A1 A2 A3 4 5 6

Receiver: RWS = 1 LAS = 4 LSR = 3


SW #1
1 2 3

Sender: SWS = 3 LAR = 3 LSS = 6

A1 A2 A3 4 5 6

Receiver: RWS = 1 LAS = 4 LSR = 3 X


SW #1
1 2 3

Sender: SWS = 3 LAR = 3 LSS = 6

A1 A2 A3 4 5 6 A3

Receiver: RWS = 1 LAS = 4 LSR = 3 X
X


SW #1
1 2 3

Sender: SWS = 3 LAR = 3 LSS = 6

A1 A2 A3 4 5 6 A3 A3

Receiver: RWS = 1 LAS = 4 LSR = 3 X
X X


SW #1
1 2 3

Sender: SWS = 3 LAR = 3 LSS = 6 Timeout for 4

A1 A2 A3 4 5 6 A3 A3 4

Receiver: RWS = 1 LAS = 4 LSR = 3 X
X X


SW #1
1 2 3

Sender: SWS = 3 LAR = 3 LSS = 6 Timeout for 4

A1 A2 A3 4 5 6 A3 A3 4 5

Receiver: RWS = 1 LAS = 4 LSR = 3 X
X X


SW #1
1 2 3

Sender: SWS = 3 LAR = 3 LSS = 6 Timeout for 4

A1 A2 A3 4 5 6 A3 A3 4 5 6

Receiver: RWS = 1 LAS = 4 LSR = 3 X
X X


SW #1
1 2 3

Sender: SWS = 3 LAR = 6 LSS = 6 Timeout for 4

A1 A2 A3 4 5 6 A3 A3 4 5 6 A4 A5 A6

Receiver: RWS = 1 LAS = 7 LSR = 6 X
X X


SW #1
1 2 3

Sender: SWS = 3 LAR = 6 LSS = 6 Timeout for 4

A1 A2 A3 4 5 6 A3 A3 4 5 6 A4 A5 A6

Receiver: RWS = 1 LAS = 7 LSR = 6 X
X X

: 9


SW #2
· A B , 6 , ( 4) go-back-N. 3- , A, ( ACK' B ). A B?


SW #3
· A 16 B SW. RTT = 100 , 50 . ?


SW #3
· p = 16 * 8 = 128 . · 1 RTT . , 50 128 = = 64 / -3 100 10


SW #4
· A 32 B SW. RTT = 80 , 128 /. ?