wiak wrote: Sun Feb 26, 2023 3:53 pm
stevie pup wrote: Sun Feb 26, 2023 2:56 pm
Just asking out of sheer curiosity, and the fact I'm somewhat puzzled by it.
I expect lots of Ubuntu-included apps will be huge snaps. I don't use snaps in KLU-jam though can be installed. I avoid such bloat.
dimkr wrote: Sun Feb 26, 2023 4:45 pm
Decompress every Puppy SFS and you'll see that size is not very different, especially if you have a modern browser and a modern kernel.
Compression works, what can I say. It trades size on disk for CPU and RAM consumption. Does that make Puppy (or any other distro that uses compressed images) "lightweight"?
mikewalsh wrote: Sun Feb 26, 2023 5:11 pm
@dimkr :-
You make a good point, mate. I've always maintained that this community has, in the past, been obsessed over ISO size.....forgetting that when unpacked, this invariably balloons by between 3 and 400%. Puppies have never really been quite as small as some would have you believe.....
Well let's see what might actually be true, instead of us all talking via our imaginations, so we can answer the OP with some proper technical analysis. Always a better idea I think than to rattle on with what can otherwise turn out to be nonsense:
I happen to have a copy of latest ubuntu-22.04.2-desktop-amd64.iso
I will compare it with KLU-jamFE.iso, which is based on, and fully compatitble with, the same ubuntu release. KLA-jamFE also contains a full copy of most recent Firefox browser.
Without more ado:
Both isos contain their filesystem in the form of squashed filesystems.
Here are the size comparisons overall:
Code: Select all
Ubuntu iso : 4.6 GiB
KLA-jamFE iso: 611 MiB (i.e. less than one seventh the download size)
Ubuntu internal sfs file : 2.5 GiB
KLA-jamFE internal sfs files: 583 MiB
We wouldn't normally uncompress KLA-jamFE sfs files, but we can actually do that with a FirstRib-based distro and thus use less CPU and get faster speed of operation (as well as 'pseudo full install' advantages), so to complete the comparison for uncompressed use
Code: Select all
Ubuntu main sfs uncompressed : 7.14 GiB
KLU-jamFE main sfs uncompressed: 2.04 GiB (so still under 30% of the full Ubuntu size)
You may wonder why the uncompressed sfs figure isn't 'quite' so bad (it's still a huge difference) for official Ubuntu or the iso comparison itself. One reason is that KLU-jamFE does not contain doc files, Ubuntu full does - these types of file compress very well indeed, but are not in any case important to final distro running efficiency.
Obviously, Ubuntu official iso contains far more packages.
However, one major factor is, in fact, the included snap packages in that official iso.
The installed snaps have a total size of: 1.7GiB
The official Ubuntu iso without these snaps might thus have size closer to: 4.6 GiB - 1.7 GiB = 2.9GiB, with is still considerably more than KLA-jamFE iso size of 611 MiB!
Furthermore, some of the applications that are included as snaps would still have to be installed as normal large apps, such as Firefox, so even without snaps final Ubuntu iso would be larger than 2.9 GiB.
---------------------------------------------------------------------------
SUMMARY
The claim has been made that size doesn't matter. In fact I have been generally arguing that point for years. If it is true then we are probably as well to simply use the bigger more fully equipped distros. Frugal install flexibility/functionality missing? Well, old weedogit showed that most all distros can be frugal installed using it and thus get all the same frugal install facilitiies and flexible save persistence mechanisms as the likes of KLU-jamFE anyway.
However, I believe there remains, nevertheless, a point still in making small, less full-blown versions of distros. Amongst these reasons are:
1. If anyone still wants to run 'from RAM', meaning after copying the sfs files into RAM, then of course the smaller the sfs root filesystem files, the less RAM gets wasted by that copied into RAM versions. However, personally I never use copy2ram and think it is a bad default.
2. Some like to use one or a number of Virtual Machines via the likes of QEMU. These can take up a lot of RAM, so the smaller the distro iso, generally the less RAM needed overall.
3. Many of the applications in full blown official Ubuntu, are probably never used by most people. Better therefore not to bloat the iso with them. Keeping it as small as possible conveniently reduces download size and time and Internet congestion. The trimmed down fully-compatible Ubuntu-based distros such as KLU-jamFE can simply install any or all of the other junk, if it is later required by anyone, via its fully-working without issues apt/dpkg official package manager.
4. Hard disk storage size can become an issue if a person likes to have several Linux distros stored on their system at the same time. You would soon use up your storage space with many full upstream distro installations.
5. A distro assembled in smaller size is arguably easier to find ones way around and understand in a learning environment, and with good frugal install facilities is excellent for trying new ideas (okay, so weedogit made that last benefit available to big distros too...).