Very slow SCP transfer



  • I have been experiencing slow file transfer (70 Mbit/s) through SCP.

    I am trying to upload an iso from a client's SSD which has a gigabit connection to the router over a gigabit switch (hp1810g-8g).

    On the pfsense side, I am using Intel atom D2500CCE. The CPU utilization goes up to 40% during the file transfer. It also has gigabit intel NIC and an SSD.

    I couldn't find the bottleneck. Does anyone have any idea about what can be the root cause of the problem.

    Thanks



  • Upload it to the internet? If so, what is the speed of the internet? Atoms usually will do up to about 250Mbits/sec. At least all mine have. I don't have any of the newer gen ones yet.
    Do you have traffic shaping or any other packages installed?



  • I am uploading the file from a LAN connected PC to pfSense which is also in the same LAN.

    While I was trying to upload the file, pfSense was in IDLE condition. Yet, I don't have traffic shaping.

    I have SNORT, HAVP and squid but they are all running on the WAN interface, not on the LAN



  • scp is a "very slow" protocol, it's designed to be secure, not fast. Getting 70 Mbps may well be the best you can do. You're not going to max out any hardware resources when doing a scp transfer generally. Google "scp slow" and you could spend months reading the results. Windows is worse if it's your client, OS X, BSD and Linux clients will be faster, but still nowhere near as fast as the hardware resources can transfer.



  • @cmb:

    scp is a "very slow" protocol, it's designed to be secure, not fast. Getting 70 Mbps may well be the best you can do. You're not going to max out any hardware resources when doing a scp transfer generally. Google "scp slow" and you could spend months reading the results. Windows is worse if it's your client, OS X, BSD and Linux clients will be faster, but still nowhere near as fast as the hardware resources can transfer.

    Thanks a lot. I was just wondering why. I even used jumbo frames at 9000.


Locked