Score:0

transfer file at iperf bandwidth/throughput

us flag

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

djdomi avatar
za flag
have you tried to uncompressed transfer? reync and scp can do the same
us flag
using `rsync -aHAXxv --numeric-ids --delete --progress -e "ssh -o Compression=no -x" user@host:/100GB.file .` I am getting ~ `382.29kB/s`
djdomi avatar
za flag
rsync does not use Compression by default, and please read my first sentence from my first post
us flag
hi yes, the same thing compressing or not compressing
djdomi avatar
za flag
use screen and let it run ;) it looks to me for a limitation of bandwidth
mangohost

Post an answer

Most people don’t grasp that asking a lot of questions unlocks learning and improves interpersonal bonding. In Alison’s studies, for example, though people could accurately recall how many questions had been asked in their conversations, they didn’t intuit the link between questions and liking. Across four studies, in which participants were engaged in conversations themselves or read transcripts of others’ conversations, people tended not to realize that question asking would influence—or had influenced—the level of amity between the conversationalists.