Page 1 of 2

Re: Debian ram usage

Posted: 2017-07-06 07:15
by Nili
Debian 8.8

Image

Tweaked, cleaned, striped...

BOOT 8.8sec (Not on a SSD)

# X Console=20MB RAM

# Desktop Startup...

startx + herbstluftwm + dzen2 + conky-cli=26.9MB (1%)

I didn't anything seriously...
If i had guts to change bash for mksh, debian kernel for liquorix kernel, systemd for openrc i'm sure i can sit down to 10 / 15MB RAM.

I have seen some interesting untouched wonders from LinuxBBQ gurus, YES 10MB startups.
However IMO, Debian is a great toy definitely.

Regards!

Re: Debian ram usage

Posted: 2017-07-10 17:26
by silvaf6
I just realized gnome system monitor ram usage doesn't seem accurate. "free -m" shows much less ram being used.
Atm gnome system monitor shows 1,7GB while free -m show 1,3GB.

Can you guys compare your ram usage between this two tools, so I know I'm not crazy? Thanks :D

EDIT: htop also shows 1,3GB.

Re: Debian ram usage

Posted: 2017-07-10 18:17
by Lysander
silvaf6 wrote:I just realized gnome system monitor ram usage doesn't seem accurate. "free -m" shows much less ram being used.
Atm gnome system monitor shows 1,7GB while free -m show 1,3GB.

Can you guys compare your ram usage between this two tools, so I know I'm not crazy? Thanks :D

EDIT: htop also shows 1,3GB.
gsm shows roughly 250MB more usage

Image

Re: Debian ram usage

Posted: 2017-07-10 18:33
by silvaf6
I'm not crazy then. I guess free -m should be more accurate

Re: Debian ram usage

Posted: 2017-07-10 18:44
by pylkko
if you look at the above screenshot, you will notice that if you subtract "available" from "total" (in the output of free) you will get exactly the 901 MB claimed by gnome-system-monitor.
man of free wrote: available
Estimation of how much memory is available for starting new
applications, without swapping. Unlike the data provided by the
cache or free fields, this field takes into account page cache
and also that not all reclaimable memory slabs will be reclaimed
due to items being in use (MemAvailable in /proc/meminfo, availā€
able on kernels 3.14, emulated on kernels 2.6.27+, otherwise the
same as free)

Re: Debian ram usage

Posted: 2017-07-10 20:22
by ruffwoof
silvaf6 wrote:Heloo everyone.

I just saw this post: https://www.reddit.com/r/linux/comments ... n_updated/. The user says his debian 9 xfce has a memory consumption of 345.43mb on day to day use, however on a clean install I got around 600-800mb minimum usage.

So, I was wandering how much memory is your Debian is consuming :)
... or wasting. Free = unused = wasted. Better to have free filled with cached stuff, so more quickly to hand if called upon, whilst quickly freed (deleted) if something else needs the space.

Re: Debian ram usage

Posted: 2017-07-11 06:44
by silvaf6
ruffwoof wrote:
silvaf6 wrote:Heloo everyone.

I just saw this post: https://www.reddit.com/r/linux/comments ... n_updated/. The user says his debian 9 xfce has a memory consumption of 345.43mb on day to day use, however on a clean install I got around 600-800mb minimum usage.

So, I was wandering how much memory is your Debian is consuming :)
... or wasting. Free = unused = wasted. Better to have free filled with cached stuff, so more quickly to hand if called upon, whilst quickly freed (deleted) if something else needs the space.
Are you saying that for some reason my os is caching more stuff in ram? Im ok with it and my system is fast anyway, just found it odd that gsm had a biggest increase of ram usage than the average.

Re: Debian ram usage

Posted: 2017-07-11 08:46
by Lysander
silvaf6 wrote:
Are you saying that for some reason my os is caching more stuff in ram? Im ok with it and my system is fast anyway, just found it odd that gsm had a biggest increase of ram usage than the average.
He's saying that, as far as I can gather, gsm lists the amount of used and cached memory, whereas free -m does not list the cached memory usage.

There's a saying in tech communities that "unused RAM is wasted RAM" which is upheld by some while being sneered at by others - largely gamers who have 16GB-64GB of RAM, much of which will likely never be used. Personally I am on 5GB of RAM, 3GB SWAP and I have never maxed out.