* Cycles of enteig PALcode
@ 1995-12-13 5:00 Sebastian Schoenberg
1995-12-14 5:00 ` Jeffrey Mogul
0 siblings, 1 reply; 2+ messages in thread
From: Sebastian Schoenberg @ 1995-12-13 5:00 UTC (permalink / raw)
Well, let's hope I'm right in this group:
Can somebody tell me, where can I find the timing-values and cycles for Alpha 21064
instuctions, in especially entering PALcode and return back to user / kernel mode ?
Thanks in advance.
-------------------------------------------------------------------------------
Sebastian Schoenberg University of Technology Dresden.
Email: ss10@irz.inf.tu-dresden.de WWW : http://www.inf.tu-dresden.de/~ss10
^ permalink raw reply [flat|nested] 2+ messages in thread
* Re: Cycles of enteig PALcode
1995-12-13 5:00 Cycles of enteig PALcode Sebastian Schoenberg
@ 1995-12-14 5:00 ` Jeffrey Mogul
0 siblings, 0 replies; 2+ messages in thread
From: Jeffrey Mogul @ 1995-12-14 5:00 UTC (permalink / raw)
In article <4alru9$dtu@irz201.inf.tu-dresden.de> ss10@irz.inf.tu-dresden.de (Sebastian Schoenberg) writes:
>Can somebody tell me, where can I find the timing-values and cycles for
>Alpha 21064 instuctions, in especially entering PALcode and return back
>to user / kernel mode ?
It's not possible to provide reliable numbers for such timings,
especially for PALcode calls, for several reasons:
(1) The number of cache misses involved in running a PALcode routine
is quite hard to predict.
(2) Even if one could predict the number of cache misses, the cost
in cycles depends on a lot of things (CPU speed in MHz, size of
board cache, speed of board cache, speed of memory, activity of
other CPUs or DMA devices sharing the memory system).
(3) There are many different versions of the PALcode, and new versions
come out all the time (to fix bugs, add features, or improve performance).
(4) I believe there may even be slight differences between different
revisions of the 21064 chip.
(5) The number of instructions executed in a PALcode routine depends
on various things such as input values, CPU state, whether a TLB
miss occurs during the call, etc.
If you want to know how expensive a PALcode call is, the best thing
to do is to measure it directly (e.g., using the cycle-counter
register) under the conditions that interest you: same computer,
same PALcode version, and similar warm-cache or cold-cache status.
-Jeff
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~1995-12-14 5:00 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
1995-12-13 5:00 Cycles of enteig PALcode Sebastian Schoenberg
1995-12-14 5:00 ` Jeffrey Mogul
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox