RAM Usage - Statistics

Here you can discuss every aspect of Debian. Note: not for support requests!

RAM Usage - Statistics

Postby makh » 2017-12-07 06:20

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
:)
HP Probook 440 G2: Arch, Debian Stable
Server: none
Past: Debian, Centos, Ubuntu, Opensuse
GUI: Openbox, Cinnamon
Chroot: Debian, Ubuntu, Fedora
VM: Devuan

Employing the best:
Arabic
Debian
Homeopathic

For new: Try Linux Mint
User avatar
makh
 
Posts: 565
Joined: 2011-10-09 09:16

Re: RAM Usage - Statistics

Postby Head_on_a_Stick » 2017-12-07 06:26

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.
"Only the mediocre are always at their best." — Jean Giraudoux
User avatar
Head_on_a_Stick
 
Posts: 6785
Joined: 2014-06-01 17:46
Location: /dev/chair

Re: RAM Usage - Statistics

Postby None1975 » 2017-12-07 13:44

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.
OS: Debian 9.2 / WM: Stumpwm
Debian Wiki | DontBreakDebian, Stumpwm
User avatar
None1975
 
Posts: 222
Joined: 2015-11-29 18:23
Location: Lithuania

Re: RAM Usage - Statistics

Postby n_hologram » 2017-12-07 16:33

openbox-session boots to ~100mb for me.

Also, antix (any DE) boots to less-than 100mb on my laptop.
bester69 wrote:There is nothing to install in linux, from time to time i go to google searching for something fresh to install in linux, but, there is nothing
n_hologram
 
Posts: 256
Joined: 2013-06-16 00:10

Re: RAM Usage - Statistics

Postby Head_on_a_Stick » 2017-12-07 16:52

Openbox + tint2 in OpenBSD is ~69MiB.

BSDLabs! :mrgreen:
Last edited by Head_on_a_Stick on 2017-12-07 16:54, edited 1 time in total.
"Only the mediocre are always at their best." — Jean Giraudoux
User avatar
Head_on_a_Stick
 
Posts: 6785
Joined: 2014-06-01 17:46
Location: /dev/chair

Re: RAM Usage - Statistics

Postby n_hologram » 2017-12-07 16:53

Head_on_a_Stick wrote:Openbox + tint2 in OpenBSD is ~69MiB:

Image

BSDLabs! :mrgreen:

I wish openbsd recognized my wifi device :(
bester69 wrote:There is nothing to install in linux, from time to time i go to google searching for something fresh to install in linux, but, there is nothing
n_hologram
 
Posts: 256
Joined: 2013-06-16 00:10

Re: RAM Usage - Statistics

Postby Head_on_a_Stick » 2017-12-07 16:55

^ Let me guess: Broadcom, perchance?

The OpenBSD developers are shocked that the Linux devs allow that code into their tree :twisted:
"Only the mediocre are always at their best." — Jean Giraudoux
User avatar
Head_on_a_Stick
 
Posts: 6785
Joined: 2014-06-01 17:46
Location: /dev/chair

Re: RAM Usage - Statistics

Postby n_hologram » 2017-12-07 19:01

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.
bester69 wrote:There is nothing to install in linux, from time to time i go to google searching for something fresh to install in linux, but, there is nothing
n_hologram
 
Posts: 256
Joined: 2013-06-16 00:10

Re: RAM Usage - Statistics

Postby makh » 2017-12-07 19:51

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
HP Probook 440 G2: Arch, Debian Stable
Server: none
Past: Debian, Centos, Ubuntu, Opensuse
GUI: Openbox, Cinnamon
Chroot: Debian, Ubuntu, Fedora
VM: Devuan

Employing the best:
Arabic
Debian
Homeopathic

For new: Try Linux Mint
User avatar
makh
 
Posts: 565
Joined: 2011-10-09 09:16

Re: RAM Usage - Statistics

Postby n_hologram » 2017-12-07 20:57

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.
bester69 wrote:There is nothing to install in linux, from time to time i go to google searching for something fresh to install in linux, but, there is nothing
n_hologram
 
Posts: 256
Joined: 2013-06-16 00:10

Re: RAM Usage - Statistics

Postby makh » 2017-12-07 22:29

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
:)
HP Probook 440 G2: Arch, Debian Stable
Server: none
Past: Debian, Centos, Ubuntu, Opensuse
GUI: Openbox, Cinnamon
Chroot: Debian, Ubuntu, Fedora
VM: Devuan

Employing the best:
Arabic
Debian
Homeopathic

For new: Try Linux Mint
User avatar
makh
 
Posts: 565
Joined: 2011-10-09 09:16


Return to General Discussion

Who is online

Users browsing this forum: makh and 2 guests

fashionable