Scheduled Maintenance: We are aware of an issue with Google, AOL, and Yahoo services as email providers which are blocking new registrations. We are trying to fix the issue and we have several internal and external support tickets in process to resolve the issue. Please see: viewtopic.php?t=158230

 

 

 

Debian ram usage

Here you can discuss every aspect of Debian. Note: not for support requests!
Message
Author
User avatar
Nili
Posts: 441
Joined: 2014-04-30 14:04
Location: $HOME/♫♪
Has thanked: 5 times
Been thanked: 3 times

Re: Debian ram usage

#16 Post 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!
openSUSE Tumbleweed KDE/Wayland

♫♪ Elisa playing...
Damascus Cocktail ♪ Black Reverie ♪ Dye the sky.

silvaf6
Posts: 70
Joined: 2017-06-12 16:45

Re: Debian ram usage

#17 Post 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.

User avatar
Lysander
Posts: 643
Joined: 2017-02-23 10:07
Location: London
Been thanked: 1 time

Re: Debian ram usage

#18 Post 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

silvaf6
Posts: 70
Joined: 2017-06-12 16:45

Re: Debian ram usage

#19 Post by silvaf6 »

I'm not crazy then. I guess free -m should be more accurate

User avatar
pylkko
Posts: 1802
Joined: 2014-11-06 19:02

Re: Debian ram usage

#20 Post 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)

ruffwoof
Posts: 298
Joined: 2016-08-20 21:00

Re: Debian ram usage

#21 Post 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.

silvaf6
Posts: 70
Joined: 2017-06-12 16:45

Re: Debian ram usage

#22 Post 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.

User avatar
Lysander
Posts: 643
Joined: 2017-02-23 10:07
Location: London
Been thanked: 1 time

Re: Debian ram usage

#23 Post 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.

Post Reply