* Alpha memory addressing ?
@ 1997-09-12 4:00 Arun Sharma
1997-09-12 4:00 ` barksdale
1997-09-12 4:00 ` Jeffrey L. Bell
0 siblings, 2 replies; 3+ messages in thread
From: Arun Sharma @ 1997-09-12 4:00 UTC (permalink / raw)
Hi,
The Alpha architecture reference manual says that accessing memory
using physical addresses could be slower (while servicing TB misses
in PAL code) than mapping the page tables and accessing them using
virtual addresses.
Can anyone explain why ?
Thanks!
-Arun
--
Arun Sharma
--> Please notice the spam protection if you would like to send E-mail.
^ permalink raw reply [flat|nested] 3+ messages in thread
* Re: Alpha memory addressing ?
1997-09-12 4:00 Alpha memory addressing ? Arun Sharma
1997-09-12 4:00 ` barksdale
@ 1997-09-12 4:00 ` Jeffrey L. Bell
1 sibling, 0 replies; 3+ messages in thread
From: Jeffrey L. Bell @ 1997-09-12 4:00 UTC (permalink / raw)
In a previous article, Arun Sharma <arun.sharma_no_spam@uiuc.edu> wrote:
>The Alpha architecture reference manual says that accessing memory
>using physical addresses could be slower (while servicing TB misses
>in PAL code) than mapping the page tables and accessing them using
>virtual addresses.
>
>Can anyone explain why ?
I'm not sure about specific alpha implementations, but there are a
number of possiblities. Most have to do with the fact that it's
better to optimize for virtual accesses, since that what you do the
most.
One possible scenario is a virtually addressed first level cache. If
all physical accesses have to be sent to L2, you would see a
performance hit.
Another may be pipline interlocks that check for read after write, but
only check in virtual address space, so the pipe might require
draining between memory accesses.
Whether the Alpha implementations exhibit these specific situations, I
do not know. There are certainly other memory access patterns that
could thrash the TB and tilt the comparison the other way.
-Jeff Bell
^ permalink raw reply [flat|nested] 3+ messages in thread
* Re: Alpha memory addressing ?
1997-09-12 4:00 Alpha memory addressing ? Arun Sharma
@ 1997-09-12 4:00 ` barksdale
1997-09-12 4:00 ` Jeffrey L. Bell
1 sibling, 0 replies; 3+ messages in thread
From: barksdale @ 1997-09-12 4:00 UTC (permalink / raw)
In article <te4t7qoiiq.fsf@grandteton.cs.uiuc.edu>,
Arun Sharma <arun.sharma_no_spam@uiuc.edu> wrote:
>
>
> Hi,
>
> The Alpha architecture reference manual says that accessing memory
> using physical addresses could be slower (while servicing TB misses
> in PAL code) than mapping the page tables and accessing them using
> virtual addresses.
>
> Can anyone explain why ?
>
> Thanks!
>
> -Arun
>
> --
> Arun Sharma
> --> Please notice the spam protection if you would like to send E-mail.
I ran across this a few days ago looking for imformation on possible
coding differences between alpha and X86 boxes. It might give you the
insight your looking for.
http://www.linuxexpo.org/1997/after/papers/davidm/paper-html/
or postscript version
http://www.linuxexpo.org/1997/after/papers/davidm/paper.ps.gs
I'm waiting for a couple of alphas to try some of this stuff out.
I believe your explanation is in section 4.2 of the above document.
Hope this helps.
JRBIII
-------------------==== Posted via Deja News ====-----------------------
http://www.dejanews.com/ Search, Read, Post to Usenet
^ permalink raw reply [flat|nested] 3+ messages in thread
end of thread, other threads:[~1997-09-12 4:00 UTC | newest]
Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
1997-09-12 4:00 Alpha memory addressing ? Arun Sharma
1997-09-12 4:00 ` barksdale
1997-09-12 4:00 ` Jeffrey L. Bell
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox