48
submitted 6 months ago* (last edited 6 months ago) by vortexal@lemmy.ml to c/linux@lemmy.ml

I recently found out about a Linux Distro named Q4OS and I wanted to test out their claim that it only requires 256 MB of ram when using the trinity desktop environment. However, when I used the live cd in virt-manager with 256 MB or ram, it just kernel panicked at boot. So I then tried it with 512 MB of ram. In addition to some issues that are not present when you are using at least 1 GB of ram, such as "sudo apt update" causing the entire VM to become unresponsive, I noticed that it seemed to actually use anywhere between 290 MB to 370 MB of ram when the only thing running was the process viewer (which is htop).

Obviously, this is still very low for a modern Linux distro but I was wondering how accurate VMs are for testing ram usage.

And, yes I know that it would be pretty much useless on a PC that only had 256 MB of ram even if it did work. I'm actually checking the ram usage because there is a possibility that I may be using a very old computer of mine that only has 1 GB of ram at some point in the future. So I'm just testing it and eventually other distros out to to see which one I'm going to end up using (assuming I do actually end up even using that computer).

Edit: I just tried the 32-bit version in virt-manager and htop stated it was only using 232 MB of ram, which means that their claim was right and that I might have been using the wrong version.

Edit 2: I just tried installing the 64-bit version in virt-manager and htop stated that it was using about 350 MB of ram, so I don't know if installing it actually made a difference.

all 33 comments
sorted by: hot top controversial new old
[-] wildbus8979@sh.itjust.works 18 points 6 months ago

A VM should be an almost perfect representation. But what can vary slightly is the kernel drivers used for hardware.

[-] Bitrot@lemmy.sdf.org 18 points 6 months ago* (last edited 6 months ago)

The install cd is probably just running Debian installer, and way more lightweight.

“Use the install-cd media for older 64bit as well as 32bit machines.” - probably applies to such low memory.

Also you should probably use the 32-bit cd. 64-bit binaries use more memory, and realistically anyone building with an Athlon 64 (2003) or newer was probably also installing more memory than that.

[-] vortexal@lemmy.ml 4 points 6 months ago

RIght, I forgot that 64-bit binaries use more ram. And seeing that the 64-bit version does work fine with 1 GB of ram, in the off chance that there is something that should work but requires a 64-bit OS, I would still have the option to use the 64-bit version.

[-] possiblylinux127@lemmy.zip 13 points 6 months ago* (last edited 6 months ago)

You need more ram for the live system. You will have the same results with a physical CD

[-] LeFantome@programming.dev 8 points 6 months ago

I just installed this myself ( Trinity Desktop 32 bit ). What a weird and wonderful mix of old and new.

Running htop in konsole after install reported 245 MB of memory used. So, less than 256 MB confirmed.

[-] ReversalHatchery@beehaw.org 7 points 6 months ago

There could also be differences in which hardware drivers are loaded and operating. In a VM, the graphical environment probably uses software rendering, which is also expected to take away some system memory of you didn't pass through a gpu, but maybe that's accounted differently.

[-] BCsven@lemmy.ca 4 points 6 months ago

On a somewhat unrelated note: I have an old Iomega arm board running an old version of Debian and OpenMediaVault, it only has 256 MB RAM, and only uses about 30% of that while streaming DLNA audio. Linux can be super minimal

[-] LeFantome@programming.dev 1 points 6 months ago
[-] BCsven@lemmy.ca 2 points 6 months ago

Just Web GUI

[-] allywilson@lemmy.ml 4 points 6 months ago

To answer the question of discrepancies, yes. There are actually different types of virtualisation techniques that offer different levels of interaction between the VM and the hardware (negating the use of additional emulation and processing, etc.). Look up paravirtualisation.

[-] LeFantome@programming.dev 3 points 6 months ago* (last edited 6 months ago)

I am not familiar with Q4OS but I notice that it is available with both KDE Plasma and Trinity as well as in 32 bit and 64 bit additions.

The lightest weight version is most likely Trinity 32 bit. Is that what you were testing?

I may try it myself at some point. Looks interesting.

[-] vortexal@lemmy.ml 2 points 6 months ago

I was actually testing the trinity 64-bit version because it was the only version that had a live cd. I actually just downloaded the 32-bit version and I'm about to try it out.

[-] fine_sandy_bottom@discuss.tchncs.de -4 points 6 months ago

Are you conflating a claim that the system requires less than 256mb or ram with a claim that it can run on hardware with only 256mb of ram?

Maybe those two claims are not the same?

[-] vortexal@lemmy.ml 3 points 6 months ago

On their website, it states that the minimum requirements for the OS are 256 MB, that's what I was going off of. I even mentioned in my post that even if it was installable on a computer with 256 MB of ram that it would be pretty much useless.

Also, I just tested the 32-bit version and, like what another user stated, it does use less than 256 MB of ram, which means that their claim is right.

[-] superb@lemmy.blahaj.zone 3 points 6 months ago

In what situation would those two not be the same?

this post was submitted on 23 Apr 2024
48 points (98.0% liked)

Linux

48186 readers
1376 users here now

From Wikipedia, the free encyclopedia

Linux is a family of open source Unix-like operating systems based on the Linux kernel, an operating system kernel first released on September 17, 1991 by Linus Torvalds. Linux is typically packaged in a Linux distribution (or distro for short).

Distributions include the Linux kernel and supporting system software and libraries, many of which are provided by the GNU Project. Many Linux distributions use the word "Linux" in their name, but the Free Software Foundation uses the name GNU/Linux to emphasize the importance of GNU software, causing some controversy.

Rules

Related Communities

Community icon by Alpár-Etele Méder, licensed under CC BY 3.0

founded 5 years ago
MODERATORS