Samba Performance problem



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

--
Olivier Cochard-Labbé
FreeNAS main developer
http://www.freenas.org
Skype: callto://ocochard
_______________________________________________
freebsd-performance@xxxxxxxxxxx mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-performance
To unsubscribe, send any mail to "freebsd-performance-unsubscribe@xxxxxxxxxxx"



Relevant Pages

  • Re: Samba Performance problem
    ... no one was able to tune smbd so that it would outperform ... The only solution is to migrate your fileserver to a Linux distribution ... Lot's of FreeNAS users compare the performance of FreeNAS with Linux, ... the Samba performance are very poor under FreeNAS. ...
    (freebsd-performance)
  • Re: Samba Performance problem
    ... no one was able to tune smbd so that it would outperform ... The only solution is to migrate your fileserver to a Linux distribution ... Lot's of FreeNAS users compare the performance of FreeNAS with Linux, ... the Samba performance are very poor under FreeNAS. ...
    (freebsd-performance)
  • Re: Samba Performance problem
    ... Lot's of FreeNAS users compare the performance of FreeNAS with Linux, ... the Samba performance are very poor under FreeNAS. ... Samba has always lacked in performance on FreeBSD, it has been discussed many times and AFAIK no solution has been found. ...
    (freebsd-performance)
  • Re: Playtime for Spare PCs
    ... Linux = a free operating system, very good and stable, powers about 80% of the Internet ... SATA = Serial ATA, a fairly recent protocol for connecting HD's, easier to us than the PATA protocol we've been using for a while now. ... NAS = Network Attached Storage, a hard disk connected externally to a computer/network by a network cable instead of USB or FireWire. ... FreeNAS is a cut down version of Linux that would enable you to use an old/unused PC to connect to a network or existing PC and allow you to easily use its hard disks to store things on. ...
    (uk.people.silversurfers)
  • Re: Skinny install
    ... NAS fileserver. ... Going to freeNAS, and following their ... link to wikipedia NAS, I find a link to Openfiler, which _is_ Linux,? ...
    (comp.os.linux)