Re: v3.4-rc2 out-of-memory problems (was Re: 3.4-rc1 sticks-and-crashs)

From: Sven Joachim
Date: Mon Apr 09 2012 - 13:19:10 EST


On 2012-04-09 19:00 +0200, Pekka Enberg wrote:

> On Mon, Apr 9, 2012 at 7:33 PM, Rik van Riel <riel@xxxxxxxxxx> wrote:
>>> Attaching these files, since I can't really make anything out of the
>>> latter. ÂNote that I started a few memory hogs (X, Firefox, Emacs with
>>> Gnus), so overall memory footprint has grown to 768 MB.
>>
>> Looks like the "missing" 400MB is all in filesystem caches,
>> specifically the dentry cache, the ext4 inode cache and
>> buffer heads.
>>
>> That is perfectly fine, since those caches will be shrunk
>> when the system needs memory.
>
> CONFIG_SLUB, right?

Actually, no. For some reason (probably historicalâ) I have CONFIG_SLAB.

> It will merge caches so you don't necessarily see
> leaks in /proc/slabinfo. You can use "slub_nomerge" kernel parameter
> to disable the merging.

Cheers,
Sven
--
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/