logo       

Re: [sshfs] Write slower than Read?: msg#00031

file-systems.fuse.sshfs

Subject: Re: [sshfs] Write slower than Read?

> > No. What are the ssh and sshfs versions on the two machines?
>
> server$ ssh -V
> OpenSSH_4.3p2 Debian-5.1, OpenSSL 0.9.8c 05 Sep 2006
>
> client$ ssh -V
> OpenSSH_4.3p2 Debian-7, OpenSSL 0.9.8c 05 Sep 2006
> client$ sshfs -V
> SSHFS version 1.6
> FUSE library version: 2.5.3
> fusermount version: 2.5.3
> using FUSE kernel interface version 7.5

OK, checked it and found similar symptoms. It seems to be a
continuation of the TCP_NODELAY saga with openssh. I thought it was
fixed once and for all, but it seems they managed to screw it up
again.

Try sftp, that should behave similarly to sshfs, since they use the
same protocol.

Here's a horrible hack to work around this issue. Cut and paste the
following script to /tmp/ssh-hack

-------------------------------------
#! /bin/sh

export DISPLAY=dummy
exec ssh -X $5 /usr/lib/sftp-server
-------------------------------------

then do

chmod a+x /tmp/ssh-hack
sshfs -ossh_command=/tmp/ssh-hack ...

and that should fix the upload speed issue. I'll talk to the openssh
folks.

Thanks,
Miklos

-------------------------------------------------------------------------
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share your
opinions on IT & business topics through brief surveys - and earn cash
http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV


<Prev in Thread] Current Thread [Next in Thread>
Google Custom Search

News | FAQ | advertise