You are not logged in.
Pages: 1
My samba transfer speed from my linux installation to and from my windows 7 box was always pretty slow. It was about 40MB/s or so.
However after adding this one setting to my [global] smb.conf, my speeds more than doubled. Im getting ~110MB/s read and write to the linux samba share.
"strict allocate = yes"
Seeing the benefits has some requirements though. Here is the documentation http://wiki.samba.org/index.php/Linux_Performance
Took me a while to find this setting. Theres a lot of other tweaks I found that didnt offer near the performance improvement that strict allocate did.
I didnt see this on the samba arch wiki but maybe it'd be a good idea to put it there? (https://wiki.archlinux.org/index.php/Samba)
Anyway, hope this helps others
Last edited by twl (2011-06-02 21:37:52)
Offline
Yes, if it's such a performance booster, maybe it's worth mentioning in the Wiki. There has to be a reason as to why it's turned off by default, though, as it seems too good to be true...
Offline
@op - you can modify the Arch wiki page if you feel there is value to documenting this setting. I would encourage you to do so. The Arch-community is one of the reasons why Arch is a great as it is today!
CPU-optimized Linux-ck packages @ Repo-ck • AUR packages • Zsh and other configs
Offline
~110MB/s read and write to the linux samba share.
How did you measure?
"I exist" is the best myth I know..
Offline
dstat on arch and windows 7 transfer window
Last edited by twl (2011-06-04 06:45:25)
Offline
dstat on arch and windows 7 transfer window
Sorry, I wasn't clear enough. I'm not saying about measurement tool. I mean which operations were used - smbclient get and put, or something else?
"I exist" is the best myth I know..
Offline
twl wrote:dstat on arch and windows 7 transfer window
Sorry, I wasn't clear enough. I'm not saying about measurement tool. I mean which operations were used - smbclient get and put, or something else?
On my windows 7 machine Just browsed some of my shares that were exposed by samba server on arch. I'd then try transfering some large linux .iso's to my windows 7 pc (to test read) and then write them back to the arch server (to test write)
so I think thats get/put?
Last edited by twl (2011-06-04 19:52:46)
Offline
student975 wrote:twl wrote:dstat on arch and windows 7 transfer window
Sorry, I wasn't clear enough. I'm not saying about measurement tool. I mean which operations were used - smbclient get and put, or something else?
On my windows 7 machine Just browsed some of my shares that were exposed by samba server on arch. I'd then try transfering some large linux .iso's to my windows 7 pc (to test read) and then write them back to the arch server (to test write)
so I think thats get/put?
Thanks for the clarification. I just was interested in the case when both - client and server - are running under Linux:
"I exist" is the best myth I know..
Offline
Pages: 1