You are not logged in.

#1 2011-03-16 06:26:51

mpz
Member
Registered: 2010-10-14
Posts: 54

[SOLVED] SSHFS performance

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

#2 2011-03-16 07:21:51

cactus
Taco Eater
From: t͈̫̹ͨa͖͕͎̱͈ͨ͆ć̥̖̝o̫̫̼s͈̭̱̞͍̃!̰
Registered: 2004-05-25
Posts: 4,622
Website

Re: [SOLVED] SSHFS performance

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

#3 2011-03-16 07:49:54

litemotiv
Forum Fellow
Registered: 2008-08-01
Posts: 5,026

Re: [SOLVED] SSHFS performance

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

#4 2011-03-16 13:46:31

mpz
Member
Registered: 2010-10-14
Posts: 54

Re: [SOLVED] SSHFS performance

@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

#5 2011-03-23 14:30:10

mpz
Member
Registered: 2010-10-14
Posts: 54

Re: [SOLVED] SSHFS performance

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

Board footer

Powered by FluxBB