rgwirtz wrote:I've been trying to figure this out, so thanks for the tip, but could you walk me through how to do this? I open the smb.conf file with text edit? Then what do I do, add lines to format the buffer size? Sorry, I'm a linux newbie. Thanks.
I don't know if Text Edit will work; the file has to have the proper line returns or it won't work. I've always used nano, the Unix text editor built into OS X.
Here's what you do:
1. Open the terminal
2. Type "cp /etc/smb.conf /etc/smb.conf.back" (so that you'll have a backup copy if you hose things)
3. Type "sudo nano /etc/smb.conf" and enter your login password at the prompt (assuming you're an administrative user)
4. Add the following line somewhere in the [global] section at the start of the file:
socket options = TCP_NODELAY IPTOS_LOWDELAY SO_KEEPALIVE SO_SNDBUF=65535 SO_RCVBUF=65535
Make sure that it's all on one line by itself. You can cut and paste to do this, but you have to use the arrow keys to move the cursor around in the file. The above "socket options" should be on it's own line when you're done.
5. Hit Control-O (that's the letter o) and hit RETURN to write the changes out to smb.conf
6. Hit Control-X to exit nano.
At this point, you should either stop and restart windows file sharing, or reboot your mac, and you should be all set.
You can check your transfer speeds by telneting into the PB and doing a timed copy of a large file from one of the smb shares; there's a method in the unofficial faq.
Good luck; let me know if you have any other questions.