Поиск по блогу

31 мар. 2017 г.

Ускоряем sftp

  • немного потюним сеть
net.ipv4.tcp_rmem = 4096 87380 8388608
net.ipv4.tcp_wmem = 4096 87380 8388608
net.core.rmem.max = 8388608
net.core.wmem.max = 8388608
net.core.netdev.max_backlog = 5000
net.ipv4.tcp_window_scaling = 1
  • параметры sshd_config
# Secure Ciphers and MACs
Ciphers blowfish-cbc,aes128-ctr,aes192-ctr,aes256-ctr,arcfour256,arcfour128
MACs hmac-sha1,hmac-sha2-512,umac-64@openssh.com,hmac-ripemd160
  • параметры подключения sftp
sftp -R 512 -B 262144, а так же игры с -oCompression, -c (ciphers)
  • hpn-ssh
если совсем не помогает - замена openssh-server на hpn-ssh
aptitude install software-properties-common python-software-properties
apt-add-repository "deb http://ppa.launchpad.net/yoda-jazz-kc/hpn-ssh/ubuntu vivid main"

Комментариев нет:

Отправить комментарий