lists.openwall.net   lists  /  announce  owl-users  owl-dev  john-users  john-dev  passwdqc-users  yescrypt  popa3d-users  /  oss-security  kernel-hardening  musl  sabotage  tlsify  passwords  /  crypt-dev  xvendor  /  Bugtraq  Full-Disclosure  linux-kernel  linux-netdev  linux-ext4  linux-hardening  linux-cve-announce  PHC 
Open Source and information security mailing list archives
 
Hash Suite: Windows password security audit tool. GUI, reports in PDF.
[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-Id: <20150503.221810.908470058524978930.davem@davemloft.net>
Date:	Sun, 03 May 2015 22:18:10 -0400 (EDT)
From:	David Miller <davem@...emloft.net>
To:	eric.dumazet@...il.com
Cc:	nichols@...lere.com, vanj@...gle.com, dave.taht@...il.com,
	netdev@...r.kernel.org
Subject: Re: [PATCH net] codel: fix maxpacket/mtu confusion

From: Eric Dumazet <eric.dumazet@...il.com>
Date: Thu, 30 Apr 2015 09:40:40 -0700

> From: Eric Dumazet <edumazet@...gle.com>
> 
> Under presence of TSO/GSO/GRO packets, codel at low rates can be quite
> useless. In following example, not a single packet was ever dropped,
> while average delay in codel queue is ~100 ms !
> 
> qdisc codel 0: parent 1:12 limit 16000p target 5.0ms interval 100.0ms 
>  Sent 134376498 bytes 88797 pkt (dropped 0, overlimits 0 requeues 0) 
>  backlog 13626b 3p requeues 0 
>   count 0 lastcount 0 ldelay 96.9ms drop_next 0us
>   maxpacket 9084 ecn_mark 0 drop_overlimit 0
> 
> This comes from a confusion of what should be the minimal backlog. It is
> pretty clear it is not 64KB or whatever max GSO packet ever reached the
> qdisc.
> 
> codel intent was to use MTU of the device.
> 
> After the fix, we finally drop some packets, and rtt/cwnd of my single
> TCP flow are meeting our expectations.
> 
> qdisc codel 0: parent 1:12 limit 16000p target 5.0ms interval 100.0ms 
>  Sent 102798497 bytes 67912 pkt (dropped 1365, overlimits 0 requeues 0) 
>  backlog 6056b 3p requeues 0 
>   count 1 lastcount 1 ldelay 36.3ms drop_next 0us
>   maxpacket 10598 ecn_mark 0 drop_overlimit 0
> 
> Signed-off-by: Eric Dumazet <edumazet@...gle.com>

Looks good, applied, thanks Eric.
--
To unsubscribe from this list: send the line "unsubscribe netdev" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html

Powered by blists - more mailing lists

Powered by Openwall GNU/*/Linux Powered by OpenVZ