FS#67742 - [openssh]Really slow speed while transfering a file with scp or sftp.
Attached to Project:
Arch Linux
Opened by Frederic Bezies (fredbezies) - Friday, 28 August 2020, 10:23 GMT
Last edited by David Runge (dvzrv) - Tuesday, 05 September 2023, 10:24 GMT
Opened by Frederic Bezies (fredbezies) - Friday, 28 August 2020, 10:23 GMT
Last edited by David Runge (dvzrv) - Tuesday, 05 September 2023, 10:24 GMT
|
Details
Description: I can't get more than 800kbps/s after testing
on many machines using ArchLinux in upload with scp or
sftp.
Tests in virtual machines from Ubuntu or debian or Fedora show a maximum upload line speed of 64MB/s. To check I tested Manjaro or Arch in virtual machine and even bug less than 1mo/s in upload. Additional info: openssh 8.3p1-3 Steps to reproduce: |
This task depends upon
Closed by David Runge (dvzrv)
Tuesday, 05 September 2023, 10:24 GMT
Reason for closing: Upstream
Additional comments about closing: If this is still considered a bug, please convince upstream to fix this, as applying long-running patches is super painful and not the Arch way.
Tuesday, 05 September 2023, 10:24 GMT
Reason for closing: Upstream
Additional comments about closing: If this is still considered a bug, please convince upstream to fix this, as applying long-running patches is super painful and not the Arch way.
What about the reverse the package as the other distributions shipped it, built on Arch?
This bug can be seen with all Openssh 8.xx version in Archlinux.
If not [2] [3] [4] contain patches uses by Debian Fedora and Arch respectively.
Edit:
I think the following should change the IPQoS to the settings Arch / Fedora use.
ssh -o IPQoS='af21 cs1'
[1] https://sources.debian.org/src/openssh/1:8.2p1-4/debian/patches/revert-ipqos-defaults.patch/
[2] https://sources.debian.org/src/openssh/1:8.2p1-4/debian/patches/
[3] https://src.fedoraproject.org/rpms/openssh/tree/master
[4] https://github.com/archlinux/svntogit-packages/tree/packages/openssh/trunk
Edit: if I applied Debian patch "revert-ipqos...", it fixes the bug.
Updated patch source, https://salsa.debian.org/ssh-team/openssh/-/blob/master/debian/patches/revert-ipqos-defaults.patch
https://github.com/archlinux/svntogit-packages/blob/packages/openssh/trunk/PKGBUILD sed's /etc/ssh/sshd_config so maybe sed'ding /etc/ssh/ssh_config would be an acceptable alternative to the patch?