Victor3D Info
Search    Contact

Чиним скорость на SMB

В файл /etc/sysctl.conf добавляем строчку

net.inet.tcp.delayed_ack=0

Это даст указание ядру не задерживать пакеты.

The reason the slow down occurs is that when you are not sending anything to the Samba server, but attempting to copy a huge file from it, your computer will queue up a bunch of acks, and then send them after a bit. This causes the Samba server to stop sending files as fast, and then you end up going only a few kilobytes per second.

Если вы хотите попробовать, как это работает, а после перезагрузки восстанаовилось в прежнее состояние, то в терминале наберите

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