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


Click here to return to the 'Speed up Windows-Sharing' hint
The following comments are owned by whoever posted them. This site is not responsible for what they say.
Speed up Windows-Sharing
Authored by: hoadl on Feb 09, '04 05:46:14PM

Hello,

found this hint in http://discussions.info.apple.com:

RE: File transfer over SMB extremely slow
( msg # 6.: Posted Nov 17, 03 1:35 pm )

Apple shipped Panther with some extremely non-optimal kernel tcp defaults.
So the solution for slow NFS/SMB tranfers requires a bit of Terminal magic:

sudo sysctl -w net.inet.tcp.delayed_ack=0
sudo sysctl -w net.inet.tcp.mssdflt=1460
sudo sysctl -w net.inet.tcp.sendspace=65535
sudo sysctl -w net.inet.tcp.recvspace=65535
sudo sysctl -w net.inet.tcp.newreno=1
(Settings courtesy of Chris Zubrzycki )

With these kernel settings SMB transfer speed went from 50kB/s to 1.3MB/s and NFS transfer speed from 190kB/s to 1.9MB/s...

Full link to the discussion:
http://discussions.info.apple.com/webx?14@111.bOoXayKBcys.39@.599c09a7/7



[ Reply to This | # ]