From: Christian Hildner <christian.hildner@hob.de>
To: linux-ia64@vger.kernel.org
Subject: Re: [Linux-ia64] VHPT performance
Date: Thu, 28 Feb 2002 08:06:54 +0000 [thread overview]
Message-ID: <marc-linux-ia64-105590701905197@msgid-missing> (raw)
In-Reply-To: <marc-linux-ia64-105590701905139@msgid-missing>
David
Could you please send me your test program to verify this. Since I haven't fixed the storage in
my test prog maybe there are additional page faults. Is it possible to fix malloc() storage from
userspace?
Thanks
Christian
David Mosberger schrieb:
> >>>>> On Fri, 22 Feb 2002 12:35:51 +0100, Christian Hildner <christian.hildner@hob.de> said:
>
> Christian> I made some measures and found that on Itanium it takes
> Christian> about ~700 CPU cycles to load a single byte when TLB is
> Christian> missing and VHPT is enabled vs. ~900 cycles with VHPT
> Christian> disabled and handling the TLB miss in the IVT.
>
> It's not that simple. On Itanium, the VHPT will help only if the TLB
> entry can be found in the cache (this is described in the Itanium
> microarch. manual, IIRC). I don't think anything has been said
> publically yet what McKinley does, so we'll have to wait a bit longer.
>
> The 700 cycle number sounds too high. For example, I have a little
> test program that shows repeatedly touching ~92 pages takes about 25
> cycles on average and touching more than 128 pages takes about 73
> cycles on average, for a difference of about 48 cycles.
>
> Christian> Does
> Christian> anybody know if the VHPT walker is implemented in
> Christian> hardware (probably not), microcode (that's what I think)
> Christian> or unimplemented at all?
>
> It's definitely implemented in hardware, though I don't know the
> implementation details.
>
> --david
next prev parent reply other threads:[~2002-02-28 8:06 UTC|newest]
Thread overview: 11+ messages / expand[flat|nested] mbox.gz Atom feed top
2002-02-20 12:21 [Linux-ia64] VHPT performance Christian Hildner
2002-02-20 17:02 ` Michael Madore
2002-02-20 17:34 ` David Mosberger
2002-02-22 11:35 ` Christian Hildner
2002-02-22 16:58 ` David Mosberger
2002-02-28 8:06 ` Christian Hildner [this message]
2002-03-01 2:32 ` David Mosberger
2002-03-08 7:50 ` Christian Hildner
2002-03-08 8:12 ` David Mosberger
2002-03-08 10:26 ` Christian Hildner
2002-03-08 17:31 ` 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=marc-linux-ia64-105590701905197@msgid-missing \
--to=christian.hildner@hob.de \
--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