You are not logged in.
I've searched the net for hours with no luck so this is my Hail Mary post.
I use SSHFS to connect my desktop to development server. Problem is, whenever I perform operations such as, large project SVN checkout or file sync, things really slow down. Approx 4000 file checkout can take over an hour and simple sync (SVN update) on an entire project takes around 6 minutes. From what I've gathered that is likely due to encryption but are there any tricks to speed things up? My fstab entry is:
sshfs#user@192.168.x.x:/var/vhosts /mnt/sshfs/dev00 fuse defaults,allow_other,umask=002,workaround=rename 0 0
All specified non-default options are required and "defaults" options do not seem like it would restrict the network in any way. Any ideas how to speed things up?
I don't want to move back to samba but if I can't increase performance I may have to.
Thank you.
Last edited by mpz (2016-02-04 19:15:55)
Offline
If the machine you are connecting to is local and not remote, you could try disabling compression (or enabling it if you have it currently disabled) and see if that makes a difference.
Also you could try using one of the ctr mode ciphers, or even rc4 and see if that makes any difference.
"Be conservative in what you send; be liberal in what you accept." -- Postel's Law
"tacos" -- Cactus' Law
"t̥͍͎̪̪͗a̴̻̩͈͚ͨc̠o̩̙͈ͫͅs͙͎̙͊ ͔͇̫̜t͎̳̀a̜̞̗ͩc̗͍͚o̲̯̿s̖̣̤̙͌ ̖̜̈ț̰̫͓ạ̪͖̳c̲͎͕̰̯̃̈o͉ͅs̪ͪ ̜̻̖̜͕" -- -̖͚̫̙̓-̺̠͇ͤ̃ ̜̪̜ͯZ͔̗̭̞ͪA̝͈̙͖̩L͉̠̺͓G̙̞̦͖O̳̗͍
Offline
This must have something to do with how VCS works, some small tests here with a 3000 file SVN checkout:
SVN local 60 seconds
SVN remote 30 minutes
SVN local → cp remote 3 minutes
ᶘ ᵒᴥᵒᶅ
Offline
@cactus
Machine I am connecting to is local. Thanks for the suggestions, I will look into when I'm back at the office.
@litemotiv
I under-estimated SVN size, it actually has 15,821 files. Sorry, late night post.
Offline
I have experimented with compression and ciphers (arcfour) and transfers slowed down considerably. Looks like SSHFS is not the best tool for my application. Thanks for suggestions.
Offline