From owner-freebsd-performance@FreeBSD.ORG Mon Mar 24 15:41:06 2008 Return-Path: Delivered-To: freebsd-performance@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 21973106566C for ; Mon, 24 Mar 2008 15:41:06 +0000 (UTC) (envelope-from josh@tcbug.org) Received: from conn-smtp.mc.mpls.visi.com (conn.mc.mpls.visi.com [208.42.156.2]) by mx1.freebsd.org (Postfix) with ESMTP id D97888FC1E for ; Mon, 24 Mar 2008 15:41:05 +0000 (UTC) (envelope-from josh@tcbug.org) Received: from mail.tcbug.org (mail.tcbug.org [208.42.70.163]) by conn-smtp.mc.mpls.visi.com (Postfix) with ESMTP id 07BBB78F7; Mon, 24 Mar 2008 10:41:05 -0500 (CDT) Received: from build64.tcbug.org (unknown [208.42.70.167]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (No client certificate requested) by mail.tcbug.org (Postfix) with ESMTPSA id CD74A6D9E2B; Mon, 24 Mar 2008 10:41:04 -0500 (CDT) From: Josh Paetzel To: "Daniel Andersson" Date: Mon, 24 Mar 2008 10:40:47 -0500 User-Agent: KMail/1.9.7 References: <24adbbc00803231521h78844f26q77c48573f82408b9@mail.gmail.com> <200803240327.01211.josh@tcbug.org> <24adbbc00803240422m5b04b485s5df2f406aa89dc2b@mail.gmail.com> In-Reply-To: <24adbbc00803240422m5b04b485s5df2f406aa89dc2b@mail.gmail.com> MIME-Version: 1.0 Content-Type: multipart/signed; boundary="nextPart1574323.vpPRRNzLlh"; protocol="application/pgp-signature"; micalg=pgp-sha1 Content-Transfer-Encoding: 7bit Message-Id: <200803241040.53346.josh@tcbug.org> Cc: freebsd-performance@freebsd.org Subject: Re: Tuning: 100mbit faster, gbit slower. X-BeenThere: freebsd-performance@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Performance/tuning List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 24 Mar 2008 15:41:06 -0000 --nextPart1574323.vpPRRNzLlh Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: quoted-printable Content-Disposition: inline On Monday 24 March 2008 06:22:12 am Daniel Andersson wrote: > Thanks for the reply! Maybe I should have been more clear. > My setup looks like this: > internet - em1(server box) em0 - windoze desktop. > > The internet(em1) 100mbit seems to do fine, even better than > before, I get about 11mb/s with rtorrent(uploading). It's the > internal gbit connection that's weird with ftp. It not as fast nor > as smooth as it was before I did the "tuning". I doesn't have > any trouble running ftping at 30mb/s after the tuning so it is > definately capabel of delivering 100mbit? > I think we are having a terminology problem here. Are you meaning 30mb/s a= s=20 in 30 megabits per second (30% of 100TX speed) or do you mean 30 MB/s as in= =20 30 Megabytes/sec? I think in rereading you post you are meaning Megabytes= =20 but using the terminology for megabits. So here's what I've done to nearly saturate gig-e. Keep in mind that I hav= e=20 15k SAS drives and intel gig-e adapters that aren't sitting in 33mhz 32bit= =20 PCI slots, single IDE/SATA drives are going to be a bottleneck as are 33mhz= =20 32bit PCI NICs. This is on RELENG_6_3 net.inet.tcp.sendspace=3D262144 net.inet.tcp.recvspace=3D262144 kern.ipc.maxsockbuf=3D1048576 ifconfig em0 mtu 9014 (You'll need a switch that supports jumbo frames to d= o=20 this) iperf shows wire traffic around 969 mbps and FTP runs at 110 Megs/sec scp/sftp appears to be cpu bound at 45 Megs/sec, and NFS with TCP mounts an= d=20 send/receive packets set to 16384 manages about 90 Megs/sec. =2D-=20 Thanks, Josh Paetzel PGP: 8A48 EF36 5E9F 4EDA 5A8C 11B4 26F9 01F1 27AF AECB --nextPart1574323.vpPRRNzLlh Content-Type: application/pgp-signature; name=signature.asc Content-Description: This is a digitally signed message part. -----BEGIN PGP SIGNATURE----- Version: GnuPG v2.0.8 (FreeBSD) iEYEABECAAYFAkfny4UACgkQJvkB8SevrsuUmgCgjarINiVQ0Qi8FB0LGsTSPPNO SiMAmQFJP+ygvk69VZsY3KiDGI7Z885J =UBlt -----END PGP SIGNATURE----- --nextPart1574323.vpPRRNzLlh--