I'm just wondering how can I speed up my samba configuration.
and this is my [global] and [Foo] sections of smb.conf:
[global]
workgroup = AKNET
server string = Samba Server %v
netbios name = Foo
#netbios aliases = foo-server internet-server
name resolve order = host bcast
#lmhosts
socket options = TCP_NODELAY IPTOS_LOWDELAY SO_KEEPALIVE SO_SNDBUF=16384 SO_RCVBUF=16384
dont descend = /dev,/proc,/root,/stand,/bin,/dist,/etc,/lkm,/mnt,/sbin,/sys,/usr
#wins support = no
follow symlinks = no
read raw = yes
write raw = yes
getwd cache = yes
read size = 1048576
write cache size = 65536
#131072 #65536
#lpq cache = 30
hosts allow = 10.10.10. 127. 192.168.1.
guest account = nobody
security = share
#unix realname = yes
ntlm auth = no
client ntlmv2 auth = no
#restrict anonymous = 1
log file = /var/log/samba/smb.%m
debug level =2
debug timestamp = no
timestamp logs = True
dos file times = yes
unix password sync = no
null passwords = yes
#obey pam restrictions = no
passdb expand explicit = no
#domain master = yes local master = yes preferred master = yes os level = 60
lm interval = 20
dns proxy = no
guest ok = yes
public = yes
available = yes
inherit permissions = yes
hide dot files = no
printable = no
load printers = no
#include = /usr/local/etc/smb.conf.%m
create mask = 0777
directory mask = 0777
display charset = ISO8859-2
dos charset = 850
unix charset = ISO8859-2
#nt smb support = yes nt pipe support = yes nt acl support = yes
oplocks = true
kernel oplocks = yes
level2 oplocks = true
[Foo]
comment = Foo Public
path = /home/public
browseable = no
readonly = no
writable = yes
delete readonly = yes
I'm interested in change above settings to increade speed of copying files onto samba and from samba to my laptop (windows 7)
please advice what to do
thank you very very much
--
MULDEK
set them to 65536
I had similar settings to yours and was getting 5.9MB/sec after setting the above to 65536 I got 9.1MB/sec - close to my max theoretical.
Guess it's time to go for gigabit networking and see where that gets me.
---
frmsrcurl: http://compgroups.net/comp.unix.bsd.freebsd.misc/how-can-I-speed-up-my-samba