PDA

View Full Version : slow download via sftp


fuuzuu
2006-05-13, 08:39 AM CDT
Hi!

I have 2 PCs connected to 100Mbit switch, one with FC4 and other with FC5. When I download files from FC4 based PC to FC5 based PC with samba, the speed is more than 2x faster than with sftp - do you know why? CPU usage in case of sftp is not higher than 30%...

arsene
2006-05-16, 01:08 PM CDT
Hi,
have a look at your duplex settings on both nics, this is often the pb, speedy in one way ans slowly in the other.
use ethtool to check.

Jman
2006-05-17, 08:54 PM CDT
I was going to suggest CPU. It is possible that CPU usage is much higher on the other machine (the one that's not 30%).

If they both use the same storage and network I don't think it's hardware.

sej7278
2006-05-18, 02:41 AM CDT
yeah, i've noticed that sftp from my fc5 box to my remote centos 3.6 server is slower than it was on fc3 or fc5 (about 90kbps).

what's more disturbing is that using cuteftp pro 7 on winxp gets over 200kbps, on a slower pc.....

i haven't tested lan machines, i use regular ftp for that, but i'm thinking there's either a bug in the openssh on fc5, or it's using a different encryption method, or compression.