[Samba] Samba over slow connections

Sébastien Le Ray sebastien-samba at orniz.org
Sat Jan 9 08:10:12 UTC 2016



Le 07/01/2016 12:22, Reindl Harald a écrit :
>
> /usr/sbin/ifconfig eth0 txqueuelen 100
> ______________________________________________
>
> ifcfg-eth0:
>
> ETHTOOL_OPTS="-K ${DEVICE} tso on lro off; -G ${DEVICE} rx 128 tx 128"
> ______________________________________________
>
> sysctl.conf:
>
> net.core.rmem_max = 65536
> net.core.wmem_max = 65536
> net.core.rmem_default = 32768
> net.core.wmem_default = 32768
> net.ipv4.tcp_rmem = 4096 32768 65536
> net.ipv4.tcp_wmem = 4096 32768 65536
> net.ipv4.tcp_mem = 4096 32768 65536
> net.ipv4.udp_mem = 4096 32768 65536
> net.ipv4.tcp_moderate_rcvbuf = 1
> net.ipv4.tcp_sack = 1
> net.ipv4.tcp_dsack = 1
> ______________________________________________
>
> smb.conf:
>
> socket options = TCP_NODELAY IPTOS_LOWDELAY SO_KEEPALIVE
> max xmit = 32768

Hi,

Just applied all these settings and restarted samba… No change. Any idea?

Regards



More information about the samba mailing list