lkml.org 
[lkml]   [2016]   [Feb]   [10]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
SubjectRe: computing drop-able caches
From
Date
On 02/10/2016 10:04 AM, Daniel Walker wrote:
>> [Linux_0:/]$ echo 3 > /proc/sys/vm/drop_caches
>> [Linux_0:/]$ cat /proc/meminfo
>> MemTotal: 3977836 kB
>> MemFree: 1095012 kB
>> MemAvailable: 1434148 kB
>
> I suspect MemAvailable takes into account more than just the droppable
> caches. For instance, reclaimable slab is included, but I don't think
> drop_caches drops that part.

There's a bit for page cache and a bit for slab, see:

https://kernel.org/doc/Documentation/sysctl/vm.txt


\
 
 \ /
  Last update: 2016-02-10 19:41    [W:0.104 / U:1.120 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site