Jump to content

Hey LT-Techies!

 

I'm looking for possible issues with file transfer over SSH.
I have a raspi4 (twisterOS -> 2x3TB HDD via USB3-2bay hub, in one logical volume) as NAS/Cloud and PC (debian bullseye), laptop (win10 over sshfs/winscp) and phone as clients over sshfs.
A few days ago, I noticed the speed being slow.. by which I mean stable 850 kb/s.
I tested drive-to-drive-transfer within devices, no problems. Anything that uses the network, however, is dead-slow.

NAS-PC, PC-Phone, NAS-Phone, aaaall dead-slow.

Router is showing full 1Gbit/s and internet-speed is not impaired.

SCP is exactly as slow. I tested this because from google-research "SSHFS slow but scp fast" is a common result.

 

Soo... I have no damn idea what could've gone wrong!
To my knowledge, I changed nothing relevant during this period. No installations or updates (looked up the apt-log).
 

So, I'm desperate enough to post my problem here. I'm grateful for any ideas.
Let your inner Sherlock figure this out!


My fstab is:

pi@192.168.13.3:/path/to/folder/                   /path/to/folder        fuse.sshfs      delay_connect,IdentityFile=/home/$USER/.ssh/id_rsa,idmap=user,port=$PORT,rw,uid=1000,gid=1000,nosuid,nodev,_netdev,allow_other,default_permissions,reconnect 0 0


T.i.a.: Arokan

Update1: No high CPU-Usage on either device.

Link to comment
https://linustechtips.com/topic/1394490-sshfsscp-and-me/
Share on other sites

Link to post
Share on other sites

9 hours ago, Arokan said:

Hey LT-Techies!

 

I'm looking for possible issues with file transfer over SSH.
I have a raspi4 (twisterOS -> 2x3TB HDD via USB3-2bay hub, in one logical volume) as NAS/Cloud and PC (debian bullseye), laptop (win10 over sshfs/winscp) and phone as clients over sshfs.
A few days ago, I noticed the speed being slow.. by which I mean stable 850 kb/s.
I tested drive-to-drive-transfer within devices, no problems. Anything that uses the network, however, is dead-slow.

NAS-PC, PC-Phone, NAS-Phone, aaaall dead-slow.

Router is showing full 1Gbit/s and internet-speed is not impaired.

SCP is exactly as slow. I tested this because from google-research "SSHFS slow but scp fast" is a common result.

 

Soo... I have no damn idea what could've gone wrong!
To my knowledge, I changed nothing relevant during this period. No installations or updates (looked up the apt-log).
 

So, I'm desperate enough to post my problem here. I'm grateful for any ideas.
Let your inner Sherlock figure this out!


My fstab is:

pi@192.168.13.3:/path/to/folder/                   /path/to/folder        fuse.sshfs      delay_connect,IdentityFile=/home/$USER/.ssh/id_rsa,idmap=user,port=$PORT,rw,uid=1000,gid=1000,nosuid,nodev,_netdev,allow_other,default_permissions,reconnect 0 0


T.i.a.: Arokan

Update1: No high CPU-Usage on either device.

how is the pi connected to the network?

Link to comment
https://linustechtips.com/topic/1394490-sshfsscp-and-me/#findComment-15145671
Share on other sites

Link to post
Share on other sites

Okay, it's now 16 hours later, and Linus has been right all along: As soon as you post your problem on the internet or hire a professional, it doesn't take long until you fix it yourself.
Now: It couldn't be the pi, because when I draw something from my pc to my phone, it was slow as well.

So what did I do? I restarted my router... figured since all Network devices are impaired, it must have something to do with it.
I'm now back to full 30MB/s. Still wondering why, because with HDD+pi+wired it should be more, but that's a number I can live with rather than .9MB/s 😄

Thanks for your thoughts!
#haveyoutriedturningitoffandonagain

Link to comment
https://linustechtips.com/topic/1394490-sshfsscp-and-me/#findComment-15146060
Share on other sites

Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now

×