Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 30 May 2006 01:10:29 +0100
From:      "Joao Barros" <joao.barros@gmail.com>
To:        "Mike Jakubik" <mikej@rogers.com>
Cc:        "Dr. Rich Murphey" <Rich@whiteoaklabs.com>, performance@freebsd.org
Subject:   Re: Poor Samba throughput on 6.0
Message-ID:  <70e8236f0605291710r70a32df4yfcfdba18d1bbb0a9@mail.gmail.com>
In-Reply-To: <44788DB2.6070709@rogers.com>
References:  <20060525174211.46064.qmail@web36315.mail.mud.yahoo.com> <4475F75C.4090908@rogers.com> <447879D3.1070204@WhiteOakLabs.com> <44788DB2.6070709@rogers.com>

next in thread | previous in thread | raw e-mail | index | archive | help
On 5/27/06, Mike Jakubik <mikej@rogers.com> wrote:
> Dr. Rich Murphey wrote:
> > I get 25 to 30MB/sec between FreeBSD 6.0 and Windows XP
> > clients with tcp.inflight disabled and interrupt polling enabled
> > on a 1gb link without jumbo frames.
> >
> > The various Linux distributions do about the same on this hardware -
> > 3ware striped raid arrays, dual xeon, and 2Gb ram.
> >
> > in smb.conf I'm using:
> > socket options =3D TCP_NODELAY
> > strict locking =3D no
> > use sendfile =3D yes
> >
>
> Adding the last two options of my setup increased the upload rate by
> about 2MB/s, with peaks totaling to 20MB/s. The download rate has not
> been effected however.

I went from 7.5MB/s up to 9.3MB/s on a 100FD connection just by adding
that same last 2 options, I only had "socket options =3D IPTOS_LOWDELAY
TCP_NODELAY"
Thanks Rich!

>
> > 6.1 should be easier to tune in that tcp.inflight is selectively
> > disabled by default for low latency (LAN) connections.
>
> I am using -CURRENT here, disabling net.inet.tcp.inflight improves the
> download rate by 2MB/s!
>
How old is that CURRENT? I believe that shouldn't happen after Andre's
commit back in March.
I can't see any difference toggling inflight on or off.

--=20
Joao Barros



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