All of lore.kernel.org
 help / color / mirror / Atom feed
From: James Bottomley <James.Bottomley@steeleye.com>
To: "Carlos O'Donell" <carlos@baldric.uwo.ca>
Cc: PARISC list <parisc-linux@lists.parisc-linux.org>
Subject: Re: [parisc-linux] Proposal for altering our Page Table layouts
Date: 10 Apr 2004 15:11:36 -0400	[thread overview]
Message-ID: <1081624296.1841.4.camel@mulgrave> (raw)
In-Reply-To: <20040410184946.GB7123@baldric.uwo.ca>

On Sat, 2004-04-10 at 14:49, Carlos O'Donell wrote:
> If we used an inverted page table with hashing it would be a single
> level page table, with good cache locality (less spread compared to a
> hierarchical table).

To be honest, I don't see the value of hashed page tables.  A two level
structure is about as optimal as you can get.  Particularly as the pgdir
will be cache hot (from the tlb refill misses).

In a hashed page table layout, you just have to have a page collision 
and you've already lost to the two level page table (because of the
cache hotness of pgdir).

In particular, on PA because of our congruence requirements for shared
mappings, it would be difficult to find an efficient hashing mechanism
that didn't generate deep collision chains (and remember, we're all
ILP32 at the moment, so just one collision and we lose to the 2 level).

James

  reply	other threads:[~2004-04-10 19:11 UTC|newest]

Thread overview: 14+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2004-04-09 12:16 [parisc-linux] Proposal for altering our Page Table layouts James Bottomley
2004-04-09 20:12 ` Joel Soete
2004-04-10 18:49 ` Carlos O'Donell
2004-04-10 19:11   ` James Bottomley [this message]
2004-04-10 21:46     ` Carlos O'Donell
2004-04-10 23:22       ` James Bottomley
2004-04-10 19:12   ` James Bottomley
  -- strict thread matches above, loose matches on Subject: below --
2004-04-09 14:38 John Marvin
2004-04-11 13:13 ` James Bottomley
2004-04-12  4:32 ` Grant Grundler
2004-04-12 14:20   ` James Bottomley
2004-04-12 23:31 John Marvin
2004-04-12 23:44 ` James Bottomley
2004-04-13 14:28   ` Carlos O'Donell

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=1081624296.1841.4.camel@mulgrave \
    --to=james.bottomley@steeleye.com \
    --cc=carlos@baldric.uwo.ca \
    --cc=parisc-linux@lists.parisc-linux.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 an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.