Usenet comp.sys.dec (1990-2013)
 help / color / mirror / Atom feed
From: mogul@pa.dec.com (Jeffrey Mogul)
Subject: Re: Cycles of enteig PALcode
Date: 1995/12/14	[thread overview]
Message-ID: <4anv0l$3jc@usenet.pa.dec.com> (raw)
In-Reply-To: 4alru9$dtu@irz201.inf.tu-dresden.de

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



      reply	other threads:[~1995-12-14  5:00 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
1995-12-13  5:00 Cycles of enteig PALcode Sebastian Schoenberg
1995-12-14  5:00 ` Jeffrey Mogul [this message]
read-only archive

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox