lz4 compression for mx

Message
Author
User avatar
anticapitalista
Developer
Posts: 4165
Joined: Sat Jul 15, 2006 10:40 am

Re: lz4 compression for mx

#21 Post by anticapitalista »

How about decompression speed for lz4?
So when you boot the lz4 compressed iso, how fast does it boot? Any difference? Does it matter if user has an old(er) box, no ssd for example?

Seems that lz4 may well be useful for snapshots and persistence.

stsoh - please tell us more about live-usb with lz4.

bled - thanks for the info - very useful in the end once we realised you were not being trollish.
anticapitalista
Reg. linux user #395339.

Philosophers have interpreted the world in many ways; the point is to change it.

antiX with runit - lean and mean.
https://antixlinux.com

User avatar
Richard
Posts: 1577
Joined: Fri Dec 12, 2008 10:31 am

Re: lz4 compression for mx

#22 Post by Richard »

Speaker's of English as a second or third language do not always understand the nuances of what they say, and how it might be interpreted.

Good learning experience for all.
Thinkpad T430 & Dell Latitude E7450, both with MX-21.3.1
kernal 5.10.0-26-amd64 x86_64; Xfce-4.18.0; 8 GB RAM
Intel Core i5-3380M, Graphics, Audio, Video; & SSDs.

User avatar
stsoh
Posts: 183
Joined: Sun Aug 20, 2017 10:11 am

Re: lz4 compression for mx

#23 Post by stsoh »

anticapitalista wrote:...
stsoh - please tell us more about live-usb with lz4...
i'm bad at reviewing stuffs but i can say it is on par with installation on ssd.
btwn xz and lz4, my preference will be lz4.
i encourage all the test it, so u will know how good it is yourself.
there isn't any like glitch or halt as opening apps or watching video on utube.
i use MX live USB maker.
MX-17.1_x64 Horizon, G41M-P33 Combo (MS-7592), Pentium E5400 (2706 MHz), 8Gb RAM (984 MT/s),
Intel 4 Series Integrated Graphics, Realtek PCIe Fast RTL8101/2/6E, PCI Gigabit RTL8169 Ethernets.
Accepted Linux when i found MX-Linux in 2016.

User avatar
richb
Administrator
Posts: 10342
Joined: Wed Jul 12, 2006 2:17 pm

Re: lz4 compression for mx

#24 Post by richb »

Decidedly faster making a snapshot. About 2 plus minutes lz4 vs 7 minutes xz. About a 3 to 1 ratio as others have reported. File sizes were 3.2 GiB for xz and 5 GiB for lz4.
I have not installed the resulting iso to test install time.
Forum Rules
Guide - How to Ask for Help

richb Administrator
System: MX 23 KDE
AMD A8 7600 FM2+ CPU R7 Graphics, 16 GIG Mem. Three Samsung EVO SSD's 250 GB

User avatar
Eadwine Rose
Administrator
Posts: 11956
Joined: Wed Jul 12, 2006 2:10 am

Re: lz4 compression for mx

#25 Post by Eadwine Rose »

I would say it is only logical that it is a faster tool if it compresses less. More efficient compressing requires more time.

Personally.. compression should be proper compression. Not a half half solution that still leaves a big file. Might as well then copy it straight without compressing things... JMHO.
MX-23.2_x64 July 31 2023 * 6.1.0-20-amd64 ext4 Xfce 4.18.1 * 8core AMD Ryzen 7 2700
Asus TUF B450-Plus Gaming UEFI * Asus GTX 1050 Ti Nvidia 525.147.05 * 2x16Gb DDR4 2666 Kingston HyperX Predator
Samsung 860EVO * Samsung S24D330 & P2250 * HP Envy 5030

User avatar
richb
Administrator
Posts: 10342
Joined: Wed Jul 12, 2006 2:17 pm

Re: lz4 compression for mx

#26 Post by richb »

Eadwine Rose wrote:I would say it is only logical that it is a faster tool if it compresses less. More efficient compressing requires more time.

Personally.. compression should be proper compression. Not a half half solution that still leaves a big file. Might as well then copy it straight without compressing things... JMHO.
Well a 3.5 GiB to 5.0 GiB seems a small price to pay for the speed. An uncompressed system would be significantly larger.
Forum Rules
Guide - How to Ask for Help

richb Administrator
System: MX 23 KDE
AMD A8 7600 FM2+ CPU R7 Graphics, 16 GIG Mem. Three Samsung EVO SSD's 250 GB

User avatar
Adrian
Developer
Posts: 8266
Joined: Wed Jul 12, 2006 1:42 am

Re: lz4 compression for mx

#27 Post by Adrian »

Might as well then copy it straight without compressing things... JMHO.
It does compress, but not to the smallest possible even the one that we use by default on release ISO is not compressing to the smallest possible size, there are always tradeoffs. What's funny is that it looks faster than a simple copy, when you install MX it seems to take longer than creating an image that's what surprised me (the copy part of installation didn't take only one minute on this machine)

User avatar
Eadwine Rose
Administrator
Posts: 11956
Joined: Wed Jul 12, 2006 2:10 am

Re: lz4 compression for mx

#28 Post by Eadwine Rose »

Just wondering.. bit of a morbid bit of thinking here, but it has happened to me IRL the other way around, so... it is not unrealistic.


Suppose you compress the files.. pictures of yourself, your family, whatever... things you want to keep. Burn them to a dvd, usb, whatever rocks your boat. And then you die. Your house gets cleared out, hardware sold off, stuff put in boxes, storage.

And then a family member gets their hands on that disk, drive, whatever it was.. on there is written "photos 2018", and of course they want to have those!!

Can someone who uses windows still EASILY (remember we are talking basic users here) get to these files?

Compression is nice for software purposes, but there is the reason that I choose zip over other formats for some things.
MX-23.2_x64 July 31 2023 * 6.1.0-20-amd64 ext4 Xfce 4.18.1 * 8core AMD Ryzen 7 2700
Asus TUF B450-Plus Gaming UEFI * Asus GTX 1050 Ti Nvidia 525.147.05 * 2x16Gb DDR4 2666 Kingston HyperX Predator
Samsung 860EVO * Samsung S24D330 & P2250 * HP Envy 5030

User avatar
richb
Administrator
Posts: 10342
Joined: Wed Jul 12, 2006 2:17 pm

Re: lz4 compression for mx

#29 Post by richb »

I would like all traces of me expunged when I die like I was not even here, :bagoverhead: :happy:

I know, off topic.
Forum Rules
Guide - How to Ask for Help

richb Administrator
System: MX 23 KDE
AMD A8 7600 FM2+ CPU R7 Graphics, 16 GIG Mem. Three Samsung EVO SSD's 250 GB

User avatar
Eadwine Rose
Administrator
Posts: 11956
Joined: Wed Jul 12, 2006 2:10 am

Re: lz4 compression for mx

#30 Post by Eadwine Rose »

First you'll have to make enemies out of everyone then ;)
MX-23.2_x64 July 31 2023 * 6.1.0-20-amd64 ext4 Xfce 4.18.1 * 8core AMD Ryzen 7 2700
Asus TUF B450-Plus Gaming UEFI * Asus GTX 1050 Ti Nvidia 525.147.05 * 2x16Gb DDR4 2666 Kingston HyperX Predator
Samsung 860EVO * Samsung S24D330 & P2250 * HP Envy 5030

Post Reply

Return to “General”