inikep / lzbench

lzbench is an in-memory benchmark of open-source LZ77/LZSS/LZMA compressors
883 stars 180 forks source link

Use disk option(s) #75

Open mirh opened 4 years ago

mirh commented 4 years ago

I get why everything happens in memory, but sometimes you just cannot fit your whole test file into it. Or maybe you can, but it's the combined size with the RAM requirements of the most "hungry compressors" to make it a bad day for you. Or even, you could, but the "clue" you are looking for happens below the bandwidth threshold of your non volatile memory.

So, putting aside that it I/O bottlenecks could be detected and flagged (I suppose it may also be true for RAM in some crazy situation?), could we get some kind of knob to control the "disk type"? I see three possible levels for this:

inikep commented 4 years ago

Please try -m option which splits large files into parts. You can also compress a large file in blocks/chunks with -b option.