Add AOCL-Compression 5.3.0 (AMD-optimized compression) - #321
Open
BiplabRaut wants to merge 1 commit into
Open
Conversation
Expose its optimized compression as aocl-lz4, aocl-lz4hc, aocl-lzma, aocl-bzip2, aocl-snappy, aocl-zlib and aocl-zstd. Build integration: - Linux x86_64 only - The static archive is built from the bundled source with its own GNU Make AOCL internal symbols are prefixed (public aocl_llc_* API kept intact) so its bundled compressors cannot clash with lzbench's own - Requires GNU binutils (nm, objcopy) - AOCL-Compression sources initialized through the git submodule - Force off with DONT_BUILD_AOCL=1 AOCL-Compression Upstream Repo: https://github.com/amd/aocl-compression
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
AOCL-Compression provides AMD-optimized implementations of widely used lossless compression algorithms. This integration exposes them alongside lzbench's native implementations for direct comparison.
5.3Registered variants
aocl-lz4(level 0)aocl-lz4hc(levels 1-12)aocl-lzma(levels 0-9)aocl-bzip2(levels 1-9)aocl-snappy(level 0)aocl-zlib(levels 1-9)aocl-zstd(levels 1-22)The
AOCLalias runs representative levels of all seven codecs.Performance
Native and AOCL implementations were measured under identical settings:
performance-t3,3 -i3,3 -p1Results summary
AOCL delivers substantial throughput gains on zlib (up to 3.7× compression, 2× decompression),
bzip2 (2.1–2.3× compression, +60–69% decompression), snappy (+20% compression, 2× decompression),
and moderate gains on zstd (+14–21% compression, +8–10% decompression), lz4hc (+18% compression),
lzma (+12% compression, +17% decompression), and lz4 (+5% compression, +2% decompression) with
minor compression ratio trade-offs.
Detailed Results
Benchmark test was executed with the following command (5 iterations):
Requirements
nmandobjcopyUnsupported configurations automatically define
BENCH_REMOVE_AOCL. The integration can be disabled explicitly with:Integration
lz/aocl-compressiongit submodule, pinned to upstream tag5.3.aocl_llc_*API.AOCLalias for representative levels.AOCLLZB_usingobjcopyto prevent collisions with lzbench's native codec implementations.aocl_llc_*API symbols.README.md,BUILD.md, andCHANGELOG.