Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 24 Mar 2008 10:40:47 -0500
From:      Josh Paetzel <josh@tcbug.org>
To:        "Daniel Andersson" <engywook@gmail.com>
Cc:        freebsd-performance@freebsd.org
Subject:   Re: Tuning: 100mbit faster, gbit slower.
Message-ID:  <200803241040.53346.josh@tcbug.org>
In-Reply-To: <24adbbc00803240422m5b04b485s5df2f406aa89dc2b@mail.gmail.com>
References:  <24adbbc00803231521h78844f26q77c48573f82408b9@mail.gmail.com> <200803240327.01211.josh@tcbug.org> <24adbbc00803240422m5b04b485s5df2f406aa89dc2b@mail.gmail.com>

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

[-- Attachment #1 --]
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?
>

<snip>

I think we are having a terminology problem here.  Are you meaning 30mb/s as 
in 30 megabits per second (30% of 100TX speed) or do you mean 30 MB/s as in 
30 Megabytes/sec?  I think in rereading you post you are meaning Megabytes 
but using the terminology for megabits.

So here's what I've done to nearly saturate gig-e.  Keep in mind that I have 
15k SAS drives and intel gig-e adapters that aren't sitting in 33mhz 32bit 
PCI slots, single IDE/SATA drives are going to be a bottleneck as are 33mhz 
32bit PCI NICs.

This is on RELENG_6_3

net.inet.tcp.sendspace=262144
net.inet.tcp.recvspace=262144
kern.ipc.maxsockbuf=1048576
ifconfig em0 mtu 9014 (You'll need a switch that supports jumbo frames to do 
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 and 
send/receive packets set to 16384 manages about 90 Megs/sec.

-- 
Thanks,

Josh Paetzel

PGP: 8A48 EF36 5E9F 4EDA 5A8C 11B4 26F9 01F1 27AF AECB

[-- Attachment #2 --]
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v2.0.8 (FreeBSD)

iEYEABECAAYFAkfny4UACgkQJvkB8SevrsuUmgCgjarINiVQ0Qi8FB0LGsTSPPNO
SiMAmQFJP+ygvk69VZsY3KiDGI7Z885J
=UBlt
-----END PGP SIGNATURE-----

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