From mboxrd@z Thu Jan 1 00:00:00 1970 X-Google-Language: ENGLISH,ASCII-7-bit X-Google-Thread: 1164f8,28b0249f7691568e X-Google-Attributes: gid1164f8,public X-Google-Thread: 102b75,28b0249f7691568e X-Google-Attributes: gid102b75,public From: Terje Mathisen Subject: Re: Alpha in peril? First Canion, now Pfieffer Date: 1999/04/23 Message-ID: <37202AEC.B40946C3@hda.hydro.com>#1/1 X-Deja-AN: 469897113 Content-Transfer-Encoding: 7bit References: <371E0444.D23B703D@uk.sun.com> <7flfm9$15vp@news1.newsguy.com> <7fm3ev$e7e$1@news.doit.wisc.edu> <371f1d68.0@news.destek.net> <7fnb76$gms$1@news.doit.wisc.edu> Content-Type: text/plain; charset=us-ascii Organization: Hydro Mime-Version: 1.0 Newsgroups: comp.arch,comp.sys.dec Bruce Hoult wrote: > > In article <7fnb76$gms$1@news.doit.wisc.edu>, "Andy Glew" > wrote: > > > It is unfortunate that there are not enough performance counters > > on the P6 to measure bus utilization while you are also trying to > > measure things like IPC. There are only 2 such counters. > > Interesting that the PPC604 had only two counters, but the 604e and 750 > both increase this to four counters. > > Are the PII performance counters identical? i.e. can they both count > exactly the same things, or different things? The PPC ones let you > monitor some things in any register, but each one has some unique things > that only it can count (which is I guess done because they chose a > particular number of bits to represent what to count and then found that > they wanted to monitor more different things than that...) The P5 & P6 counters have a lot of bits available to specify what to count (16 bits/counter, with one or two bits taken to specify stuff like cycles/instructions). It will probably be a while before a cpu architect needs more than 8 or 16K of different countable hardware events. What would have been really nice would be more counters, with the current setup you really need a steady-state/repeatable environment to get by the two-counter limit. I speculated that Intel would increase this limit when I first revere engineered the Pentium version of the counters back in 1994. Unfortunately, so far I've been wrong. :-( Terje -- - Using self-discipline, see http://www.eiffel.com/discipline "almost all programming can be viewed as an exercise in caching"