0

I need to transfer a file between 2 servers, the output of iperf is:

TCP window size: 85.0 KByte (default)
------------------------------------------------------------
[  3] local X.X.X.X port 58986 connected with Y.Y.Y.Y port 5001
[ ID] Interval       Transfer     Bandwidth
[  3]  0.0-10.0 sec  4.00 MBytes  3.35 Mbits/sec

I am using netcat with something like this from the origin:

pv 100GB.file | lz4c | nc Y.Y.Y.Y 9999

And in the target Y.Y.Y.Y host:

nc -l 9999 | lz4c -d -| pv > 100GB.file

With this method, the max speed I can get is:390KiB/s

Any idea of what protocol or method could I use to get speed like when using iperf ~ 3MiB/s

nbari
  • 548
  • 1
  • 8
  • 25

0 Answers0