Task Manager and memory used by kernel.

Questions about other topics - please check if your question fits better in another category before posting here
Forum rules
Before you post please read how to get help
Post Reply
User avatar
spamhog
Level 1
Level 1
Posts: 48
Joined: Thu Dec 17, 2009 6:21 pm

Task Manager and memory used by kernel.

Post by spamhog »

Does Task Manager report memory used by the kernel?

I.e. is free RAM actually free?

I noticed the "show all processes" button, but it seems their memory usage is always counted.

I never see memory usage above 6.7GB out of 8GB available on a quad core.

Things seem slow when used memory goes that high.

Considering doubling RAM to 16GB, not sure it would help.

Maybe it's a silly question...
User avatar
Larry78723
Level 13
Level 13
Posts: 4788
Joined: Wed Jan 09, 2019 7:01 pm
Location: Jasper County, SC, USA

Re: Task Manager and memory used by kernel.

Post by Larry78723 »

Without knowing about your hardware, we can't provide any help. Please post an inxi -Fxxxzr report. This will give us a concise overview of your hardware and how Mint sees it.

Here is how to generate the report and post it:
Open a terminal window (Ctrl-Alt-t). Make it fullscreen to avoid unneeded linebreaks or chopped lines. Execute the command

Code: Select all

 inxi -Fxxxzr 
exactly as it has been typed here.

Mark the complete text output which the command will display with your mouse.
Press the keyboard shortcut <Shift><Ctrl>C to copy the marked text into the clipboard.
Enclose the results between the code markers by selecting </> from the mini toolbar above the textbox where you type your reply then paste <Ctrl>V them in your reply between the code markers [code]Results [/code].
Image
jodin123
Level 1
Level 1
Posts: 32
Joined: Wed Jul 15, 2020 8:07 pm

Re: Task Manager and memory used by kernel.

Post by jodin123 »

spamhog wrote:
Sun Aug 01, 2021 11:44 am
Does Task Manager report memory used by the kernel?

I.e. is free RAM actually free?

I noticed the "show all processes" button, but it seems their memory usage is always counted.

I never see memory usage above 6.7GB out of 8GB available on a quad core.

Things seem slow when used memory goes that high.

Considering doubling RAM to 16GB, not sure it would help.

Maybe it's a silly question...
Note: Synaptic .. gnome-system-monitor; you'll most likely like that better than Task Manager.

If you're regularly using 6.7 of 8gig; then 16gig is a much needed upgrade....
I have to consistently manage memory use, because of 'Power User' capacity on 8gb...without any upgrade on this old laptop. Chrome, Firefox have shown me to be memory hogs and I've switched to Brave(as a daily with privacy & security) and Chromium(to login Google acct)!

Killing my open browsers via System Monitor gets it down to less than a gig footprint, then I restart the one I need and continue on.

Before killing your browser, open terminal and run these 3 lines:
sudo sync; echo 1 > /proc/sys/vm/drop_caches
sudo sync; echo 2 > /proc/sys/vm/drop_caches
sudo sync; echo 3 > /proc/sys/vm/drop_caches

Try this and see what your standing footprint is..
Petermint
Level 7
Level 7
Posts: 1577
Joined: Tue Feb 16, 2016 3:12 am

Re: Task Manager and memory used by kernel.

Post by Petermint »

When memory usage goes that high, you could also have high disk usage which would benefit from a disk upgrade, one of the reasons you have to look at the whole machine usage instead of just memory usage.

I use firefox and rarely reach 2 GB. The other 14 GB sits there unused most days even after heavy use.
User avatar
spamhog
Level 1
Level 1
Posts: 48
Joined: Thu Dec 17, 2009 6:21 pm

Re: Task Manager and memory used by kernel.

Post by spamhog »

Thank you Petermint, jodin123, Larry78723! :!:

For some reason I had missed the notification of your kind replies.

Mine was more of a theorical question on whether the reported usage includes the kernel or not, than practical.

I very rarely reach close to 6.7GB reported memory usage according to task manager, that's the exception, and the machine rarely slows down.

Reported free memory seems to vary quite a bit between free, vmstat, inxi, task manager, even allowing for buffers being counted as free or not. Memory used by the various tools themselves as they produce output might or might no account for the difference.

It's a fascinating subject! :D

Anywax, here's my inxi -Fxxxzr output.

Code: Select all

System:    Kernel: 5.4.0-84-generic x86_64 bits: 64 compiler: gcc v: 9.3.0 Desktop: Xfce 4.16.0 tk: Gtk 3.24.20 
           info: xfce4-panel wm: xfwm4 dm: LightDM 1.30.0 Distro: Linux Mint 20.2 Uma base: Ubuntu 20.04 focal 
Machine:   Type: Laptop System: LENOVO product: 80EC v: Lenovo Z50-75 serial: <filter> Chassis: type: 10 v: Lenovo Z50-75 
           serial: <filter> 
           Mobo: LENOVO model: Lancer 5B3 v: 31900058WIN serial: <filter> UEFI: LENOVO v: A4CN33WW (V 2.02) date: 10/17/2014 
CPU:       Topology: Quad Core model: AMD FX-7500 Radeon R7 10 Compute Cores 4C+6G bits: 64 type: MCP arch: Steamroller rev: 1 
           L2 cache: 2048 KiB 
           flags: avx lm nx pae sse sse2 sse3 sse4_1 sse4_2 sse4a ssse3 svm bogomips: 16768 
           Speed: 1115 MHz min/max: 1100/2100 MHz boost: enabled Core speeds (MHz): 1: 1144 2: 1176 3: 1098 4: 1097 
Graphics:  Device-1: Advanced Micro Devices [AMD/ATI] Kaveri [Radeon R6/R7 Graphics] vendor: Lenovo Z50-75 driver: radeon 
           v: kernel bus ID: 00:01.0 chip ID: 1002:1309 
           Device-2: AMD Jet PRO [Radeon R5 M230 / R7 M260DX / Radeon 520 Mobile] vendor: Lenovo Z50-75 driver: radeon 
           v: kernel bus ID: 01:00.0 chip ID: 1002:6665 
           Display: x11 server: X.Org 1.20.11 driver: ati,radeon unloaded: fbdev,modesetting,vesa resolution: 1920x1080~60Hz 
           OpenGL: renderer: AMD KAVERI (DRM 2.50.0 5.4.0-84-generic LLVM 12.0.0) v: 4.5 Mesa 21.0.3 direct render: Yes 
Audio:     Device-1: Advanced Micro Devices [AMD/ATI] Kaveri HDMI/DP Audio vendor: Lenovo Z50-75 driver: snd_hda_intel 
           v: kernel bus ID: 00:01.1 chip ID: 1002:1308 
           Device-2: Advanced Micro Devices [AMD] FCH Azalia vendor: Lenovo Z50-75 driver: snd_hda_intel v: kernel 
           bus ID: 00:14.2 chip ID: 1022:780d 
           Sound Server: ALSA v: k5.4.0-84-generic 
Network:   Device-1: Realtek RTL8111/8168/8411 PCI Express Gigabit Ethernet vendor: Lenovo Z50-75 driver: r8169 v: kernel 
           port: 2000 bus ID: 02:00.0 chip ID: 10ec:8168 
           IF: enp2s0 state: down mac: <filter> 
           Device-2: Realtek RTL8723BE PCIe Wireless Network Adapter vendor: Lenovo Z50-75 driver: rtl8723be v: kernel 
           port: 1000 bus ID: 03:00.0 chip ID: 10ec:b723 
           IF: wlp3s0 state: up mac: <filter> 
Drives:    Local Storage: total: 924.07 GiB used: 57.46 GiB (6.2%) 
           ID-1: /dev/sda vendor: Samsung model: SSD 860 PRO 512GB size: 476.94 GiB speed: 6.0 Gb/s serial: <filter> rev: 2B6Q 
           scheme: GPT 
           ID-2: /dev/sdb vendor: Western Digital model: WDS480G2G0A-00JH30 size: 447.13 GiB speed: 6.0 Gb/s serial: <filter> 
           rev: 0400 scheme: GPT 
Partition: ID-1: / size: 466.30 GiB used: 57.25 GiB (12.3%) fs: ext4 dev: /dev/dm-1 
           ID-2: /boot size: 704.5 MiB used: 209.4 MiB (29.7%) fs: ext4 dev: /dev/sda2 
           ID-3: swap-1 size: 980.0 MiB used: 0 KiB (0.0%) fs: swap dev: /dev/dm-2 
Sensors:   System Temperatures: cpu: 38.6 C mobo: N/A 
           Fan Speeds (RPM): N/A 
           GPU: device: radeon temp: 38 C device: radeon temp: 38 C 
Repos:     No active apt repos in: /etc/apt/sources.list 
           Active apt repos in: /etc/apt/sources.list.d/official-package-repositories.list 
           1: deb http://linux-mint.froonix.org uma main upstream import backport
           2: deb http://ubuntu.lagis.at/ubuntu focal main restricted universe multiverse
           3: deb http://ubuntu.lagis.at/ubuntu focal-updates main restricted universe multiverse
           4: deb http://ubuntu.lagis.at/ubuntu focal-backports main restricted universe multiverse
           5: deb http://security.ubuntu.com/ubuntu/ focal-security main restricted universe multiverse
           6: deb http://archive.canonical.com/ubuntu/ focal partner
Info:      Processes: 187 Uptime: 15m Memory: 6.72 GiB used: 1.30 GiB (19.4%) Init: systemd v: 245 runlevel: 5 Compilers: 
           gcc: 9.3.0 alt: 9 Shell: bash v: 5.0.17 running in: xfce4-terminal inxi: 3.0.38 
Post Reply