Pipelined Protocols: GBN & Selective repeat
RDT 3.0: stop and wait operation
โ ์ ๋ขฐ์ฑ์ ์์ง๋ง ์๋๋ ๋งค์ฐ ๋๋ฆฌ๋ค...
โ U(utilazation): fraction of time sender busy sending
โ ํ ๋ฒ์ ํ๋์ฉ ๋ณด๋ด๊ณ ๋๊ธฐํ๋ ๊ณผ์ ์ด ๋งค์ฐ ๋นํจ์จ์
Piplelined protocols
โ Pipline Protocol : ํ ๋ฒ์ ์ฌ๋ฌ ๊ฐ๋ฅผ ๋ณด๋์ผ๋ก์จ ํจ์จ์ ๋์ธ๋ค!
โ Go-Back-N ๋ฐฉ์
โ Selective Repeat ๋ฐฉ์
Go - Back - N
โ window: ํ ๋ฒ์ ๋ณด๋ผ ํจํท์ ์
โ ACK๊ฐ cumulativeํ๋ค. -> ACK(n)
โ ๊ฐ๊ฐ์ ํจํท์ ํ์ด๋จธ๋ฅผ ๊ฐ์ง๊ณ ์๋ค.
โ n๋ฒ ํจํท์์ timeout ๋ฐ์ ์ window ๋ด์ ์๋ n๋ณด๋ค ํฐ ํจํท๋ฒํธ๋ฅผ ๊ฐ์ง ๋ชจ๋ ํจํท์ ์ฌ์ ์กํ๋ค.
Go - Back - N ๋ฐฉ์์์ reciever
โ reciever๋ ๋งค์ฐ ๋จ์ํ๋ค.
โ ๋ฌด์กฐ๊ฑด ๋ค์ ์์์ ํจํท๋ง ๊ธฐ๋ค๋ฆผ
โ ๋๋ถ๋ถ์ ์ผ๋ค์ sender๊ฐ ์ํ
๊ทธ๋ฆผ์ผ๋ก ๋ํ๋ธ GBN
โ sender๋ ๋ฒํธ๊ฐ ์ ๋ง๋ ํจํท์ด ์์ ๋ ๊ทธ๋ฅ ๋ฒ๋ฆฐ๋ค!
โ ๊ทธ๋ฌ๋ค๊ฐ timeout ๋ฐ์์ reciever๊ฐ ํจํท ์ฌ์ ์ก -> window size์ธ N๋งํผ ๋ค์ ๋ณด๋ด๊ธฐ ๋๋ฌธ์ 'Go Back N'
However...
โ ํ๋์ ์๋ฌ ๋๋ฌธ์ ๋ชจ๋ ํจํท์ ์ฌ์ ์กํ๋ ๊ฑด ๋๋ฌด ๋นํจ์จ์
โ ์ด๋ฅผ ๊ฐ์ ํ ๊ฒ Selective Repeat!
Selective Repeat
โ cumulatice ACK๊ฐ ์๋๋ผ ๊ฐ๋ณ ํจํท์ ๋ํ ACK!!
โ ์์๊ฐ ์ ๋ง๋๋ผ๋ ์ฌ๋ฐ๋ฅธ ํจํท์ด๋ฉด ์ ์ฅํ๋ค
๊ทธ๋ฆผ์ผ๋ก ๋ํ๋ธ selective repeat
โ buffer(reciever window)๊ฐ ์์ฑ๋๋ฉด ํด๋น ํจํท๋ค์ application layer๋ก ์ฌ๋ ค์ค๋ค.
Selective Repeat์ ๋๋ ๋ง
โ ์๋ก ๋ค์ด์ค๋ ํจํท๊ณผ ๊ธฐ๋ค๋ฆฌ๋ ํจํท์ ๊ตฌ๋ณํ๊ธฐ ์ํ ์ต์์ seq#๋...?
โ window size๋ seq#์ ์ ๋ฐ ์ดํ์ฌ์ผ ํ๋ค.
ใใ-> window size <= seq# / 2
'โญ Group_Study > Networking' ์นดํ ๊ณ ๋ฆฌ์ ๋ค๋ฅธ ๊ธ
| [3์ฃผ์ฐจ] TCP: Reliable Data Transfer (0) | 2022.10.06 |
|---|---|
| [3์ฃผ์ฐจ] TCP์ Segment Structure (0) | 2022.10.05 |
| [2์ฃผ์ฐจ] Principles of Reliable Data Transfer (0) | 2022.09.27 |
| [2์ฃผ์ฐจ] Connectionless transport : UDP (0) | 2022.09.27 |
| [2์ฃผ์ฐจ] Transport Layer- Multiplexing_Demultiplexing (0) | 2022.09.27 |
๋๊ธ