Answer the question
In order to leave comments, you need to log in
speed up sshfs
There are two servers:
1. in Russia, pings to it are about 2ms, sshfs flies
2. in Germany, pings are about 60ms, sshfs gives delays of about 1-2 seconds to change the directory, while the ssh console flies (60ms is not noticeable to the eye ) The
question is what can be done to speed up file access
. The command to connect is now simple - sshfs who goes where.
As far as I understand from the help, this should already start the asynchronous mode with caching, but somehow the stone flower does not come out.
Answer the question
In order to leave comments, you need to log in
And what's with the pings? You can have a bandwidth of 100 Mb/s or 32 Kb/s. In both cases the ping will be 60ms since one packet is being sent. When you connect via sshfs, you have not one packet sent, but 10 ^ n. Hence the brakes.
apparently, sshfs makes a lot of requests, then this is not solved simply by settings.
in NFS it's like this: get by the name of the inode data, and so on to traverse all the pieces of the path through /
but in NFS this data is gradually cached.
Compression yes
CompressionLevel 9
in /etc/ssh/ssh_config try to add on the client.
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question