From mboxrd@z Thu Jan 1 00:00:00 1970 X-Google-Language: ENGLISH,ASCII-7-bit X-Google-Thread: 102b75,28b0249f7691568e X-Google-Attributes: gid102b75,public X-Google-Thread: 1164f8,28b0249f7691568e X-Google-Attributes: gid1164f8,public From: bruce@hoult.actrix.gen.nz (Bruce Hoult) Subject: Re: Alpha in peril? First Canion, now Pfieffer Date: 1999/04/23 Message-ID: #1/1 X-Deja-AN: 469902190 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> <37202AEC.B40946C3@hda.hydro.com> Organization: The Internet Group Ltd Newsgroups: comp.arch,comp.sys.dec In article <37202AEC.B40946C3@hda.hydro.com>, Terje Mathisen wrote: > > 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. Just checked the docs :-) On a PPC750: PMC1: 128 event types selectable, 12 used PCM2: 64 event types selectable, 12 used (the same as PCM1) PCM3: 32 event types selectable, 16 used (4 same as PCM1/2, 12 unique) PCM4: 32 event types selectable, 13 used (4 same as PCM1/2/3, 9 unique) -- Bruce