Take the 2-minute tour ×
Server Fault is a question and answer site for professional system and network administrators. It's 100% free, no registration required.

Some of our users want to mount folders on our server to a drive letter or mountpoint on their Mac or PC.

SFTP bridges (Trasmit on Mac, WebDrive on Win, etc) are painfully slow to navigate when mounted through the cloud. In some cases, the amount of time it takes to enumerate the contents of a modestly-sized folder is far in excess of the amout of time it would take to ssh in, cd to the folder in question, and type in "ls -lha".

Worse, as these mount processes tie into the OS' lower-level I/O stuff, it can cause complete freeze-ups of Explorer/Finder and in a few cases necessitate a complete reboot.

Can anyone explain why this is so slow? I am interested more in knowing why, and less in a practical fix, though if there is anything I can relay to the server guys I'll gladly send it over.

Thanks!

Tom

share|improve this question

1 Answer 1

up vote 2 down vote accepted

Using SFTP (or similar) as a distributed filesystem is using it for something it's not designed for. The ability to cache, read ahead or detect network disruptions is dependent on the quality of the implementation of the client, which has to do with an underlying protocol not designed for this purpose.

If you want better performance, using a proper distributed filesystem such as NFS or maybe AFS (this one is designed for local caching but generally harder to install) should help.

Regarding the client's performance, you might want to try something like sshfs (via MacFuse) on the Mac for example to see if it works better for you.

share|improve this answer
    
Thanks! Not really the answer I wanted to hear but it's no less valid for being so :-) –  Tom Corelis Oct 4 '10 at 6:05

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.