devcurmudgeon / ybd

yaml build deploy
GNU General Public License v2.0
6 stars 15 forks source link

Jjardon/xz #217

Open jjardon opened 8 years ago

jjardon commented 8 years ago

In my testing, this makes the linux kernel cache file decrease from 20MB to 15MB

Still, I have used the maximum compression (9), wich the documentation warns about, so maybe more testing about timing/memory is needed

Closes #216

devcurmudgeon commented 8 years ago

Discussing this with @rjek, he has suggested pbzip2, falling back to bzip2... i'll look into that

rjek commented 8 years ago

For clarification; the reason I suggested bzip2 (and using pbzip2 if it is available) is because it is more widely found and it is much much faster. If size were there only metric, I would agree LZMA is probably the best choice; but build time is also a consideration. pbzip2 scales almost linearly with number of CPU cores.