View previous topic :: View next topic |
Author |
Message |
gaycutie n00b
Joined: 30 Dec 2021 Posts: 4
|
Posted: Sun Feb 27, 2022 1:09 pm Post subject: High idle RAM usage despite minimal kernel config |
|
|
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 |
|
|
NeddySeagoon Administrator
Joined: 05 Jul 2003 Posts: 54577 Location: 56N 3W
|
Posted: Sun Feb 27, 2022 1:50 pm Post subject: |
|
|
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 |
|
|
gaycutie n00b
Joined: 30 Dec 2021 Posts: 4
|
Posted: Sun Feb 27, 2022 2:02 pm Post subject: |
|
|
NeddySeagoon wrote: | gaycutie,
Show us how you measure RAM usage too. |
I just use htop. |
|
Back to top |
|
|
Zucca Moderator
Joined: 14 Jun 2007 Posts: 3695 Location: Rasi, Finland
|
Posted: Sun Feb 27, 2022 2:31 pm Post subject: |
|
|
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... here. _________________ ..: Zucca :..
My gentoo installs: | init=/sbin/openrc-init
-systemd -logind -elogind seatd |
Quote: | I am NaN! I am a man! |
|
|
Back to top |
|
|
gaycutie n00b
Joined: 30 Dec 2021 Posts: 4
|
Posted: Sun Feb 27, 2022 2:48 pm Post subject: |
|
|
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... here. |
Code: |
total used free shared buff/cache available
Mem: 15927 248 15390 2 289 15522
Swap: 0 0 0
|
|
|
Back to top |
|
|
Zucca Moderator
Joined: 14 Jun 2007 Posts: 3695 Location: Rasi, Finland
|
Posted: Mon Feb 28, 2022 3:04 pm Post subject: |
|
|
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 |
|
|
|