Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 29 Sep 2006 18:27:23 +0200
From:      "Jan Zacharias" <fbsd-performance@graphics.cs.uni-sb.de>
To:        Performance/tuning <freebsd-performance@freebsd.org>
Subject:   Re: Samba Performance problem
Message-ID:  <op.tgnenxslv366f6@bofh.cs.uni-sb.de>
In-Reply-To: <3131aa530609290721o267d55bakff4e801ef4000675@mail.gmail.com>
References:  <3131aa530609290721o267d55bakff4e801ef4000675@mail.gmail.com>

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

generally the Samba performance on *BSD just sucks,
I wrote to this list with the same problem some weeks ago,
no one was able to tune smbd so that it would outperform
as well as under linux.

The only solution is to migrate your fileserver to a Linux distribution
as I did. Performance on the same Hardware: now ~11MB/s using 100Mbit NIC,
before ~6MB/s (FreeBSD 6.1).

Greetz, Jan

On Fri, 29 Sep 2006 16:21:20 +0200, Olivier Cochard-Labbe
<olivier@freenas.org> wrote:

> Hi all,
>
> I meet a performance problem with my customized distro of FreeBSD  
> 6.1(FreeNAS).
> Lot's of FreeNAS users compare the performance of FreeNAS with Linux, and
> the Samba performance are very poor under FreeNAS (but not with NFS or  
> FTP).
>
>
> I've use this value on the default samba configuration:
> socket options = IPTOS_LOWDELAY TCP_NODELAY
> SO_SNDBUF=16384
> SO_RCVBUF=16384
>
> But there is no change.
>
> Then I've try to add a "tune" parameter that set this kernel variables:
> net.inet.tcp.delayed_ack=0
> net.inet.tcp.sendspace=65536
> net.inet.tcp.recvspace=65536
> net.inet.udp.recvspace=65536
> net.inet.udp.maxdgram=57344
> net.local.stream.recvspace=65535
> net.local.stream.sendspace=65535
> kern.ipc.maxsockbuf=2097152
> kern.ipc.somaxconn=8192
> kern.ipc.nmbclusters=60000
> kern.maxfiles=65536
> kern.maxfilesperproc=32768
> net.inet.tcp.inflight.enable=0
>
> But there is no change too... How can I improve the Samba performace ?
>
> Thanks,
>
> Olivier
>



-- 
Co.G.Wheel - Administation Group, Computer Graphics Lab of Saarland  
University
Phone: 0681 302 3841 Telecopy: 0681 302 3843 Web:  
http://graphics.cs.uni-sb.de



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