Re: OOM-killer and strange RSS value in 3.9-rc7

Will Huck
2013-05-01T03:13:17Z

Hi Christoph,
On 04/29/2013 10:49 PM, Christoph Lameter wrote:
> On Sat, 27 Apr 2013, Will Huck wrote:
>
>> Hi Christoph,
>> On 04/26/2013 01:17 AM, Christoph Lameter wrote:
>>> On Thu, 25 Apr 2013, Han Pingtian wrote:
>>>
>>>> I have enabled "slub_debug" and here is the
>>>> /sys/kernel/slab/kmalloc-512/alloc_calls contents:
>>>>
>>>> 50 .__alloc_workqueue_key+0x90/0x5d0 age=113630/116957/119419
>>>> pid=1-1730 cpus=0,6-8,13,24,26,44,53,57,60,68 nodes=1
>>>> 11 .__alloc_workqueue_key+0x16c/0x5d0 age=113814/116733/119419
>>>> pid=1-1730 cpus=0,44,68 nodes=1
>>>> 13 .add_sysfs_param.isra.2+0x80/0x210 age=115175/117994/118779
>>>> pid=1-1342 cpus=0,8,12,24,60 nodes=1
>>>> 160 .build_sched_domains+0x108/0xe30 age=119111/119120/119131 pid=1
>>>> cpus=0 nodes=1
>>>> 9000 .alloc_fair_sched_group+0xe4/0x220 age=110549/114471/117357
>>>> pid=1-2290
>>>> cpus=0-1,5,9-11,13,24,29,33,36,38,40-41,45,48-50,53,56-58,60-63,68-69,72-73,76-77,79
>>>> nodes=1
>>>> 9000 .alloc_fair_sched_group+0x114/0x220 age=110549/114471/117357
>>>> pid=1-2290
>>>> cpus=0-1,5,9-11,13,24,29,33,36,38,40-41,45,48-50,53,56-58,60-63,68-69,72-73,76-77,79
>>>> nodes=1
>> Could you explain the meaning of age=xx/xx/xx pid=xx-xx cpus=xx here?
>>
> Age refers to the mininum / avg / maximum age of the object in ticks.

Why need monitor the age of the object?

>
> pid refers to the range of pids by processes running when the objects were
> created.
>
> cpus are the processors on which kernel threads where running when these
> objects were allocated.
>