----- Original Message ----- From: "Carlo Roy V. Taguinod" <[EMAIL PROTECTED]> To: "Miguel A Paraz" <[EMAIL PROTECTED]>; "Philippine Linux Users Group Mailing List" <[EMAIL PROTECTED]> Sent: Tuesday, November 16, 2004 10:35 PM Subject: Re: [plug] Poor Samba/Software RAID Performance
> but actual network transfers are really slow, what else should I > check, sayang naman yun kung di magagamit yun gigabit in your smb.conf under socket options, just leave TCP_NODELAY and IPTOS_LOWDELAY and remove SO_RCVBUF and SO_SNDBUF so that samba will depends on your system wide tcp windows size (net.core.rmem_default) since linux default tcp windows size is 64k, this is not enough to saturate your 1 gigabit link... the formula to use to saturate your link is bandwidth delay product (BDP) tcp window size = bandwidth * round trip time for example you have 1 gigabit link and pinging the other end took you 1 millisecond inside a lan... tcp window size would be: tcp window size = (1,000,000,000 bits per second / 8 bits per byte) * (1 millisecond / 1000 millisecond per second) tcp window size = 125,000 bytes in your /etc/sysctl.conf net.ipv4.tcp_window_scaling=1 net.ipv4.tcp_timestamps=1 net.ipv4.tcp_sack=1 net.ipv4.tcp.fack=1 net.core.rmem_default=125000 net.core.rmem_max=128000 fooler. -- Philippine Linux Users' Group (PLUG) Mailing List [EMAIL PROTECTED] (#PLUG @ irc.free.net.ph) Official Website: http://plug.linux.org.ph Searchable Archives: http://marc.free.net.ph . To leave, go to http://lists.q-linux.com/mailman/listinfo/plug . Are you a Linux newbie? To join the newbie list, go to http://lists.q-linux.com/mailman/listinfo/ph-linux-newbie
