Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
High idle RAM usage despite minimal kernel config
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Other Things Gentoo
View previous topic :: View next topic  
Author Message
gaycutie
n00b
n00b


Joined: 30 Dec 2021
Posts: 4

PostPosted: Sun Feb 27, 2022 1:09 pm    Post subject: High idle RAM usage despite minimal kernel config Reply with quote

I got my hands on a new laptop recently and decided to put Gentoo on it
Everything works fine but I noticed something very odd, I have high idle RAM usage despite running a custom minimal kernel config and a minimal WM (dwm).

Well by "high" I mean 250~ MB but compared to my old PC that only used 55~ MB thats a lot.

Hardware:
Code:

CPU: AMD Ryzen 7 5800H
GPU: GeForce RTX 3050 Mobile (I use the closed source nvidia driver)
RAM: 2 x 8GB DDR4 3200Mhz
Storage: 512GB NVMe SSD


rc-status:
Code:

Runlevel: default
 iwd                                                                                                                                                                         [  started  ]
 elogind                                                                                                                                                                     [  started  ]
 netmount                                                                                                                                                                    [  started  ]
 local                                                                                                                                                                       [  started  ]
Dynamic Runlevel: hotplugged
Dynamic Runlevel: needed/wanted
 dbus                                                                                                                                                                        [  started  ]
Dynamic Runlevel: manual


Kernel config: https://pastebin.com/BELiZbyK

dmesg output: https://pastebin.com/SD1wgvaF
Back to top
View user's profile Send private message
NeddySeagoon
Administrator
Administrator


Joined: 05 Jul 2003
Posts: 54577
Location: 56N 3W

PostPosted: Sun Feb 27, 2022 1:50 pm    Post subject: Reply with quote

gaycutie,

Show us how you measure RAM usage too.
_________________
Regards,

NeddySeagoon

Computer users fall into two groups:-
those that do backups
those that have never had a hard drive fail.
Back to top
View user's profile Send private message
gaycutie
n00b
n00b


Joined: 30 Dec 2021
Posts: 4

PostPosted: Sun Feb 27, 2022 2:02 pm    Post subject: Reply with quote

NeddySeagoon wrote:
gaycutie,

Show us how you measure RAM usage too.


I just use htop.
Back to top
View user's profile Send private message
Zucca
Moderator
Moderator


Joined: 14 Jun 2007
Posts: 3698
Location: Rasi, Finland

PostPosted: Sun Feb 27, 2022 2:31 pm    Post subject: Reply with quote

gaycutie wrote:
I just use htop.
Normally htop displays memory usage without fscache, so there might be something going on.
Please paste the output of
Code:
free -m
... here.
_________________
..: Zucca :..

My gentoo installs:
init=/sbin/openrc-init
-systemd -logind -elogind seatd

Quote:
I am NaN! I am a man!
Back to top
View user's profile Send private message
gaycutie
n00b
n00b


Joined: 30 Dec 2021
Posts: 4

PostPosted: Sun Feb 27, 2022 2:48 pm    Post subject: Reply with quote

Zucca wrote:
gaycutie wrote:
I just use htop.
Normally htop displays memory usage without fscache, so there might be something going on.
Please paste the output of
Code:
free -m
... here.


Code:

               total        used        free      shared  buff/cache   available
Mem:           15927         248       15390           2         289       15522
Swap:              0           0           0
Back to top
View user's profile Send private message
Zucca
Moderator
Moderator


Joined: 14 Jun 2007
Posts: 3698
Location: Rasi, Finland

PostPosted: Mon Feb 28, 2022 3:04 pm    Post subject: Reply with quote

Yup. It looks like your current system is cosuming more memory.
Linux kernel memory handler could be more generous when you have more memory.

Which program uses most? You can list top10 (top9 really) by running this:
Code:
ps -eo %mem,size,pid,comm --sort=-size | head

_________________
..: Zucca :..

My gentoo installs:
init=/sbin/openrc-init
-systemd -logind -elogind seatd

Quote:
I am NaN! I am a man!
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Other Things Gentoo All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum