Server with centos 6.4. If I send files from the server to external storage (windows-machine with FTP and SSH services), using lftp or scp -r then the transfer goes at a speed of about 500 KB / s.

If I connect to a windows-machine and from it using WinSCP via scp I take files from the server - then the speed takes off up to 40 megabits.

10 files, from 100MB to 8GB. The total volume of about 12GB. The channel is about 50 megabits.

Where to dig? How to speed up sending files?

Performance Screen:

enter image description here

Update

Compared the processor load on both machines when transferring in both ways, the difference is insignificant - within 10% (Which, in my opinion, can be attributed to the error).

If on windows the machine is not to pour files from the server, but from somewhere else, too slowly. Although the "windows - machine" is quite powerful and nimble. There is almost no load on the processor, about 70% of free memory (total 8GB).

Why can there be such a difference in data transfer speed depending on the initiator?

When transferring from a server to another machine on the network, everything is fine with speed:

enter image description here

And when sending from another machine to windows, the transmission is very slow.

Update 2

I tried to transfer using lftp, connecting to the ftp server published on the same machine (IIS). The situation is about the same. Maybe you can advise a good ssh / scp server for windows? Now used Bitvise SSH server.

  • CPU load on both machines when transferring in both ways compare - Mike
  • And if on windows the machine is not to pour files from the server, but from somewhere else. - Mike
  • I would suggest trying on Windows to raise some other means of receiving files and see the difference. There are no ideas from what is happening. In addition to those that blame the host server itself - Mike
  • Try downloading some linux-liveCD on a windows-based machine and arrange for receiving / sending to make sure that everything is in order at the hardware level. And in the case of windows, you probably have to use samba ... - approximatenumber
  • what network is between these two machines? Maybe the provider just set up clever traffic management rules? Can I try raising FTP on the same port where winscp is knocking? - Oleg Chirukhin

1 answer 1

I did not find the answer to the question "Why is this?" Made a crutch that allowed to work around the problem.

On windows installed ssh server. From Linux I send a command to ssh to pick up files from Linux over scp using windows WinSCP cli. Terrible design, but it works.