FreeBSD: Samba performance over GBit-Ethernet
        Posted  
        
            by 
                Axel Gneiting
            
        on Server Fault
        
        See other posts from Server Fault
        
            or by Axel Gneiting
        
        
        
        Published on 2011-01-07T14:22:53Z
        Indexed on 
            2011/01/07
            14:55 UTC
        
        
        Read the original article
        Hit count: 427
        
I'm using a FreeBSD NAS with RAID-Z.
I can read ~300MB/s from the ZFS disks to /dev/null on the box, but only get about 50MB/s over GBit-Ethernet with SMB to Windows 7 (Samba 3.5.6). Both systems have Intel-PCIe-NICs and are connected directly.
Samba is configured to use AIO and I already tried to tune TCP/IP:
kern.ipc.maxsockbuf=16777216
net.inet.tcp.sendspace=1048576
net.inet.tcp.recvspace=1048576
net.inet.tcp.sendbuf_max=8388608
net.inet.tcp.recvbuf_max=8388608
net.inet.tcp.delayed_ack=0
Any ideas what's causing the bottleneck? I think the link should handle 100 MB/s easily.
© Server Fault or respective owner