balakin.info English
Главная    Мои проекты

Что можно сделать для увеличения производительности samba?
В smb.conf:
socket options = TCP_NODELAY IPTOS_LOWDELAY SO_SNDBUF=4096 SO_RCVBUF=4096
  read size = 32768
  read raw = no
  read prediction = true
  write raw = yes
  wide links = no
  oplocks = yes
  max xmit = 65535
  dead time = 15
  getwd cache = yes
  lpq cache = 30
  level2 oplocks = true
Linux:
  echo "100 1000 128 128 500 6000 6000 1884 2" >/proc/sys/vm/bdflush
FreeBSD:
  /sbin/sysctl -w net.local.stream.recvspace=65535
  /sbin/sysctl -w net.local.stream.sendspace=65535
  /sbin/sysctl -w net.inet.tcp.sendspace=65535
  /sbin/sysctl -w net.inet.tcp.recvspace=65535

  Со мной можно связаться по адресу Made from 100%-recycled electrons.
  Created with VIM  Valid HTML 4.01!  Valid CSS! Last updated: 01.08.2007