1. Trang chủ
  2. » Giáo án - Bài giảng

mạng máy tính nâng cao nguyễn đức thái chương ter6 the transport layer sinhvienzone com

66 46 0

Đang tải... (xem toàn văn)

Tài liệu hạn chế xem trước, để xem đầy đủ mời bạn chọn Tải xuống

THÔNG TIN TÀI LIỆU

Nội dung

om nh Vi en Zo ne C Chapter Si The Transport Layer SinhVienZone.com https://fb.com/sinhvienzonevn – nh Vi en Zo ne C Services Provided to the Upper Layers Transport Service Primitives Berkeley Sockets An Example of Socket Programming: An Internet File Server Si • • • • om The Transport Service SinhVienZone.com https://fb.com/sinhvienzonevn Si nh Vi en Zo ne C om Services Provided to the Upper Layers The network, transport, and application layers SinhVienZone.com https://fb.com/sinhvienzonevn nh Vi en Zo ne C om Transport Service Primitives Si The primitives for a simple transport service SinhVienZone.com https://fb.com/sinhvienzonevn Si nh Vi en Zo ne C om Transport Service Primitives (2) The nesting of TPDUs, packets, and frames SinhVienZone.com https://fb.com/sinhvienzonevn Si nh Vi en Zo ne C om Transport Service Primitives (3) A state diagram for a simple connection management scheme Transitions labeled in italics are caused by packet arrivals The solid lines show the client's state sequence The dashed lines show the server's state sequence SinhVienZone.com https://fb.com/sinhvienzonevn Si nh Vi en Zo ne C om Berkeley Sockets The socket primitives for TCP SinhVienZone.com https://fb.com/sinhvienzonevn om C ne Zo Socket Programming Example: Internet File Server Si nh Vi en 6-6-1 Client code using sockets SinhVienZone.com https://fb.com/sinhvienzonevn om C ne Zo Si nh Vi en Socket Programming Example: Internet File Server (2) Client code using sockets SinhVienZone.com https://fb.com/sinhvienzonevn nh Vi en Zo ne C Addressing Connection Establishment Connection Release Flow Control and Buffering Multiplexing Crash Recovery Si • • • • • • om Elements of Transport Protocols SinhVienZone.com https://fb.com/sinhvienzonevn Si nh Vi en Zo ne C om TCP Congestion Control (a) A fast network feeding a low capacity receiver (b) A slow network feeding a high-capacity receiver SinhVienZone.com https://fb.com/sinhvienzonevn Si nh Vi en Zo ne C om TCP Congestion Control (2) An example of the Internet congestion algorithm SinhVienZone.com https://fb.com/sinhvienzonevn Si nh Vi en Zo ne C om TCP Timer Management (a) Probability density of ACK arrival times in the data link layer (b) Probability density of ACK arrival times for TCP SinhVienZone.com https://fb.com/sinhvienzonevn Si nh Vi en Zo ne C om Wireless TCP and UDP Splitting a TCP connection into two connections SinhVienZone.com https://fb.com/sinhvienzonevn Si nh Vi en Zo ne C om Transitional TCP (a) RPC using normal TPC (b) RPC using T/TCP SinhVienZone.com https://fb.com/sinhvienzonevn nh Vi en Zo ne C Performance Problems in Computer Networks Network Performance Measurement System Design for Better Performance Fast TPDU Processing Protocols for Gigabit Networks Si • • • • • om Performance Issues SinhVienZone.com https://fb.com/sinhvienzonevn Si nh Vi en Zo ne C om Performance Problems in Computer Networks 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 SinhVienZone.com https://fb.com/sinhvienzonevn .C om Network Performance Measurement Si nh Vi en Zo ne The basic loop for improving network performance Measure relevant network parameters, performance Try to understand what is going on Change one parameter SinhVienZone.com https://fb.com/sinhvienzonevn om System Design for Better Performance Si nh Vi en Zo ne C Rules: CPU speed is more important than network speed Reduce packet count to reduce software overhead Minimize context switches Minimize copying You can buy more bandwidth but not lower delay Avoiding congestion is better than recovering from it Avoid timeouts SinhVienZone.com https://fb.com/sinhvienzonevn Si nh Vi en Zo ne C om System Design for Better Performance (2) Response as a function of load SinhVienZone.com https://fb.com/sinhvienzonevn Si nh Vi en Zo ne C om System Design for Better Performance (3) Four context switches to handle one packet with a user-space network manager SinhVienZone.com https://fb.com/sinhvienzonevn Si nh Vi en Zo ne C om Fast TPDU Processing The fast path from sender to receiver is shown with a heavy line The processing steps on this path are shaded SinhVienZone.com https://fb.com/sinhvienzonevn Si nh Vi en Zo ne C om Fast TPDU Processing (2) (a) TCP header (b) IP header In both cases, the shaded fields are taken from the prototype without change SinhVienZone.com https://fb.com/sinhvienzonevn Si nh Vi en Zo ne C om Fast TPDU Processing (3) A timing wheel SinhVienZone.com https://fb.com/sinhvienzonevn Si nh Vi en Zo ne C om Protocols for Gigabit Networks Time to transfer and acknowledge a 1-megabit file over a 4000-km line SinhVienZone.com https://fb.com/sinhvienzonevn ... Services Provided to the Upper Layers The network, transport, and application layers SinhVienZone.com https://fb.com/sinhvienzonevn nh Vi en Zo ne C om Transport Service Primitives Si The primitives... Elements of Transport Protocols SinhVienZone.com https://fb.com/sinhvienzonevn Si nh Vi en Zo ne C om Transport Protocol (a) Environment of the data link layer (b) Environment of the transport layer. .. https://fb.com/sinhvienzonevn Si nh Vi en Zo ne C om The Example Transport Entity The network layer packets used in our example SinhVienZone.com https://fb.com/sinhvienzonevn om The Example Transport Entity (2) Si nh

Ngày đăng: 30/01/2020, 23:02