|
Thanks for the Rust9x link, it's an interesting project, but I won't go that way. ROFZ is aimed at current CPUs and current methods: AVX2, many threads, context mixing and small neural networks (the literal parameter model, the texture classifier, pre-trained model states), and that's where the development goes. On a pre-Core CPU it would be far too heavy anyway. So an old single- or dual-core machine would take ages. So there's no Win7 or legacy-CPU build planned for now.
On memory for decompression, two parts:
- the segment: the decoder keeps the whole segment in RAM (by default up to 3 GB; that's also how far back matches can reach, like a dictionary). With "d -m" it gets a memory limit, and a segment that doesn't fit goes to a temporary file mapped into memory, so it still decompresses, just slower.
- the models, per decoding thread. From my sample runs (64 MB samples of game data, 16 threads):
-l1 … -l4: about 4–11 MB per thread (60–170 MB in total on 16 threads)
-l5 … -l8: mostly 5–45 MB per thread; raw image/structure data with the full model needs more, up to about 160 MB per thread in the worst case I measured. Fewer threads (-t) means proportionally less model memory.
So under limits similar to LOLZ, ROFZ stays below that on every level. The compressor prints the expected RAM for decompression after each run.
|