Bug 2887 - Readd CompressionLevel and use its value only for the sender
Summary: Readd CompressionLevel and use its value only for the sender
Status: NEW
Alias: None
Product: Portable OpenSSH
Classification: Unclassified
Component: Miscellaneous (show other bugs)
Version: 7.7p1
Hardware: All All
: P5 enhancement
Assignee: Assigned to nobody
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2018-07-31 04:06 AEST by Fabio
Modified: 2018-07-31 04:20 AEST (History)
0 users

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Fabio 2018-07-31 04:06:18 AEST
Apparently CompressionLevel option was removed since there was no way to tell other peer its value with SSH2.

However it would be useful to have it back and just use it for the sender.

Indeed the decompression operation on the receiver is the same even when changing the compression level (the receiver won't notice a change of compression level on the sender).

Also the decompression is a lot faster than the compression and independent of the compression level.

This way every peer should be able to set its compression level, according to its wanted CPU usage. For example a client may choose a higher compression level, while a server with many concurrent connections may want to use a lower compression level.

Eventually CompressionLevel 0 should also be allowed, it should mean it is able to receive compressed data, but only sends uncompressed data.
Comment 1 Fabio 2018-07-31 04:20:36 AEST
See also bug #2888.