A Walk-Through of a Semidynamic Compression Code Sample

Compare semidymanic compression algorithm performance in the Intel® Intelligent Storage Acceleration Library to zlib.

Hi. I'm Praveen from Intel. In this video, we're going to walk you through the Intel® Intelligent Storage Acceleration Library semidynamic compression code sample.

The goal of the code sample is to help you incorporate Intel® ISA-L semidynamic compression and optimize decompression algorithms into your storage application. It describes prerequisites for using Intel ISA-L. And the code sample is fully downloadable with full build instructions.

Let's walk through this code sample more in depth. The code sample is a compression and decompression tool that can be used to compare the ratio and performance of Intel ISA-L semidynamic compression algorithm on a public data set with a standard DEFLATE implementation zlib.

The program output displays a column for the compression library either for ISA-L [sic] or zlib. The table shows the compression ratio, which is the compression file [INAUDIBLE] file and the system and the processor time that it takes to perform the operation.

For decompression, it just measures the elapsed time for the decompression operation. Both results for Intel ISA-L, results of static and semidynamic compression and decompression, are displayed in this table.

The notable thing in this table is that the Intel ISA-L has the ability to compress and decompress faster than zlib with only a small sacrifice in the compression ratio. This capability is well suited for high throughput storage implications.

Testing shows that usage of semidynamic compression and decompression is only slightly slower than using a static table and almost as space efficient as algorithms that use dynamic tables. Output data shows there's a balancing act between processing time, or CPU time, and the disk space. It can assist you in determining which compression and decompression algorithm best suit your requirements. Then it will help you quickly adapt your application to take advantage of the Intel® architecture with the Intel ISA-L.

Finally, this example demonstrates how we can use the Intel ISA-L static and semidynamic compression and decompression features into your storage application. Thanks for watching. To learn more about ISA-L [sic], check out the links. And make sure to watch the rest of this video playlist on Intel ISA-L. Don't forget to like this video and subscribe.