Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 4 Sep 2013 15:35:56 -0700
From:      David Wolfskill <david@catwhisker.org>
To:        Adrian Chadd <adrian@freebsd.org>
Cc:        FreeBSD Net <net@freebsd.org>
Subject:   Re: TSO and FreeBSD vs Linux
Message-ID:  <20130904223556.GE1577@albert.catwhisker.org>
In-Reply-To: <CAJ-Vmo=Caktd%2B1yPP2yXabDwGkup5WMYYZboUk9sYD1BGujZ9w@mail.gmail.com>
References:  <20130903192734.GA19406@albert.catwhisker.org> <979862494.17918795.1378299005617.JavaMail.root@uoguelph.ca> <CAJ-Vmomctb9WFYkt89-WjX=_DzktNgty96ANaOAVzWZfvYXK-Q@mail.gmail.com> <20130904222004.GD1577@albert.catwhisker.org> <CAJ-Vmo=Caktd%2B1yPP2yXabDwGkup5WMYYZboUk9sYD1BGujZ9w@mail.gmail.com>

next in thread | previous in thread | raw e-mail | index | archive | help

--NQFQLHPkFLmdEfVA
Content-Type: multipart/mixed; boundary="Wo0oCZYLrer5S3Oe"
Content-Disposition: inline


--Wo0oCZYLrer5S3Oe
Content-Type: text/plain; charset=us-ascii
Content-Disposition: inline
Content-Transfer-Encoding: quoted-printable

On Wed, Sep 04, 2013 at 03:25:59PM -0700, Adrian Chadd wrote:
> What's netstat -sp tcp show before/after the test?
> ...

Typescript attached.

Peace,
david
--=20
David H. Wolfskill				david@catwhisker.org
Taliban: Evil cowards with guns afraid of truth from a 14-year old girl.

See http://www.catwhisker.org/~david/publickey.gpg for my public key.

--Wo0oCZYLrer5S3Oe
Content-Type: text/plain; charset=us-ascii
Content-Disposition: attachment; filename=tso
Content-Transfer-Encoding: quoted-printable

Script started on Wed Sep  4 15:31:50 2013
dwolf-fbsd(9.2-P)[15] sudo sysctl net.inet.tcp.tso=3D1=0D=0D
Password:=0D
net.inet.tcp.tso: 0 -> 1=0D
dwolf-fbsd(9.2-P)[16] netstat -sp tcp=0D=0D
tcp:=0D
	2555593963 packets sent=0D
		4800252 data packets (2675428399 bytes)=0D
		2547149487 data packets (7491423231574 bytes) retransmitted=0D
		12755 data packets unnecessarily retransmitted=0D
		2546909891 resends initiated by MTU discovery=0D
		3630427 ack-only packets (270271 delayed)=0D
		0 URG only packets=0D
		0 window probe packets=0D
		2596 window update packets=0D
		3453 control packets=0D
	10886789 packets received=0D
		3928645 acks (for 2807958913 bytes)=0D
		26320 duplicate acks=0D
		0 acks for unsent data=0D
		9070321 packets (9528490768 bytes) received in-sequence=0D
		574 completely duplicate packets (128517 bytes)=0D
		2 old duplicate packets=0D
		104 packets with some dup. data (4084 bytes duped)=0D
		90 out-of-order packets (99414 bytes)=0D
		833 packets (833 bytes) of data after window=0D
		833 window probes=0D
		25734 window update packets=0D
		6 packets received after close=0D
		0 discarded for bad checksums=0D
		0 discarded for bad header offset fields=0D
		0 discarded because packet too short=0D
		0 discarded due to memory problems=0D
	1677 connection requests=0D
	315 connection accepts=0D
	0 bad connection attempts=0D
	0 listen queue overflows=0D
	6 ignored RSTs in the windows=0D
	1933 connections established (including accepts)=0D
	2298 connections closed (including 90 drops)=0D
		1458 connections updated cached RTT on close=0D
		1460 connections updated cached RTT variance on close=0D
		900 connections updated cached ssthresh on close=0D
	32 embryonic connections dropped=0D
	3928644 segments updated rtt (of 2914696 attempts)=0D
	128226 retransmit timeouts=0D
		2 connections dropped by rexmit timeout=0D
	0 persist timeouts=0D
		0 connections dropped by persist timeout=0D
	0 Connections (fin_wait_2) dropped because of timeout=0D
	163 keepalive timeouts=0D
		153 keepalive probes sent=0D
		10 connections dropped by keepalive=0D
	482733 correct ACK header predictions=0D
	6883177 correct data packet header predictions=0D
	315 syncache entries added=0D
		0 retransmitted=0D
		0 dupsyn=0D
		0 dropped=0D
		315 completed=0D
		0 bucket overflow=0D
		0 cache overflow=0D
		0 reset=0D
		0 stale=0D
		0 aborted=0D
		0 badack=0D
		0 unreach=0D
		0 zone failures=0D
	315 cookies sent=0D
	0 cookies received=0D
	194 hostcache entries added=0D
		0 bucket overflow=0D
	1802 SACK recovery episodes=0D
	3576 segment rexmits in SACK recovery episodes=0D
	4987584 byte rexmits in SACK recovery episodes=0D
	51765 SACK options (SACK blocks) received=0D
	74 SACK options (SACK blocks) sent=0D
	0 SACK scoreboard overflow=0D
	0 packets with ECN CE bit set=0D
	0 packets with ECN ECT(0) bit set=0D
	0 packets with ECN ECT(1) bit set=0D
	0 successful ECN handshakes=0D
	0 times ECN reduced the congestion window=0D
dwolf-fbsd(9.2-P)[17] cp ~/Mail/sisyphus ~/tmp=0D=0D
^C^C=0D=0D
dwolf-fbsd(9.2-P)[18] ls -lT !$/sisyphus=0D=0D
ls -lT ~/tmp/sisyphus=0D
^Cdwolf-fbsd(9.2-P)[19] ls -lT ~/tmp/sisyphus=0D=0D
-rw-------  1 dwolf  929  1048576 Sep  4 15:32:31 2013 /homes/dwolf/tmp/sis=
yphus=0D
dwolf-fbsd(9.2-P)[20] ls -lT ~/tmp/sisyphus=1B[21Dcp ~/Mail/sisyphus ~/tmp=
=1B[24Dnetstat -sp tcp=1B[K=0D=0D
tcp:=0D
	2560478331 packets sent=0D
		4800896 data packets (2676331641 bytes)=0D
		2552032761 data packets (7507101784670 bytes) retransmitted=0D
		12860 data packets unnecessarily retransmitted=0D
		2551792768 resends initiated by MTU discovery=0D
		3630851 ack-only packets (270311 delayed)=0D
		0 URG only packets=0D
		0 window probe packets=0D
		2596 window update packets=0D
		3479 control packets=0D
	10888714 packets received=0D
		3929168 acks (for 2808876755 bytes)=0D
		26579 duplicate acks=0D
		0 acks for unsent data=0D
		9071336 packets (9529611537 bytes) received in-sequence=0D
		582 completely duplicate packets (129829 bytes)=0D
		2 old duplicate packets=0D
		104 packets with some dup. data (4084 bytes duped)=0D
		90 out-of-order packets (99414 bytes)=0D
		833 packets (833 bytes) of data after window=0D
		833 window probes=0D
		25915 window update packets=0D
		7 packets received after close=0D
		0 discarded for bad checksums=0D
		0 discarded for bad header offset fields=0D
		0 discarded because packet too short=0D
		0 discarded due to memory problems=0D
	1703 connection requests=0D
	315 connection accepts=0D
	0 bad connection attempts=0D
	0 listen queue overflows=0D
	6 ignored RSTs in the windows=0D
	1934 connections established (including accepts)=0D
	2325 connections closed (including 90 drops)=0D
		1459 connections updated cached RTT on close=0D
		1461 connections updated cached RTT variance on close=0D
		901 connections updated cached ssthresh on close=0D
	32 embryonic connections dropped=0D
	3929167 segments updated rtt (of 2915199 attempts)=0D
	128468 retransmit timeouts=0D
		2 connections dropped by rexmit timeout=0D
	0 persist timeouts=0D
		0 connections dropped by persist timeout=0D
	0 Connections (fin_wait_2) dropped because of timeout=0D
	163 keepalive timeouts=0D
		153 keepalive probes sent=0D
		10 connections dropped by keepalive=0D
	482835 correct ACK header predictions=0D
	6884084 correct data packet header predictions=0D
	315 syncache entries added=0D
		0 retransmitted=0D
		0 dupsyn=0D
		0 dropped=0D
		315 completed=0D
		0 bucket overflow=0D
		0 cache overflow=0D
		0 reset=0D
		0 stale=0D
		0 aborted=0D
		0 badack=0D
		0 unreach=0D
		0 zone failures=0D
	315 cookies sent=0D
	0 cookies received=0D
	195 hostcache entries added=0D
		0 bucket overflow=0D
	1843 SACK recovery episodes=0D
	3648 segment rexmits in SACK recovery episodes=0D
	5090892 byte rexmits in SACK recovery episodes=0D
	52227 SACK options (SACK blocks) received=0D
	74 SACK options (SACK blocks) sent=0D
	0 SACK scoreboard overflow=0D
	0 packets with ECN CE bit set=0D
	0 packets with ECN ECT(0) bit set=0D
	0 packets with ECN ECT(1) bit set=0D
	0 successful ECN handshakes=0D
	0 times ECN reduced the congestion window=0D
dwolf-fbsd(9.2-P)[21] netstat -sp tcp=1B[15Dls -lT ~/tmp/sisyphus=1B[21Dcp =
~/Mail/sisyphus ~/tmp=1B[24Dnetstat -sp tcp=1B[K=1B[15Dsudo sysctl net.inet=
=2Etcp.tso=3D1=08=1B[K0=0D=0D
net.inet.tcp.tso: 1 -> 0=0D
dwolf-fbsd(9.2-P)[22] sudo sysctl net.inet.tcp.tso=3D0=1B[30Dnetstat -sp tc=
p=1B[K=1B[15Dls -lT ~/tmp/sisyphus=1B[21Dcp ~/Mail/sisyphus ~/tmp=0D=0D
dwolf-fbsd(9.2-P)[23] echo $?=0D=0D
0=0D
dwolf-fbsd(9.2-P)[24] echo $?=1B[7Dcp ~/Mail/sisyphus ~/tmp=1B[24Dsudo sysc=
tl net.inet.tcp.tso=3D0=1B[30Dnetstat -sp tcp=1B[K=1B[15Dls -lT ~/tmp/sisyp=
hus=0D=0D
-rw-------  1 dwolf  929  117836339 Sep  4 15:33:34 2013 /homes/dwolf/tmp/s=
isyphus=0D
dwolf-fbsd(9.2-P)[25] ls -lT ~/tmp/sisyphus=1B[21Decho $?=1B[K=1B[7Dcp ~/Ma=
il/sisyphus ~/tmp=1B[24Dsudo sysctl net.inet.tcp.tso=3D0=1B[30Dnetstat -sp =
tcp=1B[K=0D=0D
tcp:=0D
	2561662836 packets sent=0D
		4888547 data packets (2797024810 bytes)=0D
		2553088612 data packets (7510826223526 bytes) retransmitted=0D
		12896 data packets unnecessarily retransmitted=0D
		2552848084 resends initiated by MTU discovery=0D
		3671853 ack-only packets (270403 delayed)=0D
		0 URG only packets=0D
		0 window probe packets=0D
		2596 window update packets=0D
		3480 control packets=0D
	11026149 packets received=0D
		3976120 acks (for 2929572833 bytes)=0D
		29410 duplicate acks=0D
		0 acks for unsent data=0D
		9167030 packets (9648083856 bytes) received in-sequence=0D
		597 completely duplicate packets (147049 bytes)=0D
		2 old duplicate packets=0D
		104 packets with some dup. data (4084 bytes duped)=0D
		893 out-of-order packets (1235254 bytes)=0D
		833 packets (833 bytes) of data after window=0D
		833 window probes=0D
		26317 window update packets=0D
		7 packets received after close=0D
		0 discarded for bad checksums=0D
		0 discarded for bad header offset fields=0D
		0 discarded because packet too short=0D
		0 discarded due to memory problems=0D
	1703 connection requests=0D
	315 connection accepts=0D
	0 bad connection attempts=0D
	0 listen queue overflows=0D
	6 ignored RSTs in the windows=0D
	1934 connections established (including accepts)=0D
	2325 connections closed (including 90 drops)=0D
		1460 connections updated cached RTT on close=0D
		1462 connections updated cached RTT variance on close=0D
		901 connections updated cached ssthresh on close=0D
	32 embryonic connections dropped=0D
	3976119 segments updated rtt (of 2960431 attempts)=0D
	128506 retransmit timeouts=0D
		2 connections dropped by rexmit timeout=0D
	0 persist timeouts=0D
		0 connections dropped by persist timeout=0D
	0 Connections (fin_wait_2) dropped because of timeout=0D
	163 keepalive timeouts=0D
		153 keepalive probes sent=0D
		10 connections dropped by keepalive=0D
	519937 correct ACK header predictions=0D
	6970417 correct data packet header predictions=0D
	315 syncache entries added=0D
		0 retransmitted=0D
		0 dupsyn=0D
		0 dropped=0D
		315 completed=0D
		0 bucket overflow=0D
		0 cache overflow=0D
		0 reset=0D
		0 stale=0D
		0 aborted=0D
		0 badack=0D
		0 unreach=0D
		0 zone failures=0D
	315 cookies sent=0D
	0 cookies received=0D
	195 hostcache entries added=0D
		0 bucket overflow=0D
	1945 SACK recovery episodes=0D
	4143 segment rexmits in SACK recovery episodes=0D
	5780288 byte rexmits in SACK recovery episodes=0D
	55903 SACK options (SACK blocks) received=0D
	833 SACK options (SACK blocks) sent=0D
	0 SACK scoreboard overflow=0D
	0 packets with ECN CE bit set=0D
	0 packets with ECN ECT(0) bit set=0D
	0 packets with ECN ECT(1) bit set=0D
	0 successful ECN handshakes=0D
	0 times ECN reduced the congestion window=0D
dwolf-fbsd(9.2-P)[26] ^D=08=08exit=0D

Script done on Wed Sep  4 15:34:54 2013

--Wo0oCZYLrer5S3Oe--

--NQFQLHPkFLmdEfVA
Content-Type: application/pgp-signature

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v2.0.21 (FreeBSD)

iEYEARECAAYFAlIntcsACgkQmprOCmdXAD1RqwCdF23tLfb18S7keHC9h5DJKujW
QqwAn3vUt0yVK5RovXhHtpMgvy/KgS+x
=socp
-----END PGP SIGNATURE-----

--NQFQLHPkFLmdEfVA--



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20130904223556.GE1577>