[Bug 2888] Consider adding other compression schemes (lz4, zstd)

bugzilla-daemon at bugzilla.mindrot.org bugzilla-daemon at bugzilla.mindrot.org
Tue Sep 24 04:03:41 AEST 2019


https://bugzilla.mindrot.org/show_bug.cgi?id=2888

--- Comment #3 from Scott Baker <scott at perturb.org> ---
Transferring a 1.8GB VM image on a gigabit network:

```
root at green(~)
:time scp test.bin yellow:/dev/null
test.bin                               100% 1821MB 108.0MB/s   00:16    

# Enabling compression is significantly slower
root at green(~)
:time scp -C test.bin yellow:/dev/null
test.bin                               100% 1821MB  20.0MB/s   01:30    
```

Alternately using this "hack" with `cat`, `ssh`, and ZSTD I was able to
decrease transfer time by ~40%.

```
root at green(~)
:time cat test.bin | zstd | ssh yellow 'zstd - -d > /dev/null'

real    0m9.691s
user    0m12.178s
sys     0m4.458s
```

For transferring large files, and/or groups of large files via
scp/rsync having a modern compression method would be a **huge** win.

-- 
You are receiving this mail because:
You are watching the assignee of the bug.


More information about the openssh-bugs mailing list