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 for Android: free password hash cracker in your pocket
[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-Id: <20081124.210504.30738317.davem@davemloft.net>
Date:	Mon, 24 Nov 2008 21:05:04 -0800 (PST)
From:	David Miller <davem@...emloft.net>
To:	ilpo.jarvinen@...sinki.fi
Cc:	netdev@...r.kernel.org
Subject: Re: [PATCH 01/10] tcp: collapse more than two on retransmission

From: "Ilpo Järvinen" <ilpo.jarvinen@...sinki.fi>
Date: Mon, 24 Nov 2008 16:21:58 +0200

> I always had thought that collapsing up to two at a time was
> intentional decision to avoid excessive processing if 1 byte
> sized skbs are to be combined for a full mtu, and consecutive
> retransmissions would make the size of the retransmittee
> double each round anyway, but some recent discussion made me
> to understand that was not the case. Thus make collapse work
> more and wait less.
> 
> It would be possible to take advantage of the shifting
> machinery (added in the later patch) in the case of paged
> data but that can be implemented on top of this change.

Yes, the ->nr_frags test is a real limiter these days
because on any modern device all TCP data is paged,
whether sendmsg() or sendpage() generated.

So you must have used a non-SG capable device for your
tests or simply turned SG off using ethtool :)

 ...
> Signed-off-by: Ilpo Järvinen <ilpo.jarvinen@...sinki.fi>

Applied, thanks!
--
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