Unit III - Transport Layer Final
Unit III - Transport Layer Final
Disclaimer:
a. Information included in these slides came from multiple sources. We have tried our
best to cite the sources. Please refer to the references to learn about the sources,
when applicable.
b. The slides should be used only for preparing notes, academic purposes (e.g. in teaching
a class), and should not be used for commercial purposes.
Unit-III
TRANSPORT LAYER
Figure: (a) The position of RTP in the protocol stack. (b) Packet nesting.
8/27/2019 Computer Network Unit III 40
Real-Time Transport Protocol [RTP] (Cntd.)
RTP normally runs in user space over UDP (in the operating system).
Its works as follows
Multimedia RTP RTP Through UDP IP
Fed into Multiplexing Ethernet
application library Packets Sockets Packets Packets
Because of this design, it is a little hard to say which layer RTP is in. (see previous
figure)
looks like an application protocol – because it runs in user space and is linked to the application
program.
looks like a transport protocol – because it is a generic, application independent protocol that just
provides transport facilities
Sequence Number –
defines the number assigned to the first data byte contained in that segment.
Acknowledgement Number –
defines the number of the next byte a party expects to receive.
The acknowledgment number is cumulative.
Figure: Half-close.
8/27/2019 Computer Network Unit III 57
Transmission Control Protocol [TCP] (Cntd.)
TCP Connection Management Modeling: State Transition Diagram
Packets
Delivered Congested
i.e. (Uncontrolled)
Throughput Packets
Sent
Figure: (a) Goodput and (b) delay as a function of offered load.
8/27/2019 Computer Network Unit III 122
Transmission Control Protocol [TCP] (Cntd.)
Desirable Bandwidth Allocation (Cntd.): Efficiency and Power
Kleinrock (1979) proposed the metric of power:
𝒍𝒐𝒂𝒅
𝒑𝒐𝒘𝒆𝒓 =
𝒅𝒆𝒍𝒂𝒚
Figure: (a) A fast network feeding a low-capacity receiver. (b) A slow network feeding a high-capacity receiver.
8/27/2019 Computer Network Unit III 129
Transmission Control Protocol [TCP] (Cntd.)
Regulating the Sending Rate (Cntd.):
The way that a transport protocol should regulate the sending rate depends on the
form of the feedback returned by the network. Different network layers may return
different kinds of feedback. The feedback may be explicit or implicit, and it may be
precise or imprecise.
Protocol Signal Explicit? Precise?
XCP Rate to use Yes Yes
TCP with ECN Congestion warning Yes No
FAST TCP End-to-end delay No Yes
Compound TCP Packet loss & end-to-end delay No Yes
CUBIC TCP Packet loss No No
TCP Packet loss No No
Figure: Signals of some congestion control protocols.
8/27/2019 Computer Network Unit III 130
Transmission Control Protocol [TCP] (Cntd.)
Regulating the Sending Rate (Cntd.): Leaky Bucket
A leaky bucket algorithm shapes bursty traffic into fixed-rate traffic by averaging the
data rate. It may drop the packets if the bucket is full.