Intel Makes Major Zlib Performance Improvements
Intel's Open-Source Technology Center has prepared a set of thirteen patches against Zlib to sharply improve the deflate performance.
Jim Kukunas of Intel OTC published the set of 13 patches on Monday that include medium and quick deflate strategies, a faster hash function with SSE 4.2 support, PCLMULQDQ-optimized CRC folding, SSE2 hash shifting, and other changes/tuning.
In terms of the deflate performance changes for Zlib with these patches, Jim noted that for an Intel Core i5 2530M (Sandy Bridge) system, level one compression is 71% faster with a sacrifice of about 30% compression, level 6 is about 50% faster with no real change in compression, and level 9 is about 22% faster with no change at all in the compression.
More details on the Zlib DEFLATE performance improvements that will hopefully be merged soon into the data compression library can be found via the Zlib mailing list.
Jim Kukunas of Intel OTC published the set of 13 patches on Monday that include medium and quick deflate strategies, a faster hash function with SSE 4.2 support, PCLMULQDQ-optimized CRC folding, SSE2 hash shifting, and other changes/tuning.
In terms of the deflate performance changes for Zlib with these patches, Jim noted that for an Intel Core i5 2530M (Sandy Bridge) system, level one compression is 71% faster with a sacrifice of about 30% compression, level 6 is about 50% faster with no real change in compression, and level 9 is about 22% faster with no change at all in the compression.
More details on the Zlib DEFLATE performance improvements that will hopefully be merged soon into the data compression library can be found via the Zlib mailing list.
7 Comments