| Idened Leopard 10.5.6, Slow Network copy over Samba |
|
After a brand new MacOSx installation of ideneb 1.4 with 10.5.6, I’ve realized that my Network was a bit sluggish while accessing my Samba shares. When I’m saying sluggish I mean excruciatingly sluggish, it took me 10m to copy 63Mb, which is definitely not normal. So after some googling, found that the net.inet.tcp.delayed_ack value for the TCP stack is setup to 3 by default. #sysctl -a | grep net.inet.tcp.delayed_ack Enabling net.inet.tcp.delayed ack allows the host to hold off sending an acknowledgement for a specified period of time, instead of immediately after receiving a TCP segment. This allows the host to wait for more data to arrive, which it can thenpotentially send a combined acknowledgement for. So, in my situation all I had to do for a live change, was setting the variable back to 0. #sysctl -w net.inet.tcp.delayed_ack=0 Or, for a permanent solution: #echo “net.inet.tcp.delayed_ack=0” >> /etc/sysctl.conf |