A
A
Anton Korzunov2011-08-12 10:48:57
SSHFS
Anton Korzunov, 2011-08-12 10:48:57

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

4 answer(s)
O
okazymyrov, 2011-08-12
@okazymyrov

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.

I
ilnarb, 2011-08-12
@ilnarb

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.

V
Vlad Zhivotnev, 2011-08-12
@inkvizitor68sl

Compression yes
CompressionLevel 9
in /etc/ssh/ssh_config try to add on the client.

L
lesha_penguin, 2011-08-12
@lesha_penguin

Does ssh slow down at work or at the time of connection?

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question