public inbox for linux-ia64@vger.kernel.org
 help / color / mirror / Atom feed
From: Robin Holt <holt@sgi.com>
To: linux-ia64@vger.kernel.org
Subject: Re: [RFC] Convert pgtable cache to slab
Date: Thu, 14 Oct 2004 11:07:43 +0000	[thread overview]
Message-ID: <20041014110743.GC19122@lnx-holt.americas.sgi.com> (raw)
In-Reply-To: <yq1zn2qtpyo.fsf@wilson.mkp.net>

On Thu, Oct 14, 2004 at 12:44:59AM -0700, David Mosberger wrote:
> >>>>> On Wed, 13 Oct 2004 11:59:56 -0700, William Lee Irwin III <wli@holomorphy.com> said:
> 
>   William> On Wed, Oct 13, 2004 at 02:47:43PM -0400, Martin
>   William> 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?
> 
>   William> Nice! I got reports that it would not be beneficial when I
>   William> thought about going over this earlier. I suppose it's a
>   William> small vindication of my methods to see the original
>   William> objection contradicted here. =)
> 
> What was the original comment relative to?  2.4 or 2.6?  In 2.6 we
> lost the PTE quick-list, which I think is where the big overhead came
> from.  Right, Martin?

And the pmd quicklist.  We add entries to the pmd quicklist, but never
take them back off.  This has a two fold effect in that it causes the
pgd quicklist to be drained unnecessarily when the pmd quicklist has
many unusable entries on it.

Essentially, we were allocating and clearing pages for both pmd and pte
entries every time.

Robin
> 
> 	--david
> -
> 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

  parent reply	other threads:[~2004-10-14 11:07 UTC|newest]

Thread overview: 18+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2004-10-13 18:47 [RFC] Convert pgtable cache to slab Martin K. Petersen
2004-10-13 18:57 ` Jesse Barnes
2004-10-13 18:59 ` William Lee Irwin III
2004-10-13 19:07 ` Luck, Tony
2004-10-13 19:28 ` Jesse Barnes
2004-10-13 19:32 ` Martin K. Petersen
2004-10-13 19:32 ` Luck, Tony
2004-10-13 19:42 ` Martin K. Petersen
2004-10-13 19:49 ` Robin Holt
2004-10-13 19:50 ` Robin Holt
2004-10-13 20:23 ` Luck, Tony
2004-10-13 20:34 ` Martin K. Petersen
2004-10-13 20:37 ` Martin K. Petersen
2004-10-14  7:44 ` David Mosberger
2004-10-14 10:27 ` William Lee Irwin III
2004-10-14 11:00 ` David Mosberger
2004-10-14 11:07 ` Robin Holt [this message]
2004-10-14 11:10 ` David Mosberger

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20041014110743.GC19122@lnx-holt.americas.sgi.com \
    --to=holt@sgi.com \
    --cc=linux-ia64@vger.kernel.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox