[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-Id: <20111204.132134.2286148075037261295.davem@davemloft.net>
Date: Sun, 04 Dec 2011 13:21:34 -0500 (EST)
From: David Miller <davem@...emloft.net>
To: eric.dumazet@...il.com
Cc: netdev@...r.kernel.org
Subject: Re: [PATCH net-next] tcp: tcp_sendmsg() page recycling
From: Eric Dumazet <eric.dumazet@...il.com>
Date: Sun, 04 Dec 2011 18:05:17 +0100
> 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)
>
> Signed-off-by: Eric Dumazet <eric.dumazet@...il.com>
Applied.
--
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