0

I have 16GB of RAM with Debian 9 in my notebook but almost all of it is unused by the kernel. It uses only 1GB for buffer/cache.

Where can I tell the kernel to use more of the free RAM for caching? My FS is Ext4.

Thanks!

3
  • 1
    How do you deduce that something more should be cache what isn't already cached by kernel? Kernel doesn't reclaim cached pages if there is unused memory to be utilized. Commented Aug 28, 2017 at 15:26
  • The kernel uses 1GB for cache. 14GB is unused and I have 2,5TB of disk. So think it should use a lot more of the free memory to buffer a bit more of the disk. Commented Aug 29, 2017 at 10:15
  • 1
    The kernel can only cache data that has been accessed. Have you actually read more than 1GB of data from the disk since the last boot? Commented Aug 30, 2017 at 17:44

1 Answer 1

1

The kernel only caches data that has been accessed. If you have not read more than 1GB of data from the disk since the last boot, then it will not have more than 1GB cached.

You must log in to answer this question.

Start asking to get answers

Find the answer to your question by asking.

Ask question

Explore related questions

See similar questions with these tags.