[Bug 1217] scp does not limit bandwidth
bugzilla-daemon at mindrot.org
bugzilla-daemon at mindrot.org
Fri Aug 11 02:08:34 EST 2006
http://bugzilla.mindrot.org/show_bug.cgi?id=1217
Summary: scp does not limit bandwidth
Product: Portable OpenSSH
Version: 4.3p2
Platform: Other
OS/Version: Linux
Status: NEW
Severity: normal
Priority: P3
Component: scp
AssignedTo: bitbucket at mindrot.org
ReportedBy: jacek_kal at o2.pl
When I'm trying to copy a file from one server to another (in the same
100Mbit LAN). Both servers have the same openssh version (the same
package): OpenSSH_4.3p2, OpenSSL 0.9.8b 04 May 2006
When I specify -l option (limit bandwidth) with value eg. 48000 (so I
want to copy with speed 6MB/s), file is really copied with about
1.6MB/s (scp and bandwidth graphs show the same speed) [Attachment:
scp_limit.txt]
But when I copy from the same server without -l option, it is copied
with full speed (about 11MB/s). [Attachment: scp_nolimit.txt]
Also: copying files with -l option from:
OpenSSH_3.7.1p2, SSH protocols 1.5/2.0, OpenSSL 0.9.6 24 Sep 2000
to:
OpenSSH_4.3p2, OpenSSL 0.9.8b 04 May 2006
is very slow (below a specified limit).
The same with copying files over Internet (both ssh: 4.3p2) - with "-l
1200" is really copied with speec about 60KB/s.
I'm not sure, but in previous version (probably 4.3p1 or 4.2) speed was
limited correctly (I offen use scp with speed limit).
I have attached debug from running:
scp -l 48000 -vv root at 192.168.16.111:/backup/test ./ 1>scp_limit.txt
2>&1
scp -vv root at 192.168.16.111:/backup/test ./ 1>scp_nolimit.txt 2>&1
------- You are receiving this mail because: -------
You are the assignee for the bug, or are watching the assignee.
More information about the openssh-bugs
mailing list