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

Possible separation of dentries and inodes from main used memory #1399

Open
brauliobo opened this issue Feb 22, 2024 · 0 comments
Open

Possible separation of dentries and inodes from main used memory #1399

brauliobo opened this issue Feb 22, 2024 · 0 comments
Labels
Linux 🐧 Linux related issues

Comments

@brauliobo
Copy link

brauliobo commented Feb 22, 2024

Here is my htop current memory usage:
image

After clearing the page caches with echo 1 > /proc/sys/vm/drop_caches, I get:
image

So roughly the same green part, but less orange part indicating less cache, which makes sense.

After clearing dentries and inodes cache with echo 2 > /proc/sys/vm/drop_caches, I get:
image

Which shows 1.7gb less memory usage (from 23.8gb to 22.1gb), which doesn't make sense to me.

I guess that this issue of dentries and inodes caches being reported as non cache application memory is a Linux issue.

Still, I wonder if there is a way to correctly separate dentries/inodes cached memory from the main (green) used memory?

@BenBE BenBE added the Linux 🐧 Linux related issues label Feb 22, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Linux 🐧 Linux related issues
Projects
None yet
Development

No branches or pull requests

2 participants