Re: [RFC] Convert pgtable cache to slab

From: Jesse Barnes <jbarnes_at_sgi.com>
Date: 2004-10-14 04:57:30
On Wednesday, October 13, 2004 1:47 pm, Martin K. Petersen wrote:
> This patch makes the page table cache on IA-64 use the slab instead of
> standard page allocations.  It's based upon Bill Irwin's code for
> ppc64.
>
> With this patch I got a significant improvement in page fault time.
> Standard 2.4.x was about 700ns on average.  Generic 2.6.9rc4 is 3-4
> usec, whereas the slabified pgtcache drops us back down to 600-700 ns.
>
> Tested on zx1 and sn2.
>
> The biggest caveat is that I've had to postpone setting up the gate
> page until the pgt slab has been initialized.  That wasn't an issue
> with the existing page-based allocation scheme.  David - how do you
> prefer I handle this?
>
> Comments?

Looks really nice, it's good to see a diffstat with "5 files changed, 50 
insertions(+), 125 deletions(-)" that actually speeds things up and makes the 
code more sensible.

Jesse
-
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 Oct 13 14:58:43 2004

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