Date: Fri, 29 Sep 2006 16:21:20 +0200 From: "Olivier Cochard-Labbe" <olivier@freenas.org> To: freebsd-performance@freebsd.org Subject: Samba Performance problem Message-ID: <3131aa530609290721o267d55bakff4e801ef4000675@mail.gmail.com>
next in thread | raw e-mail | index | archive | help
Hi all, I meet a performance problem with my customized distro of FreeBSD 6.1(FreeN= AS). 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 =3D IPTOS_LOWDELAY TCP_NODELAY SO_SNDBUF=3D16384 SO_RCVBUF=3D16384 But there is no change. Then I've try to add a "tune" parameter that set this kernel variables: net.inet.tcp.delayed_ack=3D0 net.inet.tcp.sendspace=3D65536 net.inet.tcp.recvspace=3D65536 net.inet.udp.recvspace=3D65536 net.inet.udp.maxdgram=3D57344 net.local.stream.recvspace=3D65535 net.local.stream.sendspace=3D65535 kern.ipc.maxsockbuf=3D2097152 kern.ipc.somaxconn=3D8192 kern.ipc.nmbclusters=3D60000 kern.maxfiles=3D65536 kern.maxfilesperproc=3D32768 net.inet.tcp.inflight.enable=3D0 But there is no change too... How can I improve the Samba performace ? Thanks, Olivier --=20 Olivier Cochard-Labb=E9 FreeNAS main developer http://www.freenas.org Skype: callto://ocochard
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?3131aa530609290721o267d55bakff4e801ef4000675>