1 / 11

TCP Throughput Measurement and Tuning on Linux Box

TCP Throughput Measurement and Tuning on Linux Box. Mentee : Zhe Jin, Ran Zhao Mentor : Xiaolan Zhang Advisor : Professor Steve Lumetta ECE PURE Program. 2009 Fall PURE Symposium. Goal. Understand TCP throughput On Linux box Tuning parameters Variant factors TCP window size

miriam
Download Presentation

TCP Throughput Measurement and Tuning on Linux Box

An Image/Link below is provided (as is) to download presentation Download Policy: Content on the Website is provided to you AS IS for your information and personal use and may not be sold / licensed / shared on other websites without getting consent from its author. Content is provided to you AS IS for your information and personal use only. Download presentation by click this link. While downloading, if for some reason you are not able to download a presentation, the publisher may have deleted the file from their server. During download, if you can't get a presentation, the file might be deleted by the publisher.

E N D

Presentation Transcript


  1. TCP Throughput Measurement and Tuning on Linux Box Mentee: Zhe Jin, Ran Zhao Mentor: Xiaolan Zhang Advisor: Professor Steve Lumetta ECE PURE Program 2009 FallPURE Symposium

  2. Goal • Understand TCP throughput • On Linux box • Tuning parameters • Variant factors • TCP window size • Packet size

  3. Network Efficiency • Ethernet interface 100 Mbit/s • Header overheads • Ethernet header: 38 bytes • IP header+TCP header: 52 bytes • Payload size P • Default Maximum Segment Size MSS =1448 bytes • Effective throughput • et(P) =100 min(P, 1448) /(min(P, 1448) + 90) Mbit/s • Maximum et = 94.15 Mbit/s payload 38B 52B Up to 1448B

  4. TCP Throughput Analysis sender receiver Data volume including TCP/IP overhead Round trip time (RTT) TCP window size (w) Bytes Bandwidth delay product BDP ... Throughput t(P,w) = min ( min(w, BDP)*et(P)/BDP, et(P))

  5. IPERF – Measurement Tool • C++ based performance tool • Version -2.0.4 • Support TCP and UDP • Tunable parameters • TCP window size through socket buffer size setting • Socket level message length

  6. Iperf ./iperf -c erminia -w 15k -l 1500 -t 6 -i 3

  7. Window Size vs. Throughput

  8. Payload Size vs. Throughput

  9. Conclusion and Future Work • For fixed packet size, TCP throughput is linear to the window size until the throughput is capped by the interface rate. • TCP throughput is lower for smaller payload size (< 64 bytes). • Need to understand Nagle’s algorithm effect. • Use netperf to compare with iperf • Measure CPU utilization.

  10. What We Learned • Knowledge of TCP protocol details • Network performance measurement tools (iperf, netperf) • Linux tools (gnuplot, awk) • Data analysis skills

  11. Thank you !

More Related