diff options
author | Eric Dumazet <eric.dumazet@gmail.com> | 2011-12-04 07:05:17 (GMT) |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2011-12-04 18:20:40 (GMT) |
commit | 761965eab38d2cbc59c36e355c59609e3a04705a (patch) | |
tree | 53bc45ee752f8d31323962e5af2e0451376c3b35 /kernel/Kconfig.hz | |
parent | 117632e64d2a5f464e491fe221d7169a3814a77b (diff) | |
download | linux-fsl-qoriq-761965eab38d2cbc59c36e355c59609e3a04705a.tar.xz |
tcp: tcp_sendmsg() page recycling
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@gmail.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'kernel/Kconfig.hz')
0 files changed, 0 insertions, 0 deletions