From owner-freebsd-stable@FreeBSD.ORG Wed Feb 17 19:16:03 2010 Return-Path: Delivered-To: freebsd-stable@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 53FB8106566B for ; Wed, 17 Feb 2010 19:16:03 +0000 (UTC) (envelope-from h.schmalzbauer@omnilan.de) Received: from host.omnilan.net (host.omnilan.net [62.245.232.135]) by mx1.freebsd.org (Postfix) with ESMTP id B243C8FC13 for ; Wed, 17 Feb 2010 19:16:02 +0000 (UTC) Received: from [172.21.1.29] (akima-win.flintsbach.schmalzbauer.de [172.21.1.29]) (authenticated bits=0) by host.omnilan.net (8.13.8/8.13.8) with ESMTP id o1HJFvrM015735 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NO); Wed, 17 Feb 2010 20:16:01 +0100 (CET) (envelope-from h.schmalzbauer@omnilan.de) X-Authentication-Warning: smtp.dmz.omnilan.net: Host akima-win.flintsbach.schmalzbauer.de [172.21.1.29] claimed to be [172.21.1.29] Message-ID: <4B7C4066.5040006@omnilan.de> Date: Wed, 17 Feb 2010 20:15:50 +0100 From: Harald Schmalzbauer Organization: OmniLAN User-Agent: Mozilla/5.0 (Windows; U; Windows NT 6.1; de; rv:1.9.1.5) Gecko/20091204 Lightning/1.0b1 Thunderbird/3.0 MIME-Version: 1.0 To: Chuck Swiger References: <4B7C1365.9070806@omnilan.de> <70CD649D-7659-4CE2-A16C-49B8C891CB5B@mac.com> In-Reply-To: <70CD649D-7659-4CE2-A16C-49B8C891CB5B@mac.com> X-Enigmail-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="------------enigC69D5F768CE3065A98DEFFF4" Cc: freebsd-stable@freebsd.org Subject: Re: best practice to watch TCP parms of established sockets X-BeenThere: freebsd-stable@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Production branch of FreeBSD source code List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 17 Feb 2010 19:16:03 -0000 This is an OpenPGP/MIME signed message (RFC 2440 and 3156) --------------enigC69D5F768CE3065A98DEFFF4 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable Am 17.02.2010 19:56, schrieb Chuck Swiger: > Hi-- >=20 > On Feb 17, 2010, at 8:03 AM, Harald Schmalzbauer wrote: >> while doing some ZFS tests with RELENG_8 I recognized a mysterious per= formace drop after an hour uptime. >> Now my first idea is to compare MSS and windows sizes before and after= the performance drop. >> How do I best capture them? tdpcump? It's GbE linkspeed... >=20 > It seems more likely that ZFS is running into slowdowns from resource c= ontention, memory fragmentation, etc than your network would suddenly dro= p out, but tcpdump -w outfile.pcap is a good method of looking.... Thanks, but fisrt tests showed that ZFS is not causing the slowdown. I noticed that disabling window scaling (rfc1323) speeds up the transfer rate by factor 1.5 (rsync transfers start at 75MB/s, settling down at 55MB/s, while rfc1323 enabled leads to half the windows size (8k) and rsync transfers start with 50MB/s and go down to 38MB/s). Now I'm going through "internet core protocols" becaus it's been a long time ago I had such a deep look into TCP/IP and I don't have all the TCP sequences and options in memory. Not falsified yet, but as soon as I open a second high data rate transfer, simultanious to the rsync, (a smb transfer of a large file for example) the shared speed will stay at that level, even if the second transfer has finbished. Meaning: I can rsync with 50MB/s. If I simultaniously transfer another file via samba, I have two 25MB/s transfers. From that moment on I can never get more that 25MB/s per transfer until I reboot the machine. Like mentioned eralier, I first have to refresh some networking basics, but expect some more results soon. Thanks, -Harry --------------enigC69D5F768CE3065A98DEFFF4 Content-Type: application/pgp-signature; name="signature.asc" Content-Description: OpenPGP digital signature Content-Disposition: attachment; filename="signature.asc" -----BEGIN PGP SIGNATURE----- Version: GnuPG v2.0.12 (MingW32) Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org/ iEYEARECAAYFAkt8QG8ACgkQLDqVQ9VXb8izsgCgjIP9AQ8y50fxYNFaYsIUfPmA v+IAoJ3UCyzamZ0JR5kDBdbNtYBX/kDq =id9Q -----END PGP SIGNATURE----- --------------enigC69D5F768CE3065A98DEFFF4--