Answer the question
In order to leave comments, you need to log in
Samba read speed
Good afternoon!
There are two middle-aged servers, both running Debian squeeze
File exchange goes through samba (such a TK)
On one machine there is a shared folder:
Added lines to smb.conf for speed
On another machine, this folder is mounted locally (mount -t cifs ...)
The speed of writing to a shared folder ~ 40 MB / sec is more than satisfied
. The speed of reading from a shared folder is ~ 18 MB / sec - not at all buzzing.
Please suggest how to fix the problem.
Thanks in advance.
wide links = no
read raw = yes
write raw = yes
debug level = 2
read size = 65536
block size = 262144
large readwrite = yes
getwd cache = yes
use sendfile = yes
strict locking = no
oplocks = yes
max xmit = 65535
getwd cache = yes
socket options = IPTOS_LOWDELAY TCP_NODELAY SO_SNDBUF=262144 SO_RCVBUF=262144
aio read size = 1
aio write size = 1
Answer the question
In order to leave comments, you need to log in
When mounting cifs add directio
to the mount options and echo "options cifs CIFSMaxBufSize=130048" > /etc/modprobe.d/cifs.conf
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question