logoalt Hacker News

Aurornisyesterday at 4:30 PM2 repliesview on HN

> Note there is no intrinsic reason running multiple streams should be faster than one.

The issue is the serialization of operations. There is overhead for each operation which translates into dead time between transfers.

However there are issues that can cause singular streams to underperform multiple streams in the real world once you reach a certain scale or face problems like packet loss.


Replies

nh2yesterday at 5:57 PM

Is it certain that this is the reason?

rsync's man page says "pipelining of file transfers to minimize latency costs" and https://rsync.samba.org/how-rsync-works.html says "Rsync is heavily pipelined".

If pipelining is really in rsync, there should be no "dead time between transfers".

show 2 replies
wmfyesterday at 5:51 PM

The ideal solution to that is pipelining but it can be complex to implement.