Intel® ISA-L Semi-Dynamic Compression Code Sample Walk Through

  • Visão geral
  • Recursos
  • Transcrito

The performance of Intel® Intelligent Storage Acceleration Library (Intel® ISA-L) compression and decompression algorithms is illustrated by a code sample that contrasts Intel ISA-L functionality with that of zlib*. The downloadable code sample is a tool that can be used to compare the performance of Intel ISA-L’s semi-dynamic compression algorithm on a public data set with the standard DEFLATE implementation, zlib*.

Code sample:  Intel® ISA-L: Semi-Dynamic Compression Algorithms

Watch the rest of the videos in this series:

What is Intel® ISA-L? 
Intel® ISA-L Compression Algorithms
- Intel® ISA-L Semi-Dynamic Compression Code Sample Walk Through
Intel® ISA-L Cryptographic Hashing
Intel® ISA-L: Cryptographic Hashing Code Sample Overview
Intel® ISA-L Erasure Coding
Intel® ISA-L Erasure Coding Sample Application Overview

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

The goal of the code sample is to help you incorporate Intel ISA-L semi-dynamic 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 semi-dynamic 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 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 semi-dynamic 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 semi-dynamic 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 semi-dynamic compression and decompression features into your storage application. Thanks for watching. To learn more about ISA-L, 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.