
Originally Posted by
frede_sch
I'm trying to simple ZPAC some file with: ./zpaq -m4 c a.zpaq file in my i7 linux 64, shouldn't it use 8 threads? It's only using one CPU and 3.8% of my 6GB of RAM.
Depending on the file size, you have to adjust the block size. For example, for a 32 MB file, a block size of 32 MB / 8 = 4 MB will result in work for 8 threads:
Code:
./zpaq -m4 -b4 c a.zpaq file
Default is 16 MB blocks for -m1 and -m2, whole file 1 block for -m3 and -m4. Also note that smaller blocks will result in slightly worse compression, so it's a tradeoff between speed and compression ratio.