Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 24 Sep 2006 16:05:05 +0200
From:      =?ISO-8859-1?Q?Sten_Daniel_S=F8rsdal?= <lists@wm-access.no>
To:        Jan Zacharias <fbsd-performance@graphics.cs.uni-sb.de>
Cc:        freebsd-performance@freebsd.org
Subject:   Re: Samba performance, TCP Stack Issue?
Message-ID:  <45169091.4040000@wm-access.no>
In-Reply-To: <op.tfbpd5d0v366f6@bofh.cs.uni-sb.de>
References:  <op.tfbpd5d0v366f6@bofh.cs.uni-sb.de>

next in thread | previous in thread | raw e-mail | index | archive | help
Jan Zacharias wrote:
> Hi,
>=20
> was anybody able to tune the Samba service (2.2.12 or 3.0.23b) so that
> it would perform out as well as
> unter linux where it maxes out at about 11 Mb/s using some Intel/3com c=
ard?
>=20
> So far, the most I got out of it was ~6 Mb/s while txing one file to a
> win2k station, curiously I get
> ~8.5 Mb/s when txing multiple files in parallel.
>=20
> So far i messed with:
>=20
>  - ifconfig mtu
>  - net.inet.tcp settings
>  - smb's socket options
>=20
> Tuning SO_SNDBUF gave only very little gain, adapting the mtu to match
> the win2k box was useless.
> W/a net.inet.tcp.inflight.enable enabled the txrate is 2 Mb/s lower,
> however 6 Mb/s is still SLOW.
>=20
> I cant find the bottleneck, as the system is quite idle.
>=20
> Any Suggestions?
>=20

Try setting sysctl net.inet.tcp.delayed_ack to '0'.
If that helps noticably you may tune sysctl net.inet.tcp.delacktime
to a lower value than the default ('100' ??). delacktime is only in
effect when net.inet.tcp.delayed_ack =3D '1'.

Does that help any?

--=20
Sten Daniel S=F8rsdal




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