Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

SSHFS performance #101

Open
tasket opened this issue Jun 22, 2022 · 1 comment
Open

SSHFS performance #101

tasket opened this issue Jun 22, 2022 · 1 comment
Labels

Comments

@tasket
Copy link
Owner

tasket commented Jun 22, 2022

Note that SSHFS creates a possible performance issue for wyng arch-deduplicate because of this (sshfs man page):

Hardlinks
If the SSH server supports the hardlinks extension, SSHFS will allow you to create hardlinks. However, hardlinks will always appear as individual files when seen through an SSHFS mount,
i.e. they will appear to have different inodes and an st_nlink value of 1.

If you must use SSHFS with deduplication, it is better to stick with wyng -d send.


Since Wyng also creates large directories, enabling and configuring directory caching in SSHFS should improve performance.

@tlaurion
Copy link
Contributor

As a trace, this is how SSHFS was setuped in my past tests from qubes+ssh desination qube (though ~/.bashrc)
sudo sshfs -o allow_other,idmap=user,StrictHostKeyChecking=no,Compression=no,kernel_cache,cache=yes,nonempty,reconnect,ServerAliveInterval=15,ServerAliveCountMax=3,IdentityFile=/home/user/.ssh/id_rsa user@server:./ /home/user/rsync-net_mountpoint/

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

2 participants