Mascote

notes to self.

Fix Slow Transfer Between Mac OS X and Samba

Mac OS X has a big problem with samba when delayed ack is active, to avoid this start Terminal.app as root and set delayed ack to 0:

1
sudo sysctl -w net.inet.tcp.delayed_ack=0

Make the change permanent creating the file /private/etc/sysctl.conf if not exists:

1
echo 'net.inet.tcp.delayed_ack=0' >> /private/etc/sysctl.conf

try upload a big file and you will see a better throughput than before.