Re: Sudden and massive page cache eviction

From: Peter SchÃller
Date: Wed Nov 24 2010 - 09:14:52 EST


>> Do you have any large page (hugetlbfs) or other multi-order (> 1 page)
>> allocations happening in the kernel?

I forgot to address the second part of this question: How would I best
inspect whether the kernel is doing that?

Looking at the kmalloc() sizes from vmstat -m I have the following on
one of the machines (so very few larger than 4096). But I suspect you
are asking for something different?

kmalloc-8192 52 56 8192 4
kmalloc-4096 33927 62040 4096 8
kmalloc-2048 338 416 2048 16
kmalloc-1024 76211 246976 1024 32
kmalloc-512 1134 1216 512 32
kmalloc-256 109523 324928 256 32
kmalloc-128 3902 4288 128 32
kmalloc-64 105296 105536 64 64
kmalloc-32 2120 2176 32 128
kmalloc-16 4607 4608 16 256
kmalloc-8 6655 6656 8 512
kmalloc-192 6546 9030 192 21
kmalloc-96 29694 32298 96 42

--
/ Peter Schuller aka scode
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/