Richard Collyer
2006-Jul-22 14:59 UTC
[Samba] Slow Transfer Speeds (I have read the HOWTO)
Hello, I've been having a few troubles with samba 3. I can only get 4MB/sec writing to the FreeBSD server that it is running on. As its on a 100Mbit network I was expecting at least 6-7MB/sec. I've included the smb.conf below is there anything obvious that I have missed from the config that can be seen as a performance gain or does anyone have any ideas for non samba items that can increase the write speed. Cheers Richard ####### smb.conf [global] workgroup = HOME server string = Brian security = user hosts allow = 127., 192.168.1. load printers = no # logs log file = /var/log/samba/log.%m max log size = 50 log level = 1 socket options = TCP_NODELAY SO_RCVBUF=8192 SO_SNDBUF=8192 dns proxy = no #====Shares [homes] comment = Home Directories browseable = no writable = yes [richard] comment = richards user area path = /home/richard/ public = no writeable = yes [data] comment = data storage path = /data/ public = yes writeable = yes
Gerald (Jerry) Carter
2006-Jul-22 15:22 UTC
[Samba] Slow Transfer Speeds (I have read the HOWTO)
-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 Richard Collyer wrote:> Hello, > > I've been having a few troubles with samba 3. I can > only get 4MB/sec writing to the FreeBSD server that it > is running on. As its on a 100Mbit network > I was expecting at least 6-7MB/sec....> socket options = TCP_NODELAY SO_RCVBUF=8192 SO_SNDBUF=8192Tule of thumb for socket options: Don't set this unless you can explain why you need them. cheers, jerry ====================================================================Samba ------- http://www.samba.org Centeris ----------- http://www.centeris.com "What man is a man who does not make the world better?" --Balian -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.2 (GNU/Linux) Comment: Using GnuPG with SUSE - http://enigmail.mozdev.org iD8DBQFEwkKcIR7qMdg1EfYRAsc/AJ0d2R13QGUWBxw76nwrdFRDZosqEACbBfPA ChV4fxPpibB9Q9KTwix1R/k=znOH -----END PGP SIGNATURE-----
Richard Collyer
2006-Jul-22 16:50 UTC
[Samba] Slow Transfer Speeds (I have read the HOWTO)
Richard Collyer wrote:>>> I've been having a few troubles with samba 3. I can only get 4MB/sec >>> writing to the FreeBSD server that it >>> is running on. As its on a 100Mbit network >>> I was expecting at least 6-7MB/sec. >> ... >>> socket options = TCP_NODELAY SO_RCVBUF=8192 SO_SNDBUF=8192 >> >> Tule of thumb for socket options: Don't set this unless >> you can explain why you need them.Just realized I replied to the person and no the list :( Try again Anyhoo, I've tried it with socket options commented out, TCP_NODELAY only and with the SO options in there and I see no difference in the amount of data that is being sent. I've put this machine and the server on its own switch to factor out the router and done some more testing. Read speeds are 6MB/sec and write only half of that at 3MB/sec. TO be fair the read speeds are ok as are the dir listing speeds its just the write performance that I am having problems with. Does anyone have any more suggestions. Cheers Richard