I want to transfer the whole content of a partition from a computer tu another. The answers to this question apparently solve the problem exactly as I wanted. But the result is too slow.
What I did:
I connected both computers to my home wifi, both have ip 192.168.... fine.
I started ssh service on one comuter,
from the other I lunched the command
rsync -av -e ssh 192.168.2.110:./ .
but it goes extremely slow (1MiB per second according to network monitor)
There could be many reasons for that.
How should I proceed to discover the reason and fix the problem?
If it is a wifi problem, how can I connect the computer so that they comunicate quickly? If it is a rsync problem, should I use other programs, or is there some known trick?
Update: via ethernet cable the speed is 10 times faster. I did not succeded to have any fast wifi transfer (basically tryed to avoid routers via an adhoc connection) . Also, I didn't mount target partition with some particular option, and if I check with "mount" the only options I see are
(rw,relatime)
syncoption? By default (so if you don't specify anything), the mounting would happen withasync. But if you have overridden it with an option manually, then that could be one reason. Mounting withsyncmakes writing extremely slow. – Levente Feb 26 '21 at 18:59rsyncthough not always wifi is involved) – guiverc Feb 26 '21 at 22:53