Welcome to Vifm Q&A, where you can ask questions about using Vifm. Registration is optional, anonymous posts are moderated. E-mail and GitHub logins are enabled.
0 votes
in vifm by

I was trying to optimize the internal 10gbit LAN connection to my server and while with

dd if=/home/john/bigfile.dat of=/mnt/server/bigfile.dat bs=4M status=progress

I can reach ~546 MB/s over sshfs, when I use the vifm's copy command it caps at ~220MB/s.
Is there a way to improve the transfer speed on vifm?

1 Answer

0 votes
by
selected by
 
Best answer

You can try disabling data synchronization in 'iooptions':

set iooptions-=datasync

Mind that unless keeping more data in RAM permits effective parallelisation of writes, Vifm's speed is closer to the real one (i.e., how fast data lands at the destination) and dd shows how fast you can load things into RAM buffers (possibly at the cost of pushing useful data out of it). There are sync and nocache parameters/options for dd as well in case you want to perform more comparisons.

dd may also keep all data in the kernel without copying to/from application, Vifm doesn't do that, making it somewhat slower.

by

you're absolutely correct, it was not a fair comparison. However disabling data synchronization increased file operation indeed, throughput jumped up to 431MB/s, enough for me given the setup thank you <3

If you would like to make a bug report or feature request consider using GitHub, SourceForge or e-mail. Posting such things here is acceptable, but this is not a perfect place for them.
...