Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Adding 'slab' info to virtual_memory #1239

Merged
merged 1 commit into from
Mar 17, 2018
Merged

Conversation

hush-hush
Copy link
Contributor

On linux 'Slab' is available from /proc/meminfo.

@hush-hush hush-hush changed the title Adding 'slab' infor to virtual_memory Adding 'slab' info to virtual_memory Mar 9, 2018
@giampaolo
Copy link
Owner

There are 48 memory stats in /proc/meminfo:

$ cat /proc/meminfo | wc -l
48

Why is slab memory important?

@hush-hush
Copy link
Contributor Author

Hi @giampaolo,

slab memory allocation reflects kernel cache utilization (usefull to detect kernel memory leaks for example). That metric is very valuable to kernel developers, not so much to users indeed.

Also filesystem caching is reflected in the slab since inodes and dentries are cached too.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants