WavPack Lossless Audio Compression Format Adds Multi-Threaded Encode/Decode

Written by Michael Larabel in Multimedia on 2 March 2024 at 03:00 AM EST. 12 Comments
MULTIMEDIA
The WavPack open-source lossless wavefile compressor is up to version 5.7 after more than one year in development. Making this new release quite notable is adding multi-threaded encode and decode support to the WavPack library and its CLI tools.

The headline feature of WavPack 5.7 is now supporting multi-threading within the WavPack library for both encode and decode. The release announement notes this can yield "6X or more" faster encode/decode for today's multi-threaded systems... Indeed the multi-threading has been working out well in some of my preliminary tests. Testing on the same WAV input file and comparing the encode performance, single-threaded encode was ~23 seconds and with multi-threaded encode down to ~3 seconds on an AMD Ryzen 9 7950X.

One caveat though is that the WavPack threading currently only scales up to 12 threads being supported. In any event these gains are a huge speed-up for any relatively recent multi-core systems. Great seeing more multi-threaded encode/decode happening in the audio space.

This WavPack multi-threading relies on pthreads for POSIX platforms and native threads under Windows. WavPack 5.7 also now uses MinGW builds for all their Windows binaries due to delivering better performance than the MSVC-based builds, surprisingly.

Downloads and more details on the WavPack 5.7 release via GitHub. I've also begun running various WavPack benchmarks with the multi-threading enabled across various CPUs.
Related News
About The Author
Michael Larabel

Michael Larabel is the principal author of Phoronix.com and founded the site in 2004 with a focus on enriching the Linux hardware experience. Michael has written more than 20,000 articles covering the state of Linux hardware support, Linux performance, graphics drivers, and other topics. Michael is also the lead developer of the Phoronix Test Suite, Phoromatic, and OpenBenchmarking.org automated benchmarking software. He can be followed via Twitter, LinkedIn, or contacted via MichaelLarabel.com.

Popular News This Week