Yes, this is not a bug. zlib/deflate does not guarantee that deflating will 
actually make things smaller.
And for very small data chunks, like in the test cases, the compression 
overhead is actually bigger then the gain.

This is due to the fact that hardware compressors only implement the
pure algorithm not the actual data packaging in a zlib stream. So the
hardware is optimized to be efficient on large data and be fast.

The tradeoff is that compressing very small chunks of data might not
always produce smaller compressed data.

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/2138882

Title:
  [autopkgtest][resolute] s390x Test Failures on test_recompress.sh

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu-z-systems/+bug/2138882/+subscriptions


-- 
ubuntu-bugs mailing list
[email protected]
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Reply via email to