Presentation is loading. Please wait.

Presentation is loading. Please wait.

The Transport Layer Chapter 6 6.5 - 6.7. Computer Networks, Fifth Edition by Andrew Tanenbaum and David Wetherall, © Pearson Education-Prentice Hall,

Similar presentations


Presentation on theme: "The Transport Layer Chapter 6 6.5 - 6.7. Computer Networks, Fifth Edition by Andrew Tanenbaum and David Wetherall, © Pearson Education-Prentice Hall,"— Presentation transcript:

1 The Transport Layer Chapter 6 6.5 - 6.7

2 Computer Networks, Fifth Edition by Andrew Tanenbaum and David Wetherall, © Pearson Education-Prentice Hall, 2011 The Internet Transport Protocols: TCP (1) a)Introduction to TCP b)The TCP service model c)The TCP protocol d)The TCP segment header e)TCP connection establishment f)TCP connection release

3 Computer Networks, Fifth Edition by Andrew Tanenbaum and David Wetherall, © Pearson Education-Prentice Hall, 2011 The Internet Transport Protocols: TCP (2) a)TCP connection management modeling b)TCP sliding window c)TCP timer management d)TCP congestion control e)TCP futures

4 Computer Networks, Fifth Edition by Andrew Tanenbaum and David Wetherall, © Pearson Education-Prentice Hall, 2011 The TCP Service Model (1) a)Some assigned ports

5 Computer Networks, Fifth Edition by Andrew Tanenbaum and David Wetherall, © Pearson Education-Prentice Hall, 2011 The TCP Service Model (2) (a)Four 512-byte segments sent as separate IP diagrams (b)The 2048 bytes of data delivered to the application in a single READ call

6 Computer Networks, Fifth Edition by Andrew Tanenbaum and David Wetherall, © Pearson Education-Prentice Hall, 2011 The TCP Segment Header a)The TCP header.

7 Computer Networks, Fifth Edition by Andrew Tanenbaum and David Wetherall, © Pearson Education-Prentice Hall, 2011 TCP Connection Establishment (a)TCP connection establishment in the normal case. (b) Simultaneous connection establishment on both sides.

8 Computer Networks, Fifth Edition by Andrew Tanenbaum and David Wetherall, © Pearson Education-Prentice Hall, 2011 TCP Connection Management Modeling (1) a)The states used in the TCP connection management finite state machine.

9 Computer Networks, Fifth Edition by Andrew Tanenbaum and David Wetherall, © Pearson Education-Prentice Hall, 2011 TCP Connection Management Modeling (2) a)TCP connection management finite state machine. b)The heavy solid line is the normal path for a client. The heavy dashed line is the normal path for a server. The light lines are unusual events. Each transition is labeled by the event causing it and the action resulting from it, separated by a slash.

10 Computer Networks, Fifth Edition by Andrew Tanenbaum and David Wetherall, © Pearson Education-Prentice Hall, 2011 TCP Sliding Window (1) a)Window management in TCP

11 Computer Networks, Fifth Edition by Andrew Tanenbaum and David Wetherall, © Pearson Education-Prentice Hall, 2011 TCP Sliding Window (2) a)Silly window syndrome

12 Computer Networks, Fifth Edition by Andrew Tanenbaum and David Wetherall, © Pearson Education-Prentice Hall, 2011 TCP Timer Management (a)Probability density of acknowledgment arrival times in data link layer. (b) … for TCP

13 Computer Networks, Fifth Edition by Andrew Tanenbaum and David Wetherall, © Pearson Education-Prentice Hall, 2011 TCP Congestion Control (1) a)Slow start from an initial congestion window of 1 segment

14 Computer Networks, Fifth Edition by Andrew Tanenbaum and David Wetherall, © Pearson Education-Prentice Hall, 2011 TCP Congestion Control (2) a)Additive increase from an initial congestion window of 1 segment.

15 Computer Networks, Fifth Edition by Andrew Tanenbaum and David Wetherall, © Pearson Education-Prentice Hall, 2011 TCP Congestion Control (3) a)Slow start followed by additive increase in TCP Tahoe.

16 Computer Networks, Fifth Edition by Andrew Tanenbaum and David Wetherall, © Pearson Education-Prentice Hall, 2011 TCP Congestion Control (4) a)Fast recovery and the sawtooth pattern of TCP Reno.

17 Computer Networks, Fifth Edition by Andrew Tanenbaum and David Wetherall, © Pearson Education-Prentice Hall, 2011 Performance Issues a)Performance problems in computer networks b)Network performance measurement c)System design for better performance d)Fast TPDU processing e)Protocols for high-speed networks

18 Computer Networks, Fifth Edition by Andrew Tanenbaum and David Wetherall, © Pearson Education-Prentice Hall, 2011 Performance Problems in Computer Networks a)The state of transmitting one megabit from San Diego to Boston. (a) At t = 0. (b) After 500 μ sec. (c) After 20 msec. (d) After 40 msec.

19 Computer Networks, Fifth Edition by Andrew Tanenbaum and David Wetherall, © Pearson Education-Prentice Hall, 2011 Network Performance Measurement (1) a)Steps to performance improvement b)Measure relevant network parameters, performance. c)Try to understand what is going on. d)Change one parameter.

20 Computer Networks, Fifth Edition by Andrew Tanenbaum and David Wetherall, © Pearson Education-Prentice Hall, 2011 Network Performance Measurement (2) a)Issues in measuring performance b)Sufficient sample size c)Representative samples d)Clock accuracy e)Measuring typical representative load f)Beware of caching g)Understand what you are measuring h)Extrapolate with care

21 Computer Networks, Fifth Edition by Andrew Tanenbaum and David Wetherall, © Pearson Education-Prentice Hall, 2011 Network Performance Measurement (3) a)Response as a function of load.

22 Computer Networks, Fifth Edition by Andrew Tanenbaum and David Wetherall, © Pearson Education-Prentice Hall, 2011 System Design for Better Performance (1) a)Rules of thumb b)CPU speed more important than network speed c)Reduce packet count to reduce software overhead d)Minimize data touching e)Minimize context switches f)Minimize copying g)You can buy more bandwidth but not lower delay 7.Avoiding congestion is better than recovering from it 8.Avoid timeouts

23 Computer Networks, Fifth Edition by Andrew Tanenbaum and David Wetherall, © Pearson Education-Prentice Hall, 2011 System Design for Better Performance (2) a)Four context switches to handle one packet with a user-space network manager.

24 Computer Networks, Fifth Edition by Andrew Tanenbaum and David Wetherall, © Pearson Education-Prentice Hall, 2011 Fast TPDU Processing (1) a)The fast path from sender to receiver is shown with a heavy line. The processing steps on this path are shaded.

25 Computer Networks, Fifth Edition by Andrew Tanenbaum and David Wetherall, © Pearson Education-Prentice Hall, 2011 Fast TPDU Processing (2) a)(a) TCP header. (b) IP header. In both cases, the shaded fields are taken from the prototype without change.

26 Computer Networks, Fifth Edition by Andrew Tanenbaum and David Wetherall, © Pearson Education-Prentice Hall, 2011 Protocols for High-Speed Networks (1) a)A timing wheel

27 Computer Networks, Fifth Edition by Andrew Tanenbaum and David Wetherall, © Pearson Education-Prentice Hall, 2011 Protocols for High-Speed Networks (2) a)Time to transfer and acknowledge a 1-megabit file over a 4000-km line

28 Computer Networks, Fifth Edition by Andrew Tanenbaum and David Wetherall, © Pearson Education-Prentice Hall, 2011 Delay Tolerant Networking a)DTN Architecture b)The Bundle Protocol

29 Computer Networks, Fifth Edition by Andrew Tanenbaum and David Wetherall, © Pearson Education-Prentice Hall, 2011 DTN Architecture (1) a)Delay-tolerant networking architecture

30 Computer Networks, Fifth Edition by Andrew Tanenbaum and David Wetherall, © Pearson Education-Prentice Hall, 2011 DTN Architecture (2) a)Use of a DTN in space.

31 Computer Networks, Fifth Edition by Andrew Tanenbaum and David Wetherall, © Pearson Education-Prentice Hall, 2011 The Bundle Protocol (1) a)Delay-tolerant networking protocol stack.

32 Computer Networks, Fifth Edition by Andrew Tanenbaum and David Wetherall, © Pearson Education-Prentice Hall, 2011 The Bundle Protocol (2) a)Bundle protocol message format.

33 Computer Networks, Fifth Edition by Andrew Tanenbaum and David Wetherall, © Pearson Education-Prentice Hall, 2011 End a)Chapter 6


Download ppt "The Transport Layer Chapter 6 6.5 - 6.7. Computer Networks, Fifth Edition by Andrew Tanenbaum and David Wetherall, © Pearson Education-Prentice Hall,"

Similar presentations


Ads by Google