" compressed/decompressed (default: 10000)\n"
" --operation [comp/decomp/comp_and_decomp]: perform test on\n"
" compression, decompression or both operations\n"
- " --huffman-enc [fixed/default]: Huffman encoding\n"
- " (default: fixed)\n"
+ " --huffman-enc [fixed/dynamic/default]: Huffman encoding\n"
+ " (default: dynamic)\n"
" --compress-level N: compression level, which could be a single value, list or range\n"
" (default: range between 1 and 9)\n"
" --window-sz N: base two log value of compression window size\n"
{
"fixed",
RTE_COMP_HUFFMAN_FIXED
+ },
+ {
+ "dynamic",
+ RTE_COMP_HUFFMAN_DYNAMIC
}
};
test_data->pool_sz = 8192;
test_data->max_sgl_segs = 16;
test_data->num_iter = 10000;
- test_data->huffman_enc = RTE_COMP_HUFFMAN_FIXED;
+ test_data->huffman_enc = RTE_COMP_HUFFMAN_DYNAMIC;
test_data->test_op = COMPRESS_DECOMPRESS;
test_data->window_sz = -1;
test_data->level.min = 1;
* **Added a compression performance test tool.**
Added a new performance test tool to test the compressdev PMD. The tool tests
- compression ratio and compression throughput. Dynamic compression test is not
- supported yet.
+ compression ratio and compression throughput.
Removed Items
Limitations
~~~~~~~~~~~
-* Stateful operation and dynamic compression are not supported in this version.
+* Stateful operation is not supported in this version.
Command line options
``--operation [comp/decomp/comp_and_decomp]``: perform test on compression, decompression or both operations
- ``--huffman-enc [fixed/default]``: Huffman encoding (default: fixed)
+ ``--huffman-enc [fixed/dynamic/default]``: Huffman encoding (default: dynamic)
``--compress-level N``: compression level, which could be a single value, list or range (default: range between 1 and 9)