Re: SLUB 0:1 SLAB (OOM during massive parallel kernel builds)

Previous message: [thread] [date] [author]
Next message: [thread] [date] [author]
From: Mel Gorman
Date: Wednesday, October 24, 2007 - 1:09 am

On (23/10/07 12:57), Christoph Lameter didst pronounce:

I do not believe the anti-frag status will make a difference as this is
a order-0 failure. Looking at the OOM messages;

Failure 1

No reclaimable memory, no free swap and free memory is below the min free
watermark on the DMA32 zone being allocated from. That system is genuinely
out of memory although I am surprised it didn't fallback to ZONE_DMA but
the likely explanation is the lowmem reserves.

Failure 2

Same again - really OOM.

It seems to be the same all the way through.

I am somewhat at a loss to explain why SLUB would fail in this case when
SLAB wouldn't. One possibility is that SLAB is artifically holding up
processes in allocation so that fewer are running at the same time allowing
the overall job to complete. For a compile-time benchmark, it might not be
very noticable as the processes are already pretty short-lived. It would be
interesting to add more swap so that SLUB doesn't fail and see if there is
a difference in time-to-completion.

If SLUB is faster, it might imply that it is letting more compile-jobs
running at the same time. Output of vmstat during both runs (preferably with
an indication on the SLUB failure where the OOM occured) may tell us. If the
"running" and "blocked" column for SLUB are significantly higher than the
averages for SLAB, would it support that theory Christoph?

Another possibility is that SLUBs runtime overhead is higher although I find
that one harder to believe.

-- 
Mel Gorman
Part-time Phd Student                          Linux Technology Center
University of Limerick                         IBM Dublin Software Lab
-- 
-- 
Mel Gorman
Part-time Phd Student                          Linux Technology Center
University of Limerick                         IBM Dublin Software Lab
-
Previous message: [thread] [date] [author]
Next message: [thread] [date] [author]

Messages in current thread:
SLUB 0:1 SLAB (OOM during massive parallel kernel builds), Alexey Dobriyan, (Tue Oct 23, 11:16 am)
Re: SLUB 0:1 SLAB (OOM during massive parallel kernel builds), Christoph Lameter, (Tue Oct 23, 12:35 pm)
Re: SLUB 0:1 SLAB (OOM during massive parallel kernel builds), Christoph Lameter, (Tue Oct 23, 12:57 pm)
Re: SLUB 0:1 SLAB (OOM during massive parallel kernel builds), Christoph Lameter, (Tue Oct 23, 1:09 pm)
Re: SLUB 0:1 SLAB (OOM during massive parallel kernel builds), Mel Gorman, (Wed Oct 24, 1:09 am)
Re: SLUB 0:1 SLAB (OOM during massive parallel kernel builds), Christoph Lameter, (Wed Oct 24, 9:56 am)
Re: SLUB 0:1 SLAB (OOM during massive parallel kernel builds), Alexey Dobriyan, (Wed Oct 24, 12:28 pm)
Re: SLUB 0:1 SLAB (OOM during massive parallel kernel builds), Christoph Lameter, (Wed Oct 24, 7:15 pm)
Re: SLUB 0:1 SLAB (OOM during massive parallel kernel builds), Christoph Lameter, (Wed Oct 24, 7:43 pm)