[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <1323020212.2762.147.camel@edumazet-laptop>
Date: Sun, 04 Dec 2011 18:36:52 +0100
From: Eric Dumazet <eric.dumazet@...il.com>
To: David Miller <davem@...emloft.net>
Cc: netdev <netdev@...r.kernel.org>
Subject: Re: [PATCH net-next] tcp: tcp_sendmsg() page recycling
Le dimanche 04 décembre 2011 à 18:05 +0100, Eric Dumazet a écrit :
> If our TCP_PAGE(sk) is not shared (page_count() == 1), we can set page
> offset to 0.
>
> This permits better filling of the pages on small to medium tcp writes.
>
> "tbench 16" results on my dev server (2x4x2 machine) :
>
> Before : 3072 MB/s
> After : 3146 MB/s (2.4 % gain)
By the way current linux tree on the same machine gets 2957 MB/s
So the combination of select_size() patch and this one gives
a 6.4 % gain.
Definitely worth the pain, isnt it ?
--
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