Tiny Core Base > Corepure64
squashfs zstd vs lz4
Vaguiner:
I emailed an update to squashfs but thought it more appropriate to open up the default compression used for discussion.
The content of the email I sent to tcesubmit@gmail.com I will leave here:
The reason for this topic was because, right after sending the email, I tested lz4 (which was disabled in the squashfs present in the tinycore repository, and I didn't even know lz4) and the result was as surprising as zstd.
While zstd generates the very small tcz file it increases the memory usage considerably, chromium made the system memory usage at almost 420mb while lz4 left the system memory usage at 370mb. chromium was not running, simply mounted on the system! the difference in favor of zstd was that while tcz lz4 was at 180mb, tcz zstd was at approximately 108mb.
Vaguiner:
package compression/decompression is instantaneous with lz4.
lz4 was, confusingly, faster than using mksquashfs with -noI, -noF, -noD (disabled compression) (I assume it was a disk deficiency, as uncompressed chromium was nearly 800mb)
Vaguiner:
I see no good reason to continue using gzip with these two excellent options available.
the question here is: exchange some mbs from the tinycore server for some free mbs in the client's memory or make the client's memory usage higher in exchange for saving some mbs from the tinycore server
i uploaded the update which switches the default to zstd but honestly after testing lz4 i prefer lz4.
Vaguiner:
sorry, I'm having to split the message because the server refuses to accept long messages.
Juanito:
If you search these forums, there was a lengthy discussion on this subject
Navigation
[0] Message Index
[#] Next page
Go to full version