Announcement

Collapse
No announcement yet.

How to improve SCP/RSYNC speeds

Collapse
This topic is closed.
X
This is a sticky topic.
X
X
  • Filter
  • Time
  • Show
Clear All
new posts

  • How to improve SCP/RSYNC speeds

    If you are getting good wget speeds but very slow scp/rsync speeds when uploading/downloading files, try running the following commands to modify your sysctl.conf file. Just be sure to back it up first:

    Code:
    sysctl net.inet.tcp.recvbuf_max=16777216
    sysctl net.inet.tcp.sendbuf_max=16777216
    sysctl kern.ipc.maxsockbuf=16777216
    sysctl kern.ipc.somaxconn=1024
    sysctl net.inet.tcp.sendspace=262144
    sysctl net.inet.tcp.recvspace=262144
    sysctl net.inet.tcp.sendbuf_inc=262144
    sysctl net.inet.tcp.recvbuf_inc=262144
    sysctl net.inet.tcp.syncookies=0
    Source
    www.AYKsolutions.com
    From Shared to Dedicated
    Professional. Painless. Polite.
Working...
X