Re: Bad results for rate limiting with bidirectional traffic

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



JAC> I'm running some tests on a simple CBQ-based traffic rate limiter using
JAC> Linux 2.2.18, and although it works acceptably well for unidirectional TCP
JAC> traffic, if I send bidirectional traffic it gets hosed.

My guess: You give the system average packet size so it can actually work on
packet counter level. When using bidirectional traffic (one tcp connection that
transmits in one direction and other that transmits in reverse direction), you
actually double the number of packets because of ACK's. So the rate goes down
2x.

-- 
Meelis Roos (mroos@tartu.cyber.ee)
-
: send the line "unsubscribe linux-net" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html


[Index of Archives]     [Netdev]     [Ethernet Bridging]     [Linux 802.1Q VLAN]     [Linux Wireless]     [Kernel Newbies]     [Security]     [Linux for Hams]     [Netfilter]     [Git]     [Bugtraq]     [Yosemite News and Information]     [MIPS Linux]     [ARM Linux]     [Linux RAID]     [Linux PCI]     [Linux Admin]     [Samba]

  Powered by Linux