View previous topic :: View next topic |
Author |
Message |
sidamos Apprentice
Joined: 16 Dec 2007 Posts: 246
|
Posted: Sat Jan 26, 2008 7:49 am Post subject: Kernel memory (Slab) rising steadily |
|
|
HI!
When I just boot my desktop machine and it is then idle, kernel memory (Slap) rises all the time. I have first seen this with the KDE system monitor applet (red part of the memory bar) and I have verified it with:
Code: | cat /proc/meminfo | grep Slab |
After 8 hours, this is at 500 MB ( 1 GB system memory).
Then, when I start lots of programs, it goes down to 50 MB.
Is this normal? Because I am seeing this only on one of four machines. All using the same kernel (2.6.23-r3).
Thanks!
Thomas |
|
Back to top |
|
|
eccerr0r Watchman
Joined: 01 Jul 2004 Posts: 9891 Location: almost Mile High in the USA
|
Posted: Sat Jan 26, 2008 8:29 pm Post subject: |
|
|
when you load other programs, does it go down?
What's allocating the slabs? (slabtop, etc.)
inode caches tend to take up a lot of space on a 'hot' cache.
I had an ACPI memory leak before where it would never deallocate. see if that's the case by using RAM. The machine should feel noticeably slower as it cannot allocate enough RAM.
Remember, unused RAM is wasted RAM. _________________ Intel Core i7 2700K/Radeon R7 250/24GB DDR3/256GB SSD
What am I supposed watching? |
|
Back to top |
|
|
sidamos Apprentice
Joined: 16 Dec 2007 Posts: 246
|
Posted: Sun Jan 27, 2008 7:28 am Post subject: |
|
|
HI!
Thanks for the tip with slabtop!
As I discovered, Slab usage shoots immediately up, when updatedb runs. And then, slabtop shows:
Code: |
270165 270024 99% 0.50K 38595 7 154380K xfs_inode
270158 270024 99% 0.50K 38594 7 154376K xfs_vnode
225562 218269 96% 0.13K 7778 29 31112K dentry
66430 66419 99% 0.54K 9490 7 37960K ext3_inode_cache
|
Apparantly, xfs likes to cache a lot.
But the memory, is being freed (goes down from 500 MB to 40 MB), when needed.
So, it seems, that everything is allright.
Thomas |
|
Back to top |
|
|
|
|
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
|
|