Page 1 of 1

RAM Usage - Statistics

PostPosted: 2017-12-07 06:20
by makh
Hi

Just recalling the old days... probably around 2007:
Gnome would run at average 110MB RAM without any application, on login, if I am not wrong.


I just checked out the smallest OS, probably thats KolibriOS: https://kolibrios.org/en/
Demanding only minimalistic 8MB RAM for runtime. But I tested on virtualbox with 128MB RAM.

Interesting to note, while looking at my Openbox DE, and then ... here:
https://www.reddit.com/r/linux/comments/5l39tz/linux_distros_ram_consumption_comparison_updated/?st=jaw493ra&sh=c52c0aef

My Debian 9 Openbox Values:
========================================
Code: Select all
free -h
              total        used        free      shared  buff/cache   available
Mem:           3.7G        258M        3.1G         31M        392M        3.2G
Swap:          1.8G          0B        1.8G

conky gives:
356MiB

top gives:
KiB Mem :  3919604 total,  3011820 free,   323916 used,   583868 buff/cache


My Arch kernel 4.13 Openbox Values:
========================================
Code: Select all
free -h
              total        used        free      shared  buff/cache   available
Mem:           3.7G        275M        3.0G         44M        432M        3.2G
Swap:          1.8G          0B        1.8G


conky gives:
324 MiB

top gives:
GiB Mem : 13.9/3.738


I would like to know about:
1. why too much high ram consumed now, compared to Gnome2 was perhaps.
2. Debian Openbox consumes: 200MB+, approx on login.
3. Puppy Linux demands, the current version: 1gb ram
4. Except for the web pages, the rest of my work is same, but this ram consumption is not understandable.

:idea: If I am using openbox, then the system startup to openbox, the ram consumption via conky should never exceed 100MB. I dont feel much difference comparing to xfce & cinnamon, atleast, personally. Openbox should be more sleaker and faster.

Thankyou
:)

Re: RAM Usage - Statistics

PostPosted: 2017-12-07 06:26
by Head_on_a_Stick
makh wrote:I dont feel much difference comparing to xfce & cinnamon, atleast, personally. Openbox should be more sleaker and faster

With any reasonably modern hardware there will be little perceptible difference between bare openbox and a light DE like Cinnamon or XFCE, the main advantage of OB is the transparency of operation and the fact that fewer running components make it less likely to suffer bugs.

If you have a half decent graphics card you may actually find that GNOME runs smoother and quicker than a simple openbox-based desktop because of the hardware acceleration available in the former environment.

EDIT: I like to use https://github.com/pixelb/ps_mem to break down memory usage further.

Re: RAM Usage - Statistics

PostPosted: 2017-12-07 13:44
by None1975
makh wrote:If I am using openbox, then the system startup to openbox, the ram consumption via conky should never exceed 100MB. Thankyou :)

Personally, i use Ratpoison, no login manager, just startx and system, on cold boot, uses 90MB RAM (my system x64 bit). Syste fast as hell.

Re: RAM Usage - Statistics

PostPosted: 2017-12-07 16:33
by n_hologram
openbox-session boots to ~100mb for me.

Also, antix (any DE) boots to less-than 100mb on my laptop.

Re: RAM Usage - Statistics

PostPosted: 2017-12-07 16:52
by Head_on_a_Stick
Openbox + tint2 in OpenBSD is ~69MiB.

BSDLabs! :mrgreen:

Re: RAM Usage - Statistics

PostPosted: 2017-12-07 16:53
by n_hologram
Head_on_a_Stick wrote:Openbox + tint2 in OpenBSD is ~69MiB:

Image

BSDLabs! :mrgreen:

I wish openbsd recognized my wifi device :(

Re: RAM Usage - Statistics

PostPosted: 2017-12-07 16:55
by Head_on_a_Stick
^ Let me guess: Broadcom, perchance?

The OpenBSD developers are shocked that the Linux devs allow that code into their tree :twisted:

Re: RAM Usage - Statistics

PostPosted: 2017-12-07 19:01
by n_hologram
Nah, it's actually Atheros. I think I may have missed a step or a module may have been improperly loaded -- thanks for (unintentionally) reminding me about this; I think I'll check it out tonight.

Re: RAM Usage - Statistics

PostPosted: 2017-12-07 19:51
by makh
Hi

@Head_on_a_Stick: I dont have separate GPU, but I will check this, if I get to arrange a nice desktop for me, in coming days. :)

@ None1975, n_hologram :
    1. If possible, kindly share your dpkg -l, leaving the libraries.
    2. Do you use direct binaries, flatpak, or out of repo softwares, or anything in your /opt ?
This would be very interesting to see. :idea:

Thankyou

Re: RAM Usage - Statistics

PostPosted: 2017-12-07 20:57
by n_hologram
makh, just perform a minimal net install, then install xorg and openbox, and when it reboots and you log in, open an xterm and check your memory ("free -h"). Build your system up from there. Also, if you're not confident about this, try it either on a separate partition or a VM.

Re: RAM Usage - Statistics

PostPosted: 2017-12-07 22:29
by makh
n_hologram wrote:...just perform a minimal net install...

I have a minimal system in VM, already I have put into test:
Code: Select all
Top test:

Stretch/ Debian 9, is currently running a minimal Openbox at only about 89MB, with only 97 tasks.

It is currently without required packages like; office, browser, or others I may need,  etc.

Sorry ... I asked for mere comparison only... Not to disturb you, in any way.
Thankyou
:)