[FFe][20.10 FEAT] zlib/gzip hardware compression enablement
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Ubuntu on IBM z Systems |
Fix Released
|
High
|
Skipper Bug Screeners | ||
gzip (Ubuntu) |
Fix Released
|
High
|
Canonical Foundations Team | ||
zlib (Ubuntu) |
Fix Released
|
Undecided
|
Canonical Foundations Team |
Bug Description
[Feature Freeze Exception]
1. Feature:
The latest s390x hardware comes with a new concept for hardware assisted compression/
To enable this hardware support for zlib and gzip, zlib needs to be compiled with CFLAGS="-O2 -DDFLTCC -DDFLTCC_
The value of 0x7e enables hardware compression for the compression levels 1-6 (out of 0-9).
There is a significant business value of having the enablement active by default, since tests on a system with 4 IFLs and hardware compression enabled this way offered (especially for DEFLATE as best case) a speed up of more than 40x.
2. Changes
Adding CFLAGS="-O2 -DDFLTCC -DDFLTCC_
3. Regression risk
The concept is new and comes with IBM z15 and LinuxONE III only and is with that specific and limited to s390x.
Hence a potential regressions of this late addition would be limited to s390x and there again with the above changes to zlib (and gzip).
In case of unforeseen issues with the NXU hardware component, a fallback to software is done.
On top a modified zlib package was build and made available in a PPA for further testing.
This change should have been included earlier, but was blocked by other zlib tickets/bugs that needed to be fixed and integrated first (like LP 1893170), hence this request for late addition.
__________
HW Compression need to be enabled with Default-
Adding following CFLAGS attributes during build of zlib and gzip
"-DDFLTCC_
CFLAGS="-O2 -DDFLTCC -DDFLTCC_
tags: | added: architecture-s39064 bugnameltc-186315 severity-high targetmilestone-inin2010 |
Changed in ubuntu: | |
assignee: | nobody → Skipper Bug Screeners (skipper-screen-team) |
affects: | ubuntu → linux (Ubuntu) |
Changed in ubuntu-z-systems: | |
assignee: | nobody → Canonical Kernel Team (canonical-kernel-team) |
importance: | Undecided → High |
no longer affects: | linux (Ubuntu) |
Changed in zlib (Ubuntu): | |
assignee: | nobody → Canonical Foundations Team (canonical-foundations) |
Changed in gzip (Ubuntu): | |
assignee: | nobody → Canonical Foundations Team (canonical-foundations) |
Changed in ubuntu-z-systems: | |
assignee: | Canonical Kernel Team (canonical-kernel-team) → Skipper Bug Screeners (skipper-screen-team) |
Changed in ubuntu-z-systems: | |
status: | New → Triaged |
tags: | added: id-5ef4ccb4eee44577120e7abb |
Changed in ubuntu-z-systems: | |
status: | Triaged → In Progress |
information type: | Private → Public |
description: | updated |
summary: |
- [20.10 FEAT] zlib/gzip hardware compression enablement + [FFe][20.10 FEAT] zlib/gzip hardware compression enablement |
Changed in ubuntu-z-systems: | |
status: | In Progress → Triaged |
Changed in ubuntu-z-systems: | |
status: | Triaged → In Progress |
Changed in ubuntu-z-systems: | |
status: | Fix Committed → Fix Released |
Changed in gzip (Ubuntu): | |
assignee: | nobody → Canonical Foundations Team (canonical-foundations) |
tags: | added: fr-994 |
Changed in gzip (Ubuntu): | |
status: | New → In Progress |
importance: | Undecided → High |
https:/ /launchpad. net/~mwhudson/ +archive/ ubuntu/ scratch/ +packages? field.name_ filter= zlib will shortly contain a package with this change.