Re: [RFC/PATCHSET 0/6] perf kmem: Implement page allocation analysis (v1)

From: Ingo Molnar
Date: Thu Mar 12 2015 - 11:54:35 EST



* Namhyung Kim <namhyung@xxxxxxxxxx> wrote:

> > I.e. something like this (mockup) output:
> >
> > SUMMARY (page allocator)
> > ========================
> >
> > Pages allocated+freed: 12,593 [ 51,630,080 bytes ]
> >
> > Pages allocated-only: 2,342 [ 1,235,010 bytes ]
> > Pages freed-only: 67 [ 135,311 bytes ]
> >
> > Page allocation failures : 0
>
> Looks a lot better!
>
> One thing I need to tell you is that the numbers are not pages but
> requests.

Yes, but in the MM code we tend to call larger order allocations
'pages' as well: higher order pages, such as a 2MB hugepage, or a 8K
order-1 page. So at least in MM-speak it should be OK to call them
'pages'.

But your call!

Thanks,

Ingo
--
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/