Re: pgd_free, pmd_free, and pte_free trapping memory.

From: Robin Holt <holt_at_sgi.com>
Date: 2004-03-17 23:27:15
On Tue, Mar 16, 2004 at 10:06:18PM -0800, David Mosberger wrote:
> >>>>> On Tue, 16 Mar 2004 09:24:55 -0600, Robin Holt <holt@sgi.com> said:
> 
>   Robin> I have a kernel with these ripped out.  I have run one simple
>   Robin> Aim7 run on a 32P system.  The performance fell in the noise
>   Robin> range of a normal Aim7 run.  Is this a good test to run?
>   Robin> Should I focus on any specific benchmark, or run a suite?
> 
> For this kind of test, I'd rather see a micro-benchmark to establish
> the worst-case effect.  Then we have an upper bound and can make a
> judgment as to whether or not that's a likely scenario.  And yes, this
> would mean that you'd probably want to measure it on a relative small
> system (certainly not NUMA, perhaps just UP).

I am currently looking into Christoph's suggestion of using a per
cpu page allocator.  Unfortunately, yesterday was a little busy and
I didn't get much of a chance to look into it.

> 
>   >>  That's less code and thus less complexity which is always good.
>   >> Now if the pre-zeroing actually makes a difference we might have
>   >> to keep small pre-zeroed list around, but I doubt this is really
>   >> good idea (or even nessecary)
> 
>   Robin> The page zeroing costs 4uSec per page (I believe that is the
>   Robin> number).  With a typical fork taking approx 40 pages, that
>   Robin> should be felt during an Aim7 run.  It looks like caches are
>   Robin> masking some of that out.
> 
> Try UP.  Also, what if the page-size is 64KB?  In any case, 4usec is a
> lot.

I got the 4uSec from Jack Steiner.  I don't know if he tested it with
64KB pages.  I will check.
-
To unsubscribe from this list: send the line "unsubscribe linux-ia64" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Received on Wed Mar 17 07:31:51 2004

This archive was generated by hypermail 2.1.8 : 2005-08-02 09:20:24 EST