[Codel] [RFC PATCH v2] tcp: TCP Small Queues

Rick Jones rick.jones2 at hp.com
Wed Jul 11 14:23:09 EDT 2012

On 07/11/2012 08:11 AM, Eric Dumazet wrote:
> Tests using a single TCP flow.
> Tests on 10Gbit links :
> echo 16384 >/proc/sys/net/ipv4/tcp_limit_output_bytes
> OMNI Send TEST from ( port 0 AF_INET to ( port 0 AF_INET
> tcpi_rto 201000 tcpi_ato 0 tcpi_pmtu 1500 tcpi_rcv_ssthresh 14600
> tcpi_rtt 1875 tcpi_rttvar 750 tcpi_snd_ssthresh 16 tpci_snd_cwnd 79
> tcpi_reordering 53 tcpi_total_retrans 0

I take it you hacked your local copy of netperf to emit those?  Or did I 
leave some cruft behind in something I committed to the repository?

What was the ultimate limiter on throughput?  I notice it didn't achieve 
link-rate on either 10 GbE nor 1 GbE.

 > Thats the plan : limiting numer of bytes in Qdisc, not number of bytes
 > in socket write queue.

So the SO_SNDBUF can still grow rather larger than necessary?  It is 
just that TCP will be nice to the other flows by not dumping all of it 
into the qdisc at once.  Latency seen by the application itself is then 
unchanged since there will still be (potentially) as much stuff queued 
in the SO_SNDBUF as before right?


More information about the Codel mailing list