On 7/19/07, [EMAIL PROTECTED] <[EMAIL PROTECTED]> wrote:

  I ran into this when trying to rsync backups on a brand new gig-eth
  card on a 2.6.x kernel machine. Funny thing was, not only was the
  slow down machine specific, it was service specific as well. The
  following MAY work for you ...

#!/bin/sh

/sbin/sysctl -w net.core.rmem_max=107374182
/sbin/sysctl -w net.core.wmem_max=107374182
/sbin/sysctl -w net.core.rmem_default=107374182
/sbin/sysctl -w net.core.wmem_default=107374182
/sbin/sysctl -w net.core.optmem_max=107374182
/sbin/sysctl -w net.ipv4.tcp_rmem="107374182 107374182 107374182"
/sbin/sysctl -w net.ipv4.tcp_wmem="107374182 107374182 107374182"
/sbin/sysctl -w net.ipv4.tcp_mem="107374182 107374182 107374182"
/sbin/sysctl -w net.core.netdev_max_backlog=1000
/sbin/ifconfig eth0 txqueuelen 1000
/sbin/sysctl -w net.ipv4.route.flush=1
/sbin/sysctl -w net.ipv4.tcp_no_metrics_save=1
/usr/sbin/ethtool -K eth0 tso off
# For  Intel e1000 NIC Users: Add "options e1000 RxDescriptors=4096" into
/etc/modules.conf


hmm, i've never played with anything like this before.
Thanks!
I'll do some reading on sysctl and give a try.
--
To unsubscribe from this list go to the following URL and read the
instructions:  https://lists.samba.org/mailman/listinfo/samba

Reply via email to