Score:1

Why is iperf3 data transfer slower than scp?

in flag
pdp

I have been measuring the throughput between two hosts connected via a fiber channel. The OS is CentOS 7.9.2009 and iperf3 version is 3.1.7 (RPM). One of the tests was the measurement of transfer rates when the transferred data gets written to file. This is relevant because our application is write heavy. The server was started by running:

$ [server] iperf3 -s -F zero.img -i 30

The client by:

$ [client] iperf3 -c server -F zero.img -i 30 -p 5201 -n 95G

A large file used in the transfers was created by doing:

$ [client] dd if=/dev/zero of=zero.img count=100000 bs=1000kB

dstat was using to monitor system resources:

$ [server] dstat -t -m -s -d -c -l -n 60 10

iperf3 transferred the data at just about 10 MB/s.

iperf3

While scp was way faster (over 130 MB/s). enter image description here

Could anyone please suggest what could be the reason?

Score:0
lu flag

I believe this is a known issue with fsync.

https://github.com/esnet/iperf/issues/1159

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.