Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
SFTP Transfers Cap at 1.2MBps
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Networking & Security
View previous topic :: View next topic  
Author Message
thehailo
n00b
n00b


Joined: 11 Mar 2004
Posts: 47
Location: US

PostPosted: Thu Mar 23, 2006 6:34 pm    Post subject: SFTP Transfers Cap at 1.2MBps Reply with quote

Alright, I've been looking into this for a week and haven't had any luck. I've got a Gb network: e1000's in all computers and a Netgear 8-port Gb switch. For some reason I can't figure out, every SSH file transfer caps at 1.2 MB/s. I can have six going at once, but each one caps there. Every machine's running Gentoo, either 2005.1 hardened-sources or 2006.0 gentoo-sources.

I've tried all sorts of things, from messing with sshd to formatting and rebuilding the systems (needed to anyways to change partition sizes). I've found some similar problems online and around the forum here, but nothing exactly like this and no solutions. It does tend to cap differently by the client. On a Windows XP Pro box using WinSCP it seems to cap around 900 Kb/s, while Konqueror (KDE v3.5.1) hits 1.2 MB/s. I assume since I can have several transfers going at once all at 1.2 MB/s it's an artificial cap somewhere.

Ideas?


Last edited by thehailo on Sun Jan 22, 2023 5:03 am; edited 3 times in total
Back to top
View user's profile Send private message
thehailo
n00b
n00b


Joined: 11 Mar 2004
Posts: 47
Location: US

PostPosted: Sat Mar 25, 2006 1:47 am    Post subject: Re: SFTP Transfers Cap at 1.2Mbps Reply with quote

N/A

Last edited by thehailo on Sun Jan 22, 2023 3:44 am; edited 1 time in total
Back to top
View user's profile Send private message
EatMeerkats
Apprentice
Apprentice


Joined: 15 Mar 2006
Posts: 234

PostPosted: Sat Mar 25, 2006 2:29 am    Post subject: Reply with quote

How fast does it go using the commandline sftp client? I can get about 20 MB/s to a ThinkPad, which also has an e1000. The only reason it can't go any faster is because the laptop CPU can't keep up...
Back to top
View user's profile Send private message
Suicidal
l33t
l33t


Joined: 30 Jul 2003
Posts: 959
Location: /dev/null

PostPosted: Sat Mar 25, 2006 3:32 am    Post subject: Reply with quote

Im not sure about winscp but alot of windows sftp stuff is crap. I wouldsay try a minimal install of cygwin and see how transfers go that way.
Back to top
View user's profile Send private message
slithy
Guru
Guru


Joined: 26 Nov 2005
Posts: 321
Location: Kansas

PostPosted: Sat Mar 25, 2006 7:54 am    Post subject: Reply with quote

I have seen the 1.2MB cap also. I have only seen it when I am using Konqueror to drag and drop files from one window(sshed into remote machine) to another window(local machine). I figured it was just some sort of thing with Konqueror. With scp from terminal the cap doesn't apply and the bandwidth maxs.
Back to top
View user's profile Send private message
thehailo
n00b
n00b


Joined: 11 Mar 2004
Posts: 47
Location: US

PostPosted: Sun Mar 26, 2006 9:23 am    Post subject: Reply with quote

scp does a lot better, however it still caps around 14 MB/s, well below what I'd expect from a Gb network. I do wonder why Konqueror works so much slower and why my speeds are so off what I'd expect.

Last edited by thehailo on Sun Jan 22, 2023 3:48 am; edited 1 time in total
Back to top
View user's profile Send private message
think4urs11
Bodhisattva
Bodhisattva


Joined: 25 Jun 2003
Posts: 6659
Location: above the cloud

PostPosted: Sun Mar 26, 2006 10:36 am    Post subject: Reply with quote

thehailo wrote:
scp does a lot better, however it still caps around 14MBs, well below what I'd expect from a GB network.

Did you check the cpu utilization on both server and client during the transfer? Most probably at least one side cannot en/decrypt faster than that.
_________________
Nothing is secure / Security is always a trade-off with usability / Do not assume anything / Trust no-one, nothing / Paranoia is your friend / Think for yourself
Back to top
View user's profile Send private message
thehailo
n00b
n00b


Joined: 11 Mar 2004
Posts: 47
Location: US

PostPosted: Mon Mar 27, 2006 3:10 pm    Post subject: Reply with quote

Think4UrS11 wrote:
thehailo wrote:
scp does a lot better, however it still caps around 14MBs, well below what I'd expect from a GB network.

Did you check the cpu utilization on both server and client during the transfer? Most probably at least one side cannot en/decrypt faster than that.


Well I thought that might be part of it, so I've been monitoring system resources on both ends. The SFTP is hitting around 65% utilization. However, I've been wondering where the SFTP's HDD (7200 RPM ATA133 IDE) might start slowing things down. After more testing the best I've been able to do was about 16 MB/s in bursts and 12-13 MB/s steady.


Last edited by thehailo on Sun Jan 22, 2023 3:31 am; edited 2 times in total
Back to top
View user's profile Send private message
MrUlterior
Guru
Guru


Joined: 22 Mar 2005
Posts: 511
Location: Switzerland

PostPosted: Tue Mar 28, 2006 2:04 pm    Post subject: Reply with quote

Run netperf -f K between two hosts and post the results.
_________________

Misanthropy 2.0 - enough hate to go around
Back to top
View user's profile Send private message
slithy
Guru
Guru


Joined: 26 Nov 2005
Posts: 321
Location: Kansas

PostPosted: Tue Mar 28, 2006 6:29 pm    Post subject: Reply with quote

Here is the result of netperf between the two machines I have:

Code:
desky joel # netperf -H 192.168.1.35 -f M
TCP STREAM TEST from 0.0.0.0 (0.0.0.0) port 0 AF_INET to 192.168.1.35 (192.168.1.35) port 0 AF_INET
Recv   Send    Send                         
Socket Socket  Message  Elapsed             
Size   Size    Size     Time     Throughput 
bytes  bytes   bytes    secs.    MBytes/sec 

 87380  16384  16384    10.00      64.53


I too can only get 1.2MB with SSH and konqueror.
Back to top
View user's profile Send private message
think4urs11
Bodhisattva
Bodhisattva


Joined: 25 Jun 2003
Posts: 6659
Location: above the cloud

PostPosted: Tue Mar 28, 2006 6:59 pm    Post subject: Reply with quote

fish transfer slow (max 1.2 Mb/sec vs scp 10 Mb/sec)
_________________
Nothing is secure / Security is always a trade-off with usability / Do not assume anything / Trust no-one, nothing / Paranoia is your friend / Think for yourself
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Networking & Security All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum