Mailing List Archive

[Bug 1217] scp does not limit bandwidth
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@mindrot.org
ReportedBy: jacek_kal@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@192.168.16.111:/backup/test ./ 1>scp_limit.txt
2>&1
scp -vv root@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.
_______________________________________________
openssh-bugs mailing list
openssh-bugs@mindrot.org
http://lists.mindrot.org/mailman/listinfo/openssh-bugs
[Bug 1217] scp does not limit bandwidth [ In reply to ]
http://bugzilla.mindrot.org/show_bug.cgi?id=1217





------- Comment #1 from jacek_kal@o2.pl 2006-08-11 02:09 -------
Created an attachment (id=1172)
--> (http://bugzilla.mindrot.org/attachment.cgi?id=1172&action=view)
scp without -l option




------- You are receiving this mail because: -------
You are the assignee for the bug, or are watching the assignee.
_______________________________________________
openssh-bugs mailing list
openssh-bugs@mindrot.org
http://lists.mindrot.org/mailman/listinfo/openssh-bugs
[Bug 1217] scp does not limit bandwidth [ In reply to ]
http://bugzilla.mindrot.org/show_bug.cgi?id=1217





------- Comment #2 from jacek_kal@o2.pl 2006-08-11 02:10 -------
Created an attachment (id=1173)
--> (http://bugzilla.mindrot.org/attachment.cgi?id=1173&action=view)
scp with -l option




------- You are receiving this mail because: -------
You are the assignee for the bug, or are watching the assignee.
_______________________________________________
openssh-bugs mailing list
openssh-bugs@mindrot.org
http://lists.mindrot.org/mailman/listinfo/openssh-bugs