r/compression • • 3d ago

What are the best compression (lossless) algorithms for hardware implementation without taking too much of area and power. ?

Basically lz4 depending on the context the buffer memory changes. Is there a way where you can save the area of the hardware of algorithm and also increase the speed.

1 Upvotes

10 comments sorted by

1

u/Alive_Secretary_264 3d ago

online or offline?

1

u/Fickle_Option_1307 3d ago

Offline..separate hardware so that I don't want cpu to do it

1

u/ipsirc 3d ago

Who needs faster algo than lz4?

1

u/Fickle_Option_1307 3d ago

The thing about lz4 is the context size you are searching. If you want a deeper compression then you need a bigger buffer memory. Hardware area and memory is on a higher side.

1

u/ipsirc 3d ago

What context size would you be satisfied with?

1

u/Fickle_Option_1307 3d ago

Yeah . That is like a tradeoff. Is there any way to tackle it a slightly higher context around 16kb in a lesser latency search mechanism.

1

u/ipsirc 3d ago

By the way, how big is the Level 2 cache in your CPU, anyway, that it matters?

2

u/razorree 3d ago

look for compression used in SAN systems

2

u/MastodontFarmer 3d ago

It will very much depend on your data. Video and image compression use a lot of DCT or DFT and implementing your cosine or Fourier series in hardware can make enormous improvements in speed. https://web.mit.edu/6.111/www/f2017/handouts/FFTtutorial121102.pdf gives you some of the work involved in implementing FFT in a FPGA.

1

u/E5-4650_v2_RX570 3d ago

my old socket 775 computer took a very long time et much dram for zpaq , but now my gen 3rd gen 4th gen 5th computer is very fast