Skip to content

Latest commit

 

History

History
27 lines (19 loc) · 1.06 KB

File metadata and controls

27 lines (19 loc) · 1.06 KB

Powerstrip is an integer compression algorithm designed for energy meter data, particularly for device-level or circuit-level data. It provides high compression ratios, rapid compression and decompression speeds, and nearly zero lossiness.

See the Powerstrip paper for details, which appeared at ACM e-Energy 2020.

Quick-start for an out-of-source build:

git clone --recursive https://github.com/joliv/powerstrip
mkdir build # out-of-source build
cd build
cmake -DCMAKE_BUILD_TYPE=Release ..
make

This results in the two binaries: build/pstrip and build/unpstrip, as well as the library build/libpowerstrip.*.

Currently, we only compress binary files of unsigned 16-bit integers:

# Compress input.bin to output.pstrip
pstrip input.bin output.pstrip

# Decompress output.pstrip back to roundtripped.bin
unpstrip output.pstrip roundtripped.bin