Sida 1 av 1

Samba performance

Postat: 23 nov 2008, 11:37
av jocke4u
Hej,

Har en Samba server på nätverket som jag vill få att prestera maximalt/ultimat :)

Har ni några tips på tuning som bör göras?
Kör med bl.a. följande:

Kod: Markera allt

socket options = TCP_NODELAY SO_RCVBUF=8192 SO_SNDBUF=8192

Re: Samba performance

Postat: 23 nov 2008, 12:43
av Osprey
Om du inte redan gjort det så kan du ju alltid titta på Chapter 45. Samba Performance Tuning.

Och till exempel:
http://www.techworld.com/opsys/features ... tureid=493
read raw = no
write raw = yes

http://www.informit.com/library/content ... seqNum=159
wide links=yes
getwd cache=yes

http://groups.google.com/group/mailing. ... d3d8af99c0
stat cache = yes
strict sync = no
use sendfile = yes
large readwrite = yes
oplock contention limit = 5
oplock break wait time = 100

http://ubuntuforums.org/archive/index.php/t-219510.html
case sensitive = true

http://software.intel.com/en-us/article ... erformance
strict allocate = yes

socket options = TCP_NODELAY IPTOS_LOWDELAY SO_KEEPALIVE SO_RCVBUF=131072 SO_SNDBUF=131072

och t.ex:

security = user
passdb backend = smbpasswd:/etc/samba/smbpasswd

obey pam restrictions = no

guest account = nobody
invalid users = root

preserve case = yes