Submit Hint Search The Forums LinksStatsPollsHeadlinesRSS
14,000 hints and counting!


Click here to return to the 'Speed up Samba file copying speeds' hint
The following comments are owned by whoever posted them. This site is not responsible for what they say.
Speed up Samba file copying speeds
Authored by: Baguerra on Nov 30, '05 01:11:11AM

Well, the comments to this hint helped solve the Mac <-> Linux samba performance problem I have had since I switched from a PC to Mac over six months ago, so I had no choice but to get an account and share my results with others...

Short version:
- Typing "sysctl -w net.inet.tcp.delayed_ack=0" on the Mac did nothing
- Adding "large readwrite = no" to smb.conf on the Mac did nothing
- Adding "large readwrite = no" to smb.conf on Linux fixed the problem

My home network consists of a PowerBook 15" 1.67GHz running 10.4.3 and an old P3 400MHz laptop running Ubuntu Linux v5.10. I was able to get the two macines connected via Samba easily enough, but performance was less than spectacular. Adding the "large readwrite = no" entry to the smb.conf on the Linux box dramatically improved performance. Using a folder containing 38 images totaling 10MB in size, transfers were as follows...

Before the change:
Linux -> Mac: 1 minute
Mac -> Linux: 2 minutes

After the change:
Linux -> Mac: < 10 seconds
Mac -> Linux: < 10 seconds

I couldn't be happier, and hopefully this will help solve the problem for others as well. Thanks to everyone who took the time to contribute to this thread!



[ Reply to This | # ]