1 / 17

Reduced TCP Window Size for VoIP in Legacy LAN Environments

Reduced TCP Window Size for VoIP in Legacy LAN Environments. Nikolaus F ä rber, Bernd Girod, Balaji Prabhakar. Scenario. Host. SOHO with < 30 nodes Switched, full duplex LAN architecture 10/100 BASE-T, single switch. 10 BASE-T. S. T1/DSL/Cable. R. WAN. IP Phone. T2.

gen
Download Presentation

Reduced TCP Window Size for VoIP in Legacy LAN Environments

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. Reduced TCP Window Sizefor VoIP in Legacy LAN Environments Nikolaus Färber, Bernd Girod, Balaji Prabhakar

  2. Scenario Host • SOHO with < 30 nodes • Switched, full duplex LAN architecture • 10/100 BASE-T, single switch 10 BASE-T S T1/DSL/Cable R WAN IP Phone T2 ... Legacy LAN, IP best-effort • Problems: • Data (TCP) interfereswith voice (UDP) • Queuing delay • Loss “Last Mile”

  3. Goal Control TCP traffic from network edge (T2)such that voice delay is reduced

  4. Overview • TCP flow control basics • Window based flow control • Bandwidth-delay product • TCP’s congestion avoidance • Bandwidth-delay product • LFNs • LANs • Rule of thumb for setting advertised window size • Results: voice delay and data throughput for • File transfer • LAN at different loads • TCP window control by T2 • Limitations and work around

  5. TCP Flow Control Basics • TCP flow control based on window size W (number of packets source is allowed to send without ACK) • Receiver signals advertised window size Wmax in ACK • Steady state: WN = BD B = 40 packet/sec D = 0.1 sec N = 2 connections W = 2 rx tx • TCP does not know B, D, N ! • Use loss as implicit sign for congestion: Increase until loss Back off (incremental increase) (multiplicative decrease)

  6. BD for LFNs • “Long Fat Networks” (LFNs) have big BDrequiring big windows • Example: cross-country ATM • B = 155 Mbps • D = 70 ms • Original TCP only supports 64 Kbyte (16 bit filed in header) • New “window scaling” option allows up to 1 Gbyte • Common values still 32-64 KByte BD = 1.3 MByte

  7. tx sw rx BD for LANs • Wmax for LFNs way too big for LANs! • Example, single Ethernet link: • BD <! 512 bit • Main delay on switched LAN: • Packet transmission ddata = P/B • Store-and-forward operation • Queuing delay dQ • Estimate for low loads: • D < 2HP/B • N = 1 • Rule of thumb based on WN = BDWmax = 2HP • Typical settings: Wmax =4 -16 KByte ddata = P/B dack = A/B dQ,bwd dQ,fwd ddata = P/B dack = A/B P = 1500 Byte A = 60 Byte B = 10 Mbps

  8. File Transfer: Scenario • Voice traffic: UDP, 30 ms, 240 Byte, 10 s • Data traffic: TCP, 8 MB file, 1500 Byte packets, start at 3.5 s • Links: 10/100 Mbps, full duplex, 0.1 ms delay • Switch: 30 KByte buffer, Drop-Tail File Server 100BASE-T bottle neck TCP data S Host R 10BASE-T UDP voice

  9. Wmax = 8 KB File Transfer: Simulation Results 30 25 Wmax = 32 KB 20 voice delay [ms] ftp start 15 10 5 0 2 3 4 5 6 7 8 9 10 12 10 8 data throughput [Mbps] 6 4 2 0 2 3 4 5 6 7 8 9 10 time [s]

  10. Wmax = 8 KB File Transfer: Measurements 70 60 Wmax = 32 KB 50 voice delay [ms] ftp start 40 30 20 10 0 2 3 4 5 6 7 8 9 10 10 8 data throughput [Mbps] 6 4 2 0 2 3 4 5 6 7 8 9 10 time [s]

  11. LAN: Simulation Scenario • Balanced N-N communication • Traffic model: • File size PDF fF(F): Log-Normal [Arlit 99, Douceur 99] • Idle time T ~ F /  • Evaluation: • Voice QoS: 95 percentile of voice delay (d95) • Data QoS: goodput G = SFi / STi load [0,1] 1 TCP data • 10BASE-T only • Average data rate on each link in each direction is ~ 10 Mbps 2 UDP voice S 3 R ... L

  12. Wmax = 32 0.4 0.3 0.2 16 0.1 • W=4 is good choice for all loads! 8 4 2 1 LAN: Simulation Results • L=4, Bsw = 200 KByte l= 0.5 90 • Low load • Voice uncritical • Data critical • High load • Voice critical • Data uncritical 80 70 60 50 95 percentile of voice delay, d95 [ms] 40 30 20 10 0 1 2 3 4 5 6 7 8 data goodput, G[Mbps]

  13. LAN: Simulation Result (Cont.) • L=16, Bsw = 100 KByte 90 • General behavioralso applies for • L = {4,8,16} • Bsw = {100,200, 300} • H = {2,4} • For H=4 (each host has T2) optimal window size isWmax = 8 80 70 l= 0.5 60 32 0.4 50 16 95 percentile of voice delay, d95 [ms] 0.3 40 0.2 8 30 4 20 2 0.1 10 Wmax= 1 0 1 2 3 4 5 6 7 8 data goodput, G[Mbps]

  14. TCP Window Control by T2 • Advertised window size Wmax is signaled in ACK • T2 can intercept all TCP ACKs and reduce Wmax before butting it back onto LAN • TCP flows of WAN traffic is not changed • This “packet spoofing” technique is also used by Packeteer Inc. for TCP rate control • No need to modify server/client software • Particular simple for single switch LAN • Even for single T2, the connected host can take full advantage of the technique • Allows gradual deployment without need to use T2 for all hosts

  15. Limitations • Control from network edge is limited for general LAN topology • T2 cannot control traffic through “remote” switches UDP voice S1 S3 S2 R TCP data

  16. Work Around • Avoid queuing delays in between switches • Keep inter-switch traffic low • Use faster links for inter-switch connections generate virtual big switch • Allow communication amoung T2s UDP voice S1 S3 S2 R TCP data

  17. Conclusions • Reduced TCP window size is advantageous for local data traffic • Reduced voice delay and jitter • Improves data goodput • Rule of thumb for switched LAN: Wmax = 2HP • W=4 [packets] is good choice for single switch LAN • Window size can be spoofed by T2 without awareness of client or server • Control from network edge has inherent limitations • For medium sized LANs, optimization of topology may help

More Related