[Samba] Tunning samba for better read performance
Jagan Teki
jagannadh.teki at gmail.com
Wed Nov 19 02:09:11 MST 2014
On 19 November 2014 13:59, Volker Lendecke <Volker.Lendecke at sernet.de> wrote:
> On Wed, Nov 19, 2014 at 12:49:06PM +0530, Jagan Teki wrote:
>> Hi,
>>
>> I'm running samba server on board and client is windows 7.
>>
>> I did below steps for performance tests.
>> + format /dev/sda1 with ext4
>> + mount the drive in server as mentioned in [media] path of /etc/samba/smb.conf
>> + created a root password
>> $ smbpasswd -a root
>> + 1Gb ethernet interface from board.
>> + map the driver in windows
>> + did a 4gb robocopy
>> + read got 13MBps and write got 105MBps
>>
>> Could any one suggest me any inputs why read got too slow, do I need to look
>> at any config options in /etc/samba/smb.conf
>
> Can you post your smb.conf?
[global]
netbios name = %h
server string = Samba %v on (%h)
domain master = no
local master = no
preferred master = no
host msdfs = no
os level = 0
passdb backend = smbpasswd
load printers = no
printcap name = /dev/null
use sendfile = yes
client signing = no
server signing = no
display charset = UTF8
unix charset = UTF8
min receivefile size = 128k
max connections = 50
max log size = 1000
log file = /var/log/samba/log.smbd
# If using samba 3.6, uncomment below to enable SMB2
max protocol = SMB2
[media]
comment = Public share
path = /media/mydisk
readonly = no
writeable = yes
guest ok = yes
[homes]
comment = User Home Directories
browseable = no
valid users = %S
writable = yes
readonly = no
thanks!
--
Jagan.
More information about the samba
mailing list