Fix slow network file transfers across Mac OSX Lion
Suddenly, after the upgrade from Snow Leopard to the much vaunted OSX Lion, my wireless transfers over a home LAN network became sluggish. It was taking a few *minutes* to transfer a simple file.
Apparently I am not the only one with these issues.
I tried a few fixes gleaned from a bunch of separate threads on the Apple forum, and off the web. Not everything is a smart suggestion. Here's what finally works, so hope this saves some people with similar problems the time:
[You need root access for the "sudo
" bits of the following code to work, of course.]
1 2 3 | sudo bash -c "echo 'net.inet.tcp.delayed_ack=0' >> /etc/sysctl.conf" sudo bash -c "echo 'net.inet.tcp.recvspace=40960' >> /etc/sysctl.conf" sudo bash -c "echo 'net.inet.tcp.rfc1323=0' >> /etc/sysctl.conf" |
Make sure the single quotes remain single quotes in the above code share. These new sysctl
settings will take effect after a reboot.
Another useful suggestion is to disable the IPV6 stuff. Not needed for now. Done using:
System Preferences ->
Network ->
Airport (or your WiFi listing) ->
Advanced (button) ->
TCP/IP (tab)
Change the IPV6 to "Link — Local".
RECENT COMMENTS