[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <505B4E13.5000501@hp.com>
Date: Thu, 20 Sep 2012 10:10:43 -0700
From: Rick Jones <rick.jones2@...com>
To: Eric Dumazet <eric.dumazet@...il.com>
CC: Vijay Subramanian <subramanian.vijay@...il.com>,
David Miller <davem@...emloft.net>, netdev@...r.kernel.org
Subject: Re: [RFC] tcp: use order-3 pages in tcp_sendmsg()
On 09/19/2012 10:37 PM, Eric Dumazet wrote:
> loopback is lossless, so its always surprising we can have TCP
> retransmits on this medium ;)
Is it lossless?
raj@...dy:~/netperf2_trunk$ netstat -s | grep pru
19 packets pruned from receive queue because of socket buffer overrun
raj@...dy:~/netperf2_trunk$ src/netperf -t TCP_RR -- -b 256 -D -o
burst_size,local_transport_retrans,remote_transport_retrans
MIGRATED TCP REQUEST/RESPONSE TEST from 0.0.0.0 (0.0.0.0) port 0 AF_INET
to localhost.localdomain () port 0 AF_INET : nodelay : histogram : demo
: first burst 256
Initial Burst Requests,Local Transport Retransmissions,Remote Transport
Retransmissions
256,151,94
raj@...dy:~/netperf2_trunk$ netstat -s | grep pru 26 packets pruned
from receive queue because of socket buffer overrun
raj@...dy:~/netperf2_trunk$ uname -a
Linux tardy 2.6.38-16-generic #67-Ubuntu SMP Thu Sep 6 17:58:38 UTC 2012
x86_64 x86_64 x86_64 GNU/Linux
Admittedly, my test is on an older kernel, but have things changed in
this regard since then? I had to get a bit more contrived on a later
kernel in a VM (vs what is running directly on my workstation):
raj@...dy-ubuntu-1204:~$ netstat -s | grep -e prune -e retrans 1
segments retransmited
4 packets pruned from receive queue because of socket buffer overrun
1 fast retransmits
raj@...dy-ubuntu-1204:~$ netperf -t TCP_RR -- -b 1024 -D -S 16K -o
local_transport_retrans,remote_transport_retrans
MIGRATED TCP REQUEST/RESPONSE TEST from 0.0.0.0 (0.0.0.0) port 0 AF_INET
to localhost () port 0 AF_INET : nodelay : demo : first burst 1024
Local Transport Retransmissions,Remote Transport Retransmissions
1,0
raj@...dy-ubuntu-1204:~$ netstat -s | grep -e prune -e retrans 2
segments retransmited
7 packets pruned from receive queue because of socket buffer overrun
2 fast retransmits
raj@...dy-ubuntu-1204:~$ uname -a
Linux tardy-ubuntu-1204 3.6.0-rc3+ #7 SMP Mon Sep 10 14:46:05 PDT 2012
x86_64 x86_64 x86_64 GNU/Linux
rick
--
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