* Can POWER4, 5 etc continue where Alpha was stopped?
@ 2001-08-26 17:14 Nova
2001-08-26 22:30 ` del cecchi
` (2 more replies)
0 siblings, 3 replies; 49+ messages in thread
From: Nova @ 2001-08-26 17:14 UTC (permalink / raw)
While I'll never forgive Compaq for killing off Alpha and in
particular EV-8, we got to stop shedding tears and move on. In my
case, we are moving several key customers where we planned to sell
Wildfires to the new Regatta POWER4 systems here in Singapore.
The question is simple: as IBM gets more aggressive with POWER4 and
its successors, is there any bottleneck inherent in the POWER
architecture that prevents it from reaching the same or better ISA and
CPU core elegance, scalability, ultimate speeds etc as Alpha
architecture? I don't want the answers "well, Alpha is not that fast
these days anyway" since that has most to do with Compaq gradually
choking its funding all these years anyway...
In particular, I'd like to see dual EV8-like cores with combined
SMT/DMT and CMP in the future POWER5, as well as those fames Herman
(population count) instructions that seem to benefit Alpha in quite a
few supercomputing apps...
Before that, POWER4+ could maybe get more direct links (like EV7) to
connect directly to at least four other POWER4+ CPUs to enable up to
128-way SMP...
Novba
^ permalink raw reply [flat|nested] 49+ messages in thread* Re: Can POWER4, 5 etc continue where Alpha was stopped? 2001-08-26 17:14 Can POWER4, 5 etc continue where Alpha was stopped? Nova @ 2001-08-26 22:30 ` del cecchi 2001-08-28 17:39 ` Niels Jørgen Kruse 2001-08-27 1:38 ` Robert Deininger 2001-08-28 19:02 ` McCalpin 2 siblings, 1 reply; 49+ messages in thread From: del cecchi @ 2001-08-26 22:30 UTC (permalink / raw) "Nova" <nova@pacific.net.sg> wrote in message news:88525dde.0108260914.7c63d8c3@posting.google.com... > While I'll never forgive Compaq for killing off Alpha and in > particular EV-8, we got to stop shedding tears and move on. In my > case, we are moving several key customers where we planned to sell > Wildfires to the new Regatta POWER4 systems here in Singapore. > > The question is simple: as IBM gets more aggressive with POWER4 and > its successors, is there any bottleneck inherent in the POWER > architecture that prevents it from reaching the same or better ISA and > CPU core elegance, scalability, ultimate speeds etc as Alpha > architecture? I don't want the answers "well, Alpha is not that fast > these days anyway" since that has most to do with Compaq gradually > choking its funding all these years anyway... > > In particular, I'd like to see dual EV8-like cores with combined > SMT/DMT and CMP in the future POWER5, as well as those fames Herman > (population count) instructions that seem to benefit Alpha in quite a > few supercomputing apps... > > Before that, POWER4+ could maybe get more direct links (like EV7) to > connect directly to at least four other POWER4+ CPUs to enable up to > 128-way SMP... > > Novba The first power4 chips have direct chip to chip links on the 4 chip MCM to provide a 8 processor SMP on a single MCM. Check out the Microprocessor forum and Hot Chips presentations. del cecchi ^ permalink raw reply [flat|nested] 49+ messages in thread
* Re: Can POWER4, 5 etc continue where Alpha was stopped? 2001-08-26 22:30 ` del cecchi @ 2001-08-28 17:39 ` Niels Jørgen Kruse 2001-08-28 18:47 ` Christer Palm 0 siblings, 1 reply; 49+ messages in thread From: Niels Jørgen Kruse @ 2001-08-28 17:39 UTC (permalink / raw) I artiklen <sMei7.1186$tV6.44104@eagle.america.net> , "del cecchi" <dcecchi@msn.com> skrev: > The first power4 chips have direct chip to chip links on the 4 chip MCM > to provide a 8 processor SMP on a single MCM. Check out the > Microprocessor forum and Hot Chips presentations. What is the interconnect between MCM's? How is IO hooked up? -- Mvh./Regards, Niels J�rgen Kruse, Vanl�se, Denmark ^ permalink raw reply [flat|nested] 49+ messages in thread
* Re: Can POWER4, 5 etc continue where Alpha was stopped? 2001-08-28 17:39 ` Niels Jørgen Kruse @ 2001-08-28 18:47 ` Christer Palm 2001-08-28 20:00 ` Del Cecchi 0 siblings, 1 reply; 49+ messages in thread From: Christer Palm @ 2001-08-28 18:47 UTC (permalink / raw) Niels J�rgen Kruse wrote: > > I artiklen <sMei7.1186$tV6.44104@eagle.america.net> , "del cecchi" > <dcecchi@msn.com> skrev: > > > The first power4 chips have direct chip to chip links on the 4 chip MCM > > to provide a 8 processor SMP on a single MCM. Check out the > > Microprocessor forum and Hot Chips presentations. > > What is the interconnect between MCM's? How is IO hooked up? > Check out http://mdronline.com/mpr/h/2000/1120/144703.html. Each MCM obviously has 4 MCM-MCM 64-bit switches/buses operating at ~4GB/s for MCM-to-MCM interconnect allowing for up to 4 MCM's to be interconnected in a "ring topology" for a total of 32 CPU's. On top of that, each chip has its own 128-bit ~10GB/s full-duplex memory bus designed to interface with the special external L3 cache and main memory. It is unclear from the referenced document if that bus is shared among the 4 chips in a MCM or not. For I/O, each chip is also fitted with a 32-bit ~2GB/s full duplex "GX" bus for I/O and also for clustering with external systems in a NUMA arrangement. -- Christer Palm ^ permalink raw reply [flat|nested] 49+ messages in thread
* Re: Can POWER4, 5 etc continue where Alpha was stopped? 2001-08-28 18:47 ` Christer Palm @ 2001-08-28 20:00 ` Del Cecchi 0 siblings, 0 replies; 49+ messages in thread From: Del Cecchi @ 2001-08-28 20:00 UTC (permalink / raw) [-- Warning: decoded text below may be mangled, UTF-8 assumed --] [-- Attachment #1: Type: text/plain, Size: 1634 bytes --] In article <3B8C0378.106C4929@nogui.se>, Christer Palm <palm@nogui.se> writes: |> Niels J�rgen Kruse wrote: |> > |> > I artiklen <sMei7.1186$tV6.44104@eagle.america.net> , "del cecchi" |> > <dcecchi@msn.com> skrev: |> > |> > > The first power4 chips have direct chip to chip links on the 4 chip MCM |> > > to provide a 8 processor SMP on a single MCM. Check out the |> > > Microprocessor forum and Hot Chips presentations. |> > |> > What is the interconnect between MCM's? How is IO hooked up? |> > |> |> Check out http://mdronline.com/mpr/h/2000/1120/144703.html. |> |> Each MCM obviously has 4 MCM-MCM 64-bit switches/buses operating at |> ~4GB/s for MCM-to-MCM interconnect allowing for up to 4 MCM's to be |> interconnected in a "ring topology" for a total of 32 CPU's. |> |> On top of that, each chip has its own 128-bit ~10GB/s full-duplex memory |> bus designed to interface with the special external L3 cache and main |> memory. It is unclear from the referenced document if that bus is shared |> among the 4 chips in a MCM or not. |> |> For I/O, each chip is also fitted with a 32-bit ~2GB/s full duplex "GX" |> bus for I/O and also for clustering with external systems in a NUMA |> arrangement. |> |> -- |> Christer Palm The GX bus in turn is converted into multiple RIO links, which can drive cables to other towers. RIO is a 500 MB/second/direction source synchronous interconnect. A link has a byte-wide path in each direction. The RIO links can be bridged to the I/O of your choice, so you can probably get microchannel if you want it. :-) Mostly PCI is expected. -- Del Cecchi cecchi@rchland ^ permalink raw reply [flat|nested] 49+ messages in thread
* Re: Can POWER4, 5 etc continue where Alpha was stopped? 2001-08-26 17:14 Can POWER4, 5 etc continue where Alpha was stopped? Nova 2001-08-26 22:30 ` del cecchi @ 2001-08-27 1:38 ` Robert Deininger 2001-08-27 17:12 ` Richard Tomkins 2001-08-28 19:02 ` McCalpin 2 siblings, 1 reply; 49+ messages in thread From: Robert Deininger @ 2001-08-27 1:38 UTC (permalink / raw) In article <88525dde.0108260914.7c63d8c3@posting.google.com>, nova@pacific.net.sg (Nova) wrote: > While I'll never forgive Compaq for killing off Alpha and in > particular EV-8, we got to stop shedding tears and move on. In my > case, we are moving several key customers where we planned to sell > Wildfires to the new Regatta POWER4 systems here in Singapore. > > The question is simple: as IBM gets more aggressive with POWER4 and > its successors, is there any bottleneck inherent in the POWER > architecture that prevents it from reaching the same or better ISA and > CPU core elegance, scalability, ultimate speeds etc as Alpha > architecture? If you can't answer that question without help, why are you recommending POWER4 systems to your customers? You seem to have already decided, and are now seeking some usenet "wisdom" to back up your decision. I hope your customers are duly impressed. Back when you planned to sell your customers Wildfires, did you have any particular reasons? I assume you didn't plan to sell EV8 systems anytime soon, and the plans for EV6 and EV7 systems haven't changed. So if you had technical reasons to recommend Wildfires, it seems those reasons haven't changed. >I don't want the answers "well, Alpha is not that fast > these days anyway" since that has most to do with Compaq gradually > choking its funding all these years anyway... Then why were you planning to sell alphas to your customers? -- Robert Deininger rdeininger@mindspring.com ^ permalink raw reply [flat|nested] 49+ messages in thread
* Re: Can POWER4, 5 etc continue where Alpha was stopped? 2001-08-27 1:38 ` Robert Deininger @ 2001-08-27 17:12 ` Richard Tomkins 0 siblings, 0 replies; 49+ messages in thread From: Richard Tomkins @ 2001-08-27 17:12 UTC (permalink / raw) You tell him Robert. Besides, for your free advice, he's liable to make $600,000 USD this year. rtt "Robert Deininger" <rdeininger@mindspring.com> wrote in message news:rdeininger-2608012138040001@user-2ive7b8.dialup.mindspring.com... > In article <88525dde.0108260914.7c63d8c3@posting.google.com>, > nova@pacific.net.sg (Nova) wrote: > > > While I'll never forgive Compaq for killing off Alpha and in > > particular EV-8, we got to stop shedding tears and move on. In my > > case, we are moving several key customers where we planned to sell > > Wildfires to the new Regatta POWER4 systems here in Singapore. > > > > The question is simple: as IBM gets more aggressive with POWER4 and > > its successors, is there any bottleneck inherent in the POWER > > architecture that prevents it from reaching the same or better ISA and > > CPU core elegance, scalability, ultimate speeds etc as Alpha > > architecture? > > If you can't answer that question without help, why are you recommending > POWER4 systems to your customers? You seem to have already decided, and > are now seeking some usenet "wisdom" to back up your decision. I hope > your customers are duly impressed. > > Back when you planned to sell your customers Wildfires, did you have any > particular reasons? I assume you didn't plan to sell EV8 systems anytime > soon, and the plans for EV6 and EV7 systems haven't changed. So if you > had technical reasons to recommend Wildfires, it seems those reasons > haven't changed. > > >I don't want the answers "well, Alpha is not that fast > > these days anyway" since that has most to do with Compaq gradually > > choking its funding all these years anyway... > > Then why were you planning to sell alphas to your customers? > > -- > Robert Deininger > rdeininger@mindspring.com ^ permalink raw reply [flat|nested] 49+ messages in thread
* Re: Can POWER4, 5 etc continue where Alpha was stopped? 2001-08-26 17:14 Can POWER4, 5 etc continue where Alpha was stopped? Nova 2001-08-26 22:30 ` del cecchi 2001-08-27 1:38 ` Robert Deininger @ 2001-08-28 19:02 ` McCalpin 2001-08-28 10:14 ` Bruce Hoult 2001-08-28 20:38 ` Andi Kleen 2 siblings, 2 replies; 49+ messages in thread From: McCalpin @ 2001-08-28 19:02 UTC (permalink / raw) In article <88525dde.0108260914.7c63d8c3@posting.google.com>, Nova <nova@pacific.net.sg> wrote: >While I'll never forgive Compaq for killing off Alpha and in >particular EV-8, we got to stop shedding tears and move on. In my >case, we are moving several key customers where we planned to sell >Wildfires to the new Regatta POWER4 systems here in Singapore. I can't complain about that! >The question is simple: as IBM gets more aggressive with POWER4 and >its successors, is there any bottleneck inherent in the POWER >architecture that prevents it from reaching the same or better ISA and >CPU core elegance, scalability, ultimate speeds etc as Alpha >architecture? The 64-bit PowerPC architecture is a bit richer than the Alpha ISA, which means that high-performance implementations require more effort. In POWER4, we have used an implementation route that allows us to optimize for the simple op-codes and handle the more complex opcodes with either "cracking" (in-line expansion into a small number of more primitive ops) or simple microcoding. (This was disclosed in MicroProcessor Report Volume 13, Number 13, October 6, 1999.) Once you move the more complex ops off of the critical path, we have about the same challenges as a simpler ISA at achieving high frequency operation while keeping the pipeline as short as possible. >In particular, I'd like to see dual EV8-like cores with combined >SMT/DMT and CMP in the future POWER5, as well as those fames Herman >(population count) instructions that seem to benefit Alpha in quite a >few supercomputing apps... I can't comment on POWER5 (except that it will be "real good"), but I would be really surprised if pop count were useful in "quite a few" supercomputing applications. I know of only one customer that is very interested in that operation, and have only found one use for it in my own experience..... (It is a very easy way to determine if an integer is a power of two -- though I don't usually care about how long it takes to make this determination.) >Before that, POWER4+ could maybe get more direct links (like EV7) to >connect directly to at least four other POWER4+ CPUs to enable up to >128-way SMP... The POWER4 "building block" is a 4-chip (8-cpu) module. We have already disclosed in public that we will be putting up to four of these modules together to make up to 32-cpu systems. More good stuff is coming along as we continue development of the product line -- some with POWER4, some with POWER5, and some with POWER6. Of course, I can't talk about any of that here..... -- John D. McCalpin, Ph.D. mccalpin@austin.ibm.com Senior Technical Staff Member IBM POWER Microprocessor Development "I am willing to make mistakes as long as someone else is willing to learn from them." ^ permalink raw reply [flat|nested] 49+ messages in thread
* Re: Can POWER4, 5 etc continue where Alpha was stopped? 2001-08-28 19:02 ` McCalpin @ 2001-08-28 10:14 ` Bruce Hoult 2001-08-29 0:03 ` McCalpin 2001-08-28 20:38 ` Andi Kleen 1 sibling, 1 reply; 49+ messages in thread From: Bruce Hoult @ 2001-08-28 10:14 UTC (permalink / raw) In article <9mgps0$12ee$1@ausnews.austin.ibm.com>, mccalpin@austin.ibm.com wrote: > I can't comment on POWER5 (except that it will be "real good"), > but I would be really surprised if pop count were useful in "quite > a few" supercomputing applications. I know of only one customer > that is very interested in that operation, and have only found > one use for it in my own experience..... (It is a very easy way > to determine if an integer is a power of two -- though I don't > usually care about how long it takes to make this determination.) It's not needed for that -- (x & (x-1)) is zero IFF x is a power of two (or zero). It works by clearing the least significant set bit. I'm sure you knew this. -- Bruce ^ permalink raw reply [flat|nested] 49+ messages in thread
* Re: Can POWER4, 5 etc continue where Alpha was stopped? 2001-08-28 10:14 ` Bruce Hoult @ 2001-08-29 0:03 ` McCalpin 2001-08-28 15:27 ` Bruce Hoult 2001-08-29 6:25 ` Terje Mathisen 0 siblings, 2 replies; 49+ messages in thread From: McCalpin @ 2001-08-29 0:03 UTC (permalink / raw) In article <bruce-AD55D9.22144128082001@news.akl.ihug.co.nz>, Bruce Hoult <bruce@hoult.org> wrote: >In article <9mgps0$12ee$1@ausnews.austin.ibm.com>, >mccalpin@austin.ibm.com wrote: > >> , and [I] have only found >> one use for [pop count] in my own experience..... (It is a very easy way >> to determine if an integer is a power of two -- though I don't >> usually care about how long it takes to make this determination.) > >It's not needed for that -- (x & (x-1)) is zero IFF x is a power of two >(or zero). It works by clearing the least significant set bit. Ouch -- that sort of bit twiddling makes my poor Fortran brain hurt. I hate it when I run across coding like this. >I'm sure you knew this. I did not know it, but I am trying to forget it as fast as I can! -- John D. McCalpin, Ph.D. mccalpin@austin.ibm.com Senior Technical Staff Member IBM POWER Microprocessor Development "I am willing to make mistakes as long as someone else is willing to learn from them." ^ permalink raw reply [flat|nested] 49+ messages in thread
* Re: Can POWER4, 5 etc continue where Alpha was stopped? 2001-08-29 0:03 ` McCalpin @ 2001-08-28 15:27 ` Bruce Hoult 2001-08-29 6:25 ` Terje Mathisen 1 sibling, 0 replies; 49+ messages in thread From: Bruce Hoult @ 2001-08-28 15:27 UTC (permalink / raw) In article <9mhbh0$pbq$1@ausnews.austin.ibm.com>, mccalpin@gmp246.austin.ibm.com (McCalpin) wrote: > In article <bruce-AD55D9.22144128082001@news.akl.ihug.co.nz>, > Bruce Hoult <bruce@hoult.org> wrote: > >In article <9mgps0$12ee$1@ausnews.austin.ibm.com>, > >mccalpin@austin.ibm.com wrote: > > > >> , and [I] have only found > >> one use for [pop count] in my own experience..... (It is a very easy > >> way > >> to determine if an integer is a power of two -- though I don't > >> usually care about how long it takes to make this determination.) > > > >It's not needed for that -- (x & (x-1)) is zero IFF x is a power of two > >(or zero). It works by clearing the least significant set bit. > > Ouch -- that sort of bit twiddling makes my poor Fortran brain > hurt. I hate it when I run across coding like this. I wouldn't want to see it uncommented somewhere, but it's a perfectly fine thing to have smewhere in an (inline) function called IsPowerOfTwo(). -- Bruce ^ permalink raw reply [flat|nested] 49+ messages in thread
* Re: Can POWER4, 5 etc continue where Alpha was stopped? 2001-08-29 0:03 ` McCalpin 2001-08-28 15:27 ` Bruce Hoult @ 2001-08-29 6:25 ` Terje Mathisen 2001-08-29 11:48 ` George Coulouris 2001-08-29 21:45 ` Maynard Handley 1 sibling, 2 replies; 49+ messages in thread From: Terje Mathisen @ 2001-08-29 6:25 UTC (permalink / raw) McCalpin wrote: > > In article <bruce-AD55D9.22144128082001@news.akl.ihug.co.nz>, > Bruce Hoult <bruce@hoult.org> wrote: > >In article <9mgps0$12ee$1@ausnews.austin.ibm.com>, > >mccalpin@austin.ibm.com wrote: > > > >> , and [I] have only found > >> one use for [pop count] in my own experience..... (It is a very easy way > >> to determine if an integer is a power of two -- though I don't > >> usually care about how long it takes to make this determination.) > > > >It's not needed for that -- (x & (x-1)) is zero IFF x is a power of two > >(or zero). It works by clearing the least significant set bit. > > Ouch -- that sort of bit twiddling makes my poor Fortran brain > hurt. I hate it when I run across coding like this. > > >I'm sure you knew this. > > I did not know it, but I am trying to forget it as fast as I can! Why??? Optimized code can indeed make use of a fast way to determine if a number is a power of two, I've used that particular idiom several times. popcount() is also useful, mostly when working with bitmaps. A possible use would be for SQL runtime optimization, when joining bitmaps to determine the best evaluation order. I suspect that NSA could use it as a quick way to detect patterns that significantly differ from purely random bitstreams? Terje -- - <Terje.Mathisen@hda.hydro.com> Using self-discipline, see http://www.eiffel.com/discipline "almost all programming can be viewed as an exercise in caching" ^ permalink raw reply [flat|nested] 49+ messages in thread
* Re: Can POWER4, 5 etc continue where Alpha was stopped? 2001-08-29 6:25 ` Terje Mathisen @ 2001-08-29 11:48 ` George Coulouris 2001-08-29 17:30 ` Terje Mathisen 2001-08-29 21:45 ` Maynard Handley 1 sibling, 1 reply; 49+ messages in thread From: George Coulouris @ 2001-08-29 11:48 UTC (permalink / raw) Terje Mathisen <terje.mathisen@hda.hydro.com> wrote: [snip] >popcount() is also useful, mostly when working with bitmaps. > >A possible use would be for SQL runtime optimization, when joining >bitmaps to determine the best evaluation order. > >I suspect that NSA could use it as a quick way to detect patterns that >significantly differ from purely random bitstreams? > >Terje Wouldn't popcount(a xor b) give the Hamming distance between two code words? -George ^ permalink raw reply [flat|nested] 49+ messages in thread
* Re: Can POWER4, 5 etc continue where Alpha was stopped? 2001-08-29 11:48 ` George Coulouris @ 2001-08-29 17:30 ` Terje Mathisen 2001-08-29 19:32 ` Terje Mathisen 0 siblings, 1 reply; 49+ messages in thread From: Terje Mathisen @ 2001-08-29 17:30 UTC (permalink / raw) George Coulouris wrote: > > Terje Mathisen <terje.mathisen@hda.hydro.com> wrote: > [snip] > > >popcount() is also useful, mostly when working with bitmaps. > > > >A possible use would be for SQL runtime optimization, when joining > >bitmaps to determine the best evaluation order. > > > >I suspect that NSA could use it as a quick way to detect patterns that > >significantly differ from purely random bitstreams? > > > >Terje > > Wouldn't popcount(a xor b) give the Hamming distance between two code words? Right, this is a specific example of what I mentioned. Terje PS. My SQL example isn't really that good, because when working with _big_ bitmaps, not just one or a few registers worth of bits, there are algorithms which perform very well even without a bitcount() opcode. I believe it was Robert Harley who first showed me how you could use bitslice operations to combine 15 64-bit words into just 4, and then do the popcount() on each of those in paralell. The resulting code runs at about 1-2 cycles/word, depending upon how many operations the cpu can handle per cycle. So, for the popcount opcode to be a win, it must allow superscalar execution and at least one result per cycle. Terje -- - <Terje.Mathisen@hda.hydro.com> Using self-discipline, see http://www.eiffel.com/discipline "almost all programming can be viewed as an exercise in caching" ^ permalink raw reply [flat|nested] 49+ messages in thread
* Re: Can POWER4, 5 etc continue where Alpha was stopped? 2001-08-29 17:30 ` Terje Mathisen @ 2001-08-29 19:32 ` Terje Mathisen 0 siblings, 0 replies; 49+ messages in thread From: Terje Mathisen @ 2001-08-29 19:32 UTC (permalink / raw) I've been asked in email to explain this algorithm, from the headers it looks a lot like that email was also posted, but just in case I'll keep the originator anonymous. Terje Mathisen wrote: > I believe it was Robert Harley who first showed me how you could use > bitslice operations to combine 15 64-bit words into just 4, and then do > the popcount() on each of those in paralell. > > The resulting code runs at about 1-2 cycles/word, depending upon how > many operations the cpu can handle per cycle. | Do you have detailed description of this algorithm handy? First, Mea Culpa! The speed should have been per byte of input, not per word. Ouch. :-( The algorithm is based on parallel evaluation of full adders. I.e. a full adder has 3 input bits (a, b, carry_in) and returns two result bits (sum, carry_out). This can be implemented with just a few basic logic operations: temp = a xor b sum = temp xor carry_in carry_out = (a and b) or (temp and carry_in) or in C: temp = a ^ b; sum = temp ^ carry_in; carry_out = (a & b) | (temp & carry_in); With a normal three-operand cpu, the code above translates into 5 opcodes, taking 2.5 cycles on a dual-issue machine. So the way to do this using 64 or 128-bit registers is to define macros to do these basic operations, and then combine them, i.e. to go from 7 inputs to 3 takes these operations: (x1, x0) = full_add(i0, i1, i2); (y1, y0) = full_add(i3, i4, i5); (z1, s0) = full_add(x0, y0, i6); (s2, s1) = full_add(x1, y1, z1); This is a total of 4*5=20 instructions, plus 7 load operations. At this point we have three result words (s2, s1, s0), where each set bit in s2 is worth two bits in s1 and four in s0. (Starting with 15 inputs would result in 4 result words, which makes the final bit counting a little easier to parallelize.) s0 = (s0 & MASK1) + ((s0 >> 1) & MASK1); // Max count = 2, MASK1 = 55555555... s1 = (s1 & MASK1) + ((s1 >> 1) & MASK1); s2 = (s2 & MASK1) + ((s2 >> 1) & MASK1); 12 ops s0 = (s0 & MASK2) + ((s0 >> 2) & MASK2); // Max count = 4, MASK2 = 33333333... s1 = (s1 & MASK2) + ((s1 >> 2) & MASK2); s2 = (s2 & MASK2) + ((s2 >> 2) & MASK2); 12 ops (There is another way to do these initial operations which is slightly faster but harder to understand, I believe it dates back to the original MIT hackers.) s0 = (s0 + (s0 >> 4)) & MASK4_8; // Max count = 8, MASK4_8 = 0f0f0f0f... s1 = (s1 + (s1 >> 4)) & MASK4_8; s1 = (s1 + (s1 >> 4)) & MASK4_8; 9 ops s0 = s0 + (s0 >> 8) + (s1 << 1) + (s1 >> 7) + (s2 << 2) + (s2 >> 6); // Max count = 16+32+64 = 112 10 ops s0 = (s0 + (s0 >> 16)) & MASK8_32; // Max count = 224, MASK = 000000ff000000ff 3 ops count = (s0 + (s0 >> 32)) & 511; // Max count = 448 (7 * 64) 3 ops. The total seems to be 76 instructions to count the bits set in 56 bytes, working with 120 input bytes gets even closer to 1 instruction/byte, but this is still 2-4 times slower than a single-cycle popcount() opcode. Terje -- - <Terje.Mathisen@hda.hydro.com> Using self-discipline, see http://www.eiffel.com/discipline "almost all programming can be viewed as an exercise in caching" ^ permalink raw reply [flat|nested] 49+ messages in thread
* Re: Can POWER4, 5 etc continue where Alpha was stopped? 2001-08-29 6:25 ` Terje Mathisen 2001-08-29 11:48 ` George Coulouris @ 2001-08-29 21:45 ` Maynard Handley 2001-08-31 10:09 ` Terje Mathisen 1 sibling, 1 reply; 49+ messages in thread From: Maynard Handley @ 2001-08-29 21:45 UTC (permalink / raw) In article <3B8C8AC4.59ED22CB@hda.hydro.com>, Terje Mathisen <terje.mathisen@hda.hydro.com> wrote: > McCalpin wrote: > > > > In article <bruce-AD55D9.22144128082001@news.akl.ihug.co.nz>, > > Bruce Hoult <bruce@hoult.org> wrote: > > >In article <9mgps0$12ee$1@ausnews.austin.ibm.com>, > > >mccalpin@austin.ibm.com wrote: > > > > > >> , and [I] have only found > > >> one use for [pop count] in my own experience..... (It is a very easy way > > >> to determine if an integer is a power of two -- though I don't > > >> usually care about how long it takes to make this determination.) > > > > > >It's not needed for that -- (x & (x-1)) is zero IFF x is a power of two > > >(or zero). It works by clearing the least significant set bit. > > > > Ouch -- that sort of bit twiddling makes my poor Fortran brain > > hurt. I hate it when I run across coding like this. > > > > >I'm sure you knew this. > > > > I did not know it, but I am trying to forget it as fast as I can! > > Why??? > > Optimized code can indeed make use of a fast way to determine if a > number is a power of two, I've used that particular idiom several times. I think the main thing is to ensure that things like this are wrapped in a macro rather than directly in the code. Not only does that make the code much easier to read but it allows one to restructure the macro if appropriate to a new platform. (Unlikely for this example, but can be likely in other situations eg when one moves from big to little-endian.) Maynard > popcount() is also useful, mostly when working with bitmaps. > > A possible use would be for SQL runtime optimization, when joining > bitmaps to determine the best evaluation order. > > I suspect that NSA could use it as a quick way to detect patterns that > significantly differ from purely random bitstreams? > > Terje > > -- > - <Terje.Mathisen@hda.hydro.com> > Using self-discipline, see http://www.eiffel.com/discipline > "almost all programming can be viewed as an exercise in caching" ^ permalink raw reply [flat|nested] 49+ messages in thread
* Re: Can POWER4, 5 etc continue where Alpha was stopped? 2001-08-29 21:45 ` Maynard Handley @ 2001-08-31 10:09 ` Terje Mathisen 2001-08-31 16:09 ` Serguei Patchkovskii 0 siblings, 1 reply; 49+ messages in thread From: Terje Mathisen @ 2001-08-31 10:09 UTC (permalink / raw) Maynard Handley wrote: > > In article <3B8C8AC4.59ED22CB@hda.hydro.com>, Terje Mathisen > <terje.mathisen@hda.hydro.com> wrote: > > Optimized code can indeed make use of a fast way to determine if a > > number is a power of two, I've used that particular idiom several times. > > I think the main thing is to ensure that things like this are wrapped in a > macro rather than directly in the code. Not only does that make the code > much easier to read but it allows one to restructure the macro if > appropriate to a new platform. (Unlikely for this example, but can be > likely in other situations eg when one moves from big to little-endian.) Absolutely! In my own code I've tried to use this kind of stuff inside a macro, i.e. if (ispowerof2(n)) { ... } This also makes it much easier to replace the macro with a function, something that would be needed if I later needed to switch to a different (fp?) number format. BTW, the same test on a single prec fp number is even easier, since it just needs to verify that the fractional part of the mantissa is zero: #define float_ispowerof2(n) (((*(t_uint32 *) &n) & 0x07ffffff) == 0) Terje -- - <Terje.Mathisen@hda.hydro.com> Using self-discipline, see http://www.eiffel.com/discipline "almost all programming can be viewed as an exercise in caching" ^ permalink raw reply [flat|nested] 49+ messages in thread
* Re: Can POWER4, 5 etc continue where Alpha was stopped? 2001-08-31 10:09 ` Terje Mathisen @ 2001-08-31 16:09 ` Serguei Patchkovskii 2001-09-01 19:51 ` Terje Mathisen 0 siblings, 1 reply; 49+ messages in thread From: Serguei Patchkovskii @ 2001-08-31 16:09 UTC (permalink / raw) Terje Mathisen (terje.mathisen@hda.hydro.com) wrote: : BTW, the same test on a single prec fp number is even easier, since it : just needs to verify that the fractional part of the mantissa is zero: : #define float_ispowerof2(n) (((*(t_uint32 *) &n) & 0x07ffffff) == 0) Ugh, doesn't it miss all denormalized powers of two? /Serge.P --- Home page: http://www.cobalt.chem.ucalgary.ca/ps/ ^ permalink raw reply [flat|nested] 49+ messages in thread
* Re: Can POWER4, 5 etc continue where Alpha was stopped? 2001-08-31 16:09 ` Serguei Patchkovskii @ 2001-09-01 19:51 ` Terje Mathisen 0 siblings, 0 replies; 49+ messages in thread From: Terje Mathisen @ 2001-09-01 19:51 UTC (permalink / raw) Serguei Patchkovskii wrote: > > Terje Mathisen (terje.mathisen@hda.hydro.com) wrote: > : BTW, the same test on a single prec fp number is even easier, since it > : just needs to verify that the fractional part of the mantissa is zero: > > : #define float_ispowerof2(n) (((*(t_uint32 *) &n) & 0x07ffffff) == 0) > > Ugh, doesn't it miss all denormalized powers of two? Well, yes. That's why you might need to replace the macro with a real function, i.e. if you cannot guarantee that all numbers will be normalized. One way to do so is to expand the float values to double, the test is still nearly the same. Going from double to extended precision isn't nearly so nice however: Very unportable, and sometimes extremely slow. :-( Terje -- - <Terje.Mathisen@hda.hydro.com> Using self-discipline, see http://www.eiffel.com/discipline "almost all programming can be viewed as an exercise in caching" ^ permalink raw reply [flat|nested] 49+ messages in thread
* Re: Can POWER4, 5 etc continue where Alpha was stopped? 2001-08-28 19:02 ` McCalpin 2001-08-28 10:14 ` Bruce Hoult @ 2001-08-28 20:38 ` Andi Kleen 2001-08-28 10:16 ` Bruce Hoult ` (3 more replies) 1 sibling, 4 replies; 49+ messages in thread From: Andi Kleen @ 2001-08-28 20:38 UTC (permalink / raw) mccalpin@gmp246.austin.ibm.com (McCalpin) writes: > The 64-bit PowerPC architecture is a bit richer than the Alpha > ISA, which means that high-performance implementations require > more effort. In POWER4, we have used an implementation route > that allows us to optimize for the simple op-codes and handle > the more complex opcodes with either "cracking" (in-line expansion > into a small number of more primitive ops) or simple microcoding. > (This was disclosed in MicroProcessor Report Volume 13, Number 13, > October 6, 1999.) Once you move the more complex ops off of the > critical path, we have about the same challenges as a simpler ISA > at achieving high frequency operation while keeping the pipeline > as short as possible. Doesn't this mean that POWER/PPC as a RISC ISA (= one where every instruction is speed critical) has failed when old CISC tricks (microcoding; uops) are needed again? -Andi ^ permalink raw reply [flat|nested] 49+ messages in thread
* Re: Can POWER4, 5 etc continue where Alpha was stopped? 2001-08-28 20:38 ` Andi Kleen @ 2001-08-28 10:16 ` Bruce Hoult 2001-08-28 20:51 ` Nick Maclaren ` (2 subsequent siblings) 3 siblings, 0 replies; 49+ messages in thread From: Bruce Hoult @ 2001-08-28 10:16 UTC (permalink / raw) In article <oup4rqrkjhh.fsf@pigdrop.muc.suse.de>, Andi Kleen <freitag@alancoxonachip.com> wrote: > Doesn't this mean that POWER/PPC as a RISC ISA (= one where every > instruction is speed critical) has failed when old CISC tricks > (microcoding; uops) are needed again? With instructions such as load/store multiple, it clearly never even tried for 100% purity. That doesn't make it the moral equivalent of x86 or something though. -- Bruce ^ permalink raw reply [flat|nested] 49+ messages in thread
* Re: Can POWER4, 5 etc continue where Alpha was stopped? 2001-08-28 20:38 ` Andi Kleen 2001-08-28 10:16 ` Bruce Hoult @ 2001-08-28 20:51 ` Nick Maclaren 2001-08-28 23:04 ` Andi Kleen 2001-08-28 21:16 ` Greg Lindahl 2001-08-29 0:06 ` McCalpin 3 siblings, 1 reply; 49+ messages in thread From: Nick Maclaren @ 2001-08-28 20:51 UTC (permalink / raw) In article <oup4rqrkjhh.fsf@pigdrop.muc.suse.de>, Andi Kleen <freitag@alancoxonachip.com> wrote: >mccalpin@gmp246.austin.ibm.com (McCalpin) writes: > >> The 64-bit PowerPC architecture is a bit richer than the Alpha >> ISA, which means that high-performance implementations require >> more effort. In POWER4, we have used an implementation route >> that allows us to optimize for the simple op-codes and handle >> the more complex opcodes with either "cracking" (in-line expansion >> into a small number of more primitive ops) or simple microcoding. >> (This was disclosed in MicroProcessor Report Volume 13, Number 13, >> October 6, 1999.) Once you move the more complex ops off of the >> critical path, we have about the same challenges as a simpler ISA >> at achieving high frequency operation while keeping the pipeline >> as short as possible. > >Doesn't this mean that POWER/PPC as a RISC ISA (= one where every >instruction is speed critical) has failed when old CISC tricks >(microcoding; uops) are needed again? Perhaps. Examples of a successful RISC architecture would be interesting :-) Regards, Nick Maclaren, University of Cambridge Computing Service, New Museums Site, Pembroke Street, Cambridge CB2 3QG, England. Email: nmm1@cam.ac.uk Tel.: +44 1223 334761 Fax: +44 1223 334679 ^ permalink raw reply [flat|nested] 49+ messages in thread
* Re: Can POWER4, 5 etc continue where Alpha was stopped? 2001-08-28 20:51 ` Nick Maclaren @ 2001-08-28 23:04 ` Andi Kleen 2001-08-29 7:59 ` Nick Maclaren 2001-08-30 20:18 ` Wow 0 siblings, 2 replies; 49+ messages in thread From: Andi Kleen @ 2001-08-28 23:04 UTC (permalink / raw) nmm1@cus.cam.ac.uk (Nick Maclaren) writes: > Perhaps. Examples of a successful RISC architecture would be > interesting :-) e.g. ARM -Andi ^ permalink raw reply [flat|nested] 49+ messages in thread
* Re: Can POWER4, 5 etc continue where Alpha was stopped? 2001-08-28 23:04 ` Andi Kleen @ 2001-08-29 7:59 ` Nick Maclaren 2001-08-30 20:18 ` Wow 1 sibling, 0 replies; 49+ messages in thread From: Nick Maclaren @ 2001-08-29 7:59 UTC (permalink / raw) In article <oupy9o3iy73.fsf@pigdrop.muc.suse.de>, Andi Kleen <freitag@alancoxonachip.com> wrote: >nmm1@cus.cam.ac.uk (Nick Maclaren) writes: > >> Perhaps. Examples of a successful RISC architecture would be >> interesting :-) > >e.g. ARM Perhaps I should have put a smiley! There are lots of successful so-called RISC, but one thing that they all have in common is heresy. There are lots of ways in which ARM is not a RISC architecture, even excluding the floating-point (which, as usual, is as CISC as CISC can be). Such as not being load/store/operate. As I have said before, good performance comes from good design, RISC was initially a response to certain mistakes of the 1970s, it then became a religion (complete with priests, dogma, schisms and heresy), and is now a marketing label. Regards, Nick Maclaren, University of Cambridge Computing Service, New Museums Site, Pembroke Street, Cambridge CB2 3QG, England. Email: nmm1@cam.ac.uk Tel.: +44 1223 334761 Fax: +44 1223 334679 ^ permalink raw reply [flat|nested] 49+ messages in thread
* Re: Can POWER4, 5 etc continue where Alpha was stopped? 2001-08-28 23:04 ` Andi Kleen 2001-08-29 7:59 ` Nick Maclaren @ 2001-08-30 20:18 ` Wow 2001-08-31 7:47 ` Terry C. Shannon 1 sibling, 1 reply; 49+ messages in thread From: Wow @ 2001-08-30 20:18 UTC (permalink / raw) Andi Kleen <freitag@alancoxonachip.com> wrote in message news:<oupy9o3iy73.fsf@pigdrop.muc.suse.de>... > nmm1@cus.cam.ac.uk (Nick Maclaren) writes: > > > Perhaps. Examples of a successful RISC architecture would be > > interesting :-) > > e.g. ARM > > -Andi SPARC, PowerPC ( macs, RS/6000s - pSeries , embedded apps ) , ^ permalink raw reply [flat|nested] 49+ messages in thread
* Re: Can POWER4, 5 etc continue where Alpha was stopped? 2001-08-30 20:18 ` Wow @ 2001-08-31 7:47 ` Terry C. Shannon 2001-08-31 9:09 ` Ketil Z Malde 2001-08-31 12:20 ` Nick Maclaren 0 siblings, 2 replies; 49+ messages in thread From: Terry C. Shannon @ 2001-08-31 7:47 UTC (permalink / raw) "Wow" <chfong@yahoo.com> wrote in message news:203e73fa.0108301218.124ce868@posting.google.com... > Andi Kleen <freitag@alancoxonachip.com> wrote in message news:<oupy9o3iy73.fsf@pigdrop.muc.suse.de>... > > nmm1@cus.cam.ac.uk (Nick Maclaren) writes: > > > > > Perhaps. Examples of a successful RISC architecture would be > > > interesting :-) > > > > e.g. ARM > > > > -Andi > > SPARC, PowerPC ( macs, RS/6000s - pSeries , embedded apps ) , SPARC still needs OOE. Don't hold your breath... except that Sun can Market! ^ permalink raw reply [flat|nested] 49+ messages in thread
* Re: Can POWER4, 5 etc continue where Alpha was stopped? 2001-08-31 7:47 ` Terry C. Shannon @ 2001-08-31 9:09 ` Ketil Z Malde 2001-08-31 12:52 ` Terry C. Shannon 2001-08-31 12:20 ` Nick Maclaren 1 sibling, 1 reply; 49+ messages in thread From: Ketil Z Malde @ 2001-08-31 9:09 UTC (permalink / raw) "Terry C. Shannon" <terryshannon@mediaone.net> writes: [Somebody asked for "real" RISCs] >> SPARC, PowerPC ( macs, RS/6000s - pSeries , embedded apps ) , > SPARC still needs OOE. Uh, is that really a necessity? Didn't all early RISC chips* come without? Or were you thinking in the context of the Subject? Personally, I think IBM may grab a big part of the supercomputer stuff and the VMS segment. But for the compute clusters and render farms, I expect the spoils to go to AMD and Intel, they haven't been far behind lately, anyway. I think it's a shame it was Intel that got Alpha, and not AMD. -kzm *) Early as in after the terminology was coined, of course. Not as in stuff predating the invention of microcode. -- If I haven't seen further, it is by standing in the footprints of giants ^ permalink raw reply [flat|nested] 49+ messages in thread
* Re: Can POWER4, 5 etc continue where Alpha was stopped? 2001-08-31 9:09 ` Ketil Z Malde @ 2001-08-31 12:52 ` Terry C. Shannon 2001-08-31 13:14 ` McCalpin 0 siblings, 1 reply; 49+ messages in thread From: Terry C. Shannon @ 2001-08-31 12:52 UTC (permalink / raw) "Ketil Z Malde" <ketil@ii.uib.no> wrote in message news:KETIL-vk1wv3ktx36.fsf@eris.bgo.nera.no... > "Terry C. Shannon" <terryshannon@mediaone.net> writes: > > [Somebody asked for "real" RISCs] > > >> SPARC, PowerPC ( macs, RS/6000s - pSeries , embedded apps ) , > > > SPARC still needs OOE. > > Uh, is that really a necessity? Didn't all early RISC chips* come > without? Sure they did. Every wonder why Power4 and EV6 were late, though? Or were you thinking in the context of the Subject? > > Personally, I think IBM may grab a big part of the supercomputer stuff > and the VMS segment. But for the compute clusters and render farms, I > expect the spoils to go to AMD and Intel, they haven't been far behind > lately, anyway. > > I think it's a shame it was Intel that got Alpha, and not AMD. C'est true, and a Big Coup for IBM! s in after the terminology was coined, of course. Not as in > stuff predating the invention of microcode. > -- > If I haven't seen further, it is by standing in the footprints of giants ^ permalink raw reply [flat|nested] 49+ messages in thread
* Re: Can POWER4, 5 etc continue where Alpha was stopped? 2001-08-31 12:52 ` Terry C. Shannon @ 2001-08-31 13:14 ` McCalpin 2001-09-03 12:23 ` Alexis Cousein 2001-09-05 1:27 ` del cecchi 0 siblings, 2 replies; 49+ messages in thread From: McCalpin @ 2001-08-31 13:14 UTC (permalink / raw) In article <iMLj7.41275$mv1.7865408@typhoon.ne.mediaone.net>, Terry C. Shannon <terryshannon@mediaone.net> wrote: > >"Ketil Z Malde" <ketil@ii.uib.no> wrote in message >news:KETIL-vk1wv3ktx36.fsf@eris.bgo.nera.no... >> "Terry C. Shannon" <terryshannon@mediaone.net> writes: >> >> > SPARC still needs OOE. >> >> Uh, is that really a necessity? Didn't all early RISC chips* come >> without? > >Sure they did. Every wonder why Power4 and EV6 were late, though? Is POWER4 late? I have only been at IBM for 2 years, so I might have missed some really early claims, but my understanding was that IBM has said that POWER4 is/was intended to ship in 2H2001, and (according to various recent public IBM statements) we still expect to ship in that time frame. -- John D. McCalpin, Ph.D. mccalpin@austin.ibm.com Senior Technical Staff Member IBM POWER Microprocessor Development "I am willing to make mistakes as long as someone else is willing to learn from them." ^ permalink raw reply [flat|nested] 49+ messages in thread
* Re: Can POWER4, 5 etc continue where Alpha was stopped? 2001-08-31 13:14 ` McCalpin @ 2001-09-03 12:23 ` Alexis Cousein 2001-09-05 1:27 ` del cecchi 1 sibling, 0 replies; 49+ messages in thread From: Alexis Cousein @ 2001-09-03 12:23 UTC (permalink / raw) To: McCalpin McCalpin wrote: > I have only been at IBM for 2 years, so I might have missed > some really early claims, but my understanding was that IBM > has said that POWER4 is/was intended to ship in 2H2001, That's not what some IBM prospects told us the IBM salesfolk told them -- but of course, it's rather hard to ascertain if they're telling the truth. -- <these messages express my own views, not those of my employer> Alexis Cousein Senior Systems Engineer SGI Belgium and Luxemburg al@brussels.sgi.com ^ permalink raw reply [flat|nested] 49+ messages in thread
* Re: Can POWER4, 5 etc continue where Alpha was stopped? 2001-08-31 13:14 ` McCalpin 2001-09-03 12:23 ` Alexis Cousein @ 2001-09-05 1:27 ` del cecchi 2001-09-05 2:07 ` Chris Morgan ` (2 more replies) 1 sibling, 3 replies; 49+ messages in thread From: del cecchi @ 2001-09-05 1:27 UTC (permalink / raw) "McCalpin" <mccalpin@gmp246.austin.ibm.com> wrote in message news:9mo2k6$heo$1@ausnews.austin.ibm.com... snip > Is POWER4 late? > > I have only been at IBM for 2 years, so I might have missed > some really early claims, but my understanding was that IBM > has said that POWER4 is/was intended to ship in 2H2001, and > (according to various recent public IBM statements) we still > expect to ship in that time frame. > -- > John D. McCalpin, Ph.D. mccalpin@austin.ibm.com > Senior Technical Staff Member IBM POWER Microprocessor Development > "I am willing to make mistakes as long as > someone else is willing to learn from them." I have only been at IBM 33 years and I am pretty sure that Power4 is on schedule. Anybody want to buy some? They come in a really impressive box. del cecchi ^ permalink raw reply [flat|nested] 49+ messages in thread
* Re: Can POWER4, 5 etc continue where Alpha was stopped? 2001-09-05 1:27 ` del cecchi @ 2001-09-05 2:07 ` Chris Morgan 2001-09-05 18:13 ` Del Cecchi 2001-09-05 12:49 ` Sander Vesik 2001-09-05 18:08 ` Terry C. Shannon 2 siblings, 1 reply; 49+ messages in thread From: Chris Morgan @ 2001-09-05 2:07 UTC (permalink / raw) "del cecchi" <dcecchi@msn.com> writes: > I have only been at IBM 33 years and I am pretty sure that Power4 is on > schedule. Anybody want to buy some? They come in a really impressive > box. Pictures? Chris -always trys to get a trip to the machine room to see the boxes -- Chris Morgan <cm at mihalis.net> http://www.mihalis.net Temp sig. - Enquire within ^ permalink raw reply [flat|nested] 49+ messages in thread
* Re: Can POWER4, 5 etc continue where Alpha was stopped? 2001-09-05 2:07 ` Chris Morgan @ 2001-09-05 18:13 ` Del Cecchi 2001-09-05 18:57 ` Larry Kilgallen 0 siblings, 1 reply; 49+ messages in thread From: Del Cecchi @ 2001-09-05 18:13 UTC (permalink / raw) In article <8766ayo0ej.fsf@tweety.mihalis.net>, Chris Morgan <cm@mihalis.net> writes: |> "del cecchi" <dcecchi@msn.com> writes: |> |> > I have only been at IBM 33 years and I am pretty sure that Power4 is on |> > schedule. Anybody want to buy some? They come in a really impressive |> > box. |> |> Pictures? |> |> Chris |> -always trys to get a trip to the machine room to see the boxes |> -- |> Chris Morgan <cm at mihalis.net> http://www.mihalis.net |> Temp sig. - Enquire within Sorry, they don't let me into the lab with a camera. -- Del Cecchi cecchi@rchland ^ permalink raw reply [flat|nested] 49+ messages in thread
* Re: Can POWER4, 5 etc continue where Alpha was stopped? 2001-09-05 18:13 ` Del Cecchi @ 2001-09-05 18:57 ` Larry Kilgallen 0 siblings, 0 replies; 49+ messages in thread From: Larry Kilgallen @ 2001-09-05 18:57 UTC (permalink / raw) In article <9n5q0k$k6k$1@news.rchland.ibm.com>, cecchi@signa.rchland.ibm.com (Del Cecchi) writes: > In article <8766ayo0ej.fsf@tweety.mihalis.net>, > Chris Morgan <cm@mihalis.net> writes: > |> "del cecchi" <dcecchi@msn.com> writes: > |> > |> > I have only been at IBM 33 years and I am pretty sure that Power4 is on > |> > schedule. Anybody want to buy some? They come in a really impressive > |> > box. > |> > |> Pictures? > |> > |> Chris > |> -always trys to get a trip to the machine room to see the boxes > |> -- > |> Chris Morgan <cm at mihalis.net> http://www.mihalis.net > |> Temp sig. - Enquire within > > Sorry, they don't let me into the lab with a camera. That would be "photograph", which is only one kind of "picture". Another kind is "ascii art" :-) ^ permalink raw reply [flat|nested] 49+ messages in thread
* Re: Can POWER4, 5 etc continue where Alpha was stopped? 2001-09-05 1:27 ` del cecchi 2001-09-05 2:07 ` Chris Morgan @ 2001-09-05 12:49 ` Sander Vesik 2001-09-05 14:17 ` McCalpin ` (2 more replies) 2001-09-05 18:08 ` Terry C. Shannon 2 siblings, 3 replies; 49+ messages in thread From: Sander Vesik @ 2001-09-05 12:49 UTC (permalink / raw) In comp.arch del cecchi <dcecchi@msn.com> wrote: > "McCalpin" <mccalpin@gmp246.austin.ibm.com> wrote in message > news:9mo2k6$heo$1@ausnews.austin.ibm.com... > snip >> Is POWER4 late? >> >> I have only been at IBM for 2 years, so I might have missed >> some really early claims, but my understanding was that IBM >> has said that POWER4 is/was intended to ship in 2H2001, and >> (according to various recent public IBM statements) we still >> expect to ship in that time frame. >> -- >> John D. McCalpin, Ph.D. mccalpin@austin.ibm.com >> Senior Technical Staff Member IBM POWER Microprocessor Development >> "I am willing to make mistakes as long as >> someone else is willing to learn from them." > I have only been at IBM 33 years and I am pretty sure that Power4 is on > schedule. Anybody want to buy some? They come in a really impressive > box. IBM now actually ships POWER chips in any other form than for it's own equipment? Or is a *server what you meant by impressive box? 8-) > del cecchi -- Sander +++ Out of cheese error +++ ^ permalink raw reply [flat|nested] 49+ messages in thread
* Re: Can POWER4, 5 etc continue where Alpha was stopped? 2001-09-05 12:49 ` Sander Vesik @ 2001-09-05 14:17 ` McCalpin 2001-09-05 14:59 ` Michael Kraemer 2001-09-05 16:32 ` Pentyern 2001-09-06 0:32 ` del cecchi 2 siblings, 1 reply; 49+ messages in thread From: McCalpin @ 2001-09-05 14:17 UTC (permalink / raw) In article <999694198.186093@haldjas.folklore.ee>, Sander Vesik <sander@haldjas.folklore.ee> wrote: >In comp.arch del cecchi <dcecchi@msn.com> wrote: > >> I have only been at IBM 33 years and I am pretty sure that Power4 is on >> schedule. Anybody want to buy some? They come in a really impressive >> box. > >IBM now actually ships POWER chips in any other form than for it's own >equipment? Or is a *server what you meant by impressive box? 8-) IBM does not typically sell its POWER processors apart from systems. The Regatta server is an impressive box. -- John D. McCalpin, Ph.D. mccalpin@austin.ibm.com Senior Technical Staff Member IBM POWER Microprocessor Development "I am willing to make mistakes as long as someone else is willing to learn from them." ^ permalink raw reply [flat|nested] 49+ messages in thread
* Re: Can POWER4, 5 etc continue where Alpha was stopped? 2001-09-05 14:17 ` McCalpin @ 2001-09-05 14:59 ` Michael Kraemer 0 siblings, 0 replies; 49+ messages in thread From: Michael Kraemer @ 2001-09-05 14:59 UTC (permalink / raw) In article <9n5c5q$sfe$1@ausnews.austin.ibm.com>, mccalpin@gmp246.austin.ibm.com (McCalpin) writes: > In article <999694198.186093@haldjas.folklore.ee>, > Sander Vesik <sander@haldjas.folklore.ee> wrote: > >In comp.arch del cecchi <dcecchi@msn.com> wrote: > > > >> I have only been at IBM 33 years and I am pretty sure that Power4 is on > >> schedule. Anybody want to buy some? They come in a really impressive > >> box. > > > >IBM now actually ships POWER chips in any other form than for it's own > >equipment? Or is a *server what you meant by impressive box? 8-) > > IBM does not typically sell its POWER processors apart > from systems. > > The Regatta server is an impressive box. How about the price ? Is it impressive too ? ^ permalink raw reply [flat|nested] 49+ messages in thread
* Re: Can POWER4, 5 etc continue where Alpha was stopped? 2001-09-05 12:49 ` Sander Vesik 2001-09-05 14:17 ` McCalpin @ 2001-09-05 16:32 ` Pentyern 2001-09-06 0:32 ` del cecchi 2 siblings, 0 replies; 49+ messages in thread From: Pentyern @ 2001-09-05 16:32 UTC (permalink / raw) Sander Vesik wrote: > In comp.arch del cecchi <dcecchi@msn.com> wrote: > >> "McCalpin" <mccalpin@gmp246.austin.ibm.com> wrote in message >> news:9mo2k6$heo$1@ausnews.austin.ibm.com... >> snip >>> Is POWER4 late? >>> >>> I have only been at IBM for 2 years, so I might have missed >>> some really early claims, but my understanding was that IBM >>> has said that POWER4 is/was intended to ship in 2H2001, and >>> (according to various recent public IBM statements) we still >>> expect to ship in that time frame. >>> -- >>> John D. McCalpin, Ph.D. mccalpin@austin.ibm.com >>> Senior Technical Staff Member IBM POWER Microprocessor Development >>> "I am willing to make mistakes as long as >>> someone else is willing to learn from them." > >> I have only been at IBM 33 years and I am pretty sure that Power4 is on >> schedule. Anybody want to buy some? They come in a really impressive >> box. > > IBM now actually ships POWER chips in any other form than for it's own > equipment? Or is a *server what you meant by impressive box? 8-) > >> del cecchi > If you interessted in PowerPC boxes and clustering try: http://www.terrasoftsolutions.com/products/briQ/ ^ permalink raw reply [flat|nested] 49+ messages in thread
* Re: Can POWER4, 5 etc continue where Alpha was stopped? 2001-09-05 12:49 ` Sander Vesik 2001-09-05 14:17 ` McCalpin 2001-09-05 16:32 ` Pentyern @ 2001-09-06 0:32 ` del cecchi 2 siblings, 0 replies; 49+ messages in thread From: del cecchi @ 2001-09-06 0:32 UTC (permalink / raw) "Sander Vesik" <sander@haldjas.folklore.ee> wrote in message news:999694198.186093@haldjas.folklore.ee... > In comp.arch del cecchi <dcecchi@msn.com> wrote: > > > "McCalpin" <mccalpin@gmp246.austin.ibm.com> wrote in message > > news:9mo2k6$heo$1@ausnews.austin.ibm.com... > > snip > >> Is POWER4 late? > >> > >> I have only been at IBM for 2 years, so I might have missed > >> some really early claims, but my understanding was that IBM > >> has said that POWER4 is/was intended to ship in 2H2001, and > >> (according to various recent public IBM statements) we still > >> expect to ship in that time frame. > >> -- > >> John D. McCalpin, Ph.D. mccalpin@austin.ibm.com > >> Senior Technical Staff Member IBM POWER Microprocessor Development > >> "I am willing to make mistakes as long as > >> someone else is willing to learn from them." > > > I have only been at IBM 33 years and I am pretty sure that Power4 is on > > schedule. Anybody want to buy some? They come in a really impressive > > box. > > IBM now actually ships POWER chips in any other form than for it's own > equipment? Or is a *server what you meant by impressive box? 8-) > > > del cecchi > > -- > Sander > > +++ Out of cheese error +++ It comes in an impressive box that functions as a server if you don't want to open it and remove the contents. Of course if you just take the processor chips out, it is kind of an expensive shipping container. :-) del ^ permalink raw reply [flat|nested] 49+ messages in thread
* Re: Can POWER4, 5 etc continue where Alpha was stopped? 2001-09-05 1:27 ` del cecchi 2001-09-05 2:07 ` Chris Morgan 2001-09-05 12:49 ` Sander Vesik @ 2001-09-05 18:08 ` Terry C. Shannon 2001-09-06 13:42 ` Stefaan A Eeckels 2 siblings, 1 reply; 49+ messages in thread From: Terry C. Shannon @ 2001-09-05 18:08 UTC (permalink / raw) I believe IBM is completely capable of continuing on the POWER roadmap. I don't feel that way about Sun, tho.... "del cecchi" <dcecchi@msn.com> wrote in message news:Zbfl7.476$V5.6700@eagle.america.net... > > "McCalpin" <mccalpin@gmp246.austin.ibm.com> wrote in message > news:9mo2k6$heo$1@ausnews.austin.ibm.com... > snip > > Is POWER4 late? > > > > I have only been at IBM for 2 years, so I might have missed > > some really early claims, but my understanding was that IBM > > has said that POWER4 is/was intended to ship in 2H2001, and > > (according to various recent public IBM statements) we still > > expect to ship in that time frame. > > -- > > John D. McCalpin, Ph.D. mccalpin@austin.ibm.com > > Senior Technical Staff Member IBM POWER Microprocessor Development > > "I am willing to make mistakes as long as > > someone else is willing to learn from them." > > I have only been at IBM 33 years and I am pretty sure that Power4 is on > schedule. Anybody want to buy some? They come in a really impressive > box. > > del cecchi > > ^ permalink raw reply [flat|nested] 49+ messages in thread
* Re: Can POWER4, 5 etc continue where Alpha was stopped? 2001-09-05 18:08 ` Terry C. Shannon @ 2001-09-06 13:42 ` Stefaan A Eeckels 2001-09-06 15:08 ` Alexis Cousein 0 siblings, 1 reply; 49+ messages in thread From: Stefaan A Eeckels @ 2001-09-06 13:42 UTC (permalink / raw) In article <8Stl7.20026$zj5.5001846@typhoon.ne.mediaone.net>, "Terry C. Shannon" <terryshannon@mediaone.net> writes: > I believe IBM is completely capable of continuing on the POWER roadmap. I > don't feel that way about Sun, tho.... I don't think Sun'll continue on the POWER track either :-). Whether SPARC is a good enough architecture to take in the gigahertz range isn't the issue. If the 386 can go giga, anything can. That leaves the question whether the current Sun/TI combo can produce credible multi-giga processors. Hmmm... -- Stefaan -- Please visit our Webster http://xxxxxxxx.xxxx.xxx, write or e-mail to X&x promptly,if you are interested.And X&x shall be pleased to render you any further services. -- Spam from China ^ permalink raw reply [flat|nested] 49+ messages in thread
* Re: Can POWER4, 5 etc continue where Alpha was stopped? 2001-09-06 13:42 ` Stefaan A Eeckels @ 2001-09-06 15:08 ` Alexis Cousein 2001-09-06 16:40 ` Mark Smotherman 2001-09-06 21:57 ` Stefaan A Eeckels 0 siblings, 2 replies; 49+ messages in thread From: Alexis Cousein @ 2001-09-06 15:08 UTC (permalink / raw) To: Stefaan A Eeckels Stefaan A Eeckels wrote: > Whether SPARC is a good enough architecture to take in > the gigahertz range isn't the issue. If the 386 can go giga, > anything can. The 386 certainly hasn't "gone giga" -- the fact a design implementing the same ISA has doesn't change that; I doubt the 386 is hyperpipelined to the point of being run at GHz ranges, regardless of process. -- <these messages express my own views, not those of my employer> Alexis Cousein Senior Systems Engineer SGI Belgium and Luxemburg al@brussels.sgi.com ^ permalink raw reply [flat|nested] 49+ messages in thread
* Re: Can POWER4, 5 etc continue where Alpha was stopped? 2001-09-06 15:08 ` Alexis Cousein @ 2001-09-06 16:40 ` Mark Smotherman 2001-09-06 21:57 ` Stefaan A Eeckels 1 sibling, 0 replies; 49+ messages in thread From: Mark Smotherman @ 2001-09-06 16:40 UTC (permalink / raw) Alexis Cousein <al@brussels.sgi.com> writes: >Stefaan A Eeckels wrote: >> Whether SPARC is a good enough architecture to take in >> the gigahertz range isn't the issue. If the 386 can go giga, >> anything can. >The 386 certainly hasn't "gone giga" -- the fact a design implementing >the same ISA has doesn't change that; I doubt the 386 is hyperpipelined >to the point of being run at GHz ranges, regardless of process. The Pentium 4 article by Glenn Hinton, et al., in the Intel Technical Journal, Q1, 2001 (http://developer.intel.com/technology/itj/q12001.htm) indicates that the number of gate levels per pipeline stage stayed the same from the 286 to the Pentium (Figure 2). The P6 core reduced this number, and the P4P core reduced it further to run in the multiple GHZ range. (derived from figure) "relative frequency approx. gate levels per if same Si process" pipe stage (ignoring latch overhead, clock skew) 286 1 N 386 1 N 486 1 N P5 1 N P6 1.5 2/3 N P4P 2.5 2/5 N (or perhaps 1/3 N + skew?) I seem to recall a demo of a 4 GHz P4, so that would seem to indicate that you could build a 1.6 GHz 386 ;-) (seriously - perhaps someone knows the exact number of gate levels?) -- Mark Smotherman, Computer Science Dept., Clemson University, Clemson, SC http://www.cs.clemson.edu/~mark/homepage.html ^ permalink raw reply [flat|nested] 49+ messages in thread
* Re: Can POWER4, 5 etc continue where Alpha was stopped? 2001-09-06 15:08 ` Alexis Cousein 2001-09-06 16:40 ` Mark Smotherman @ 2001-09-06 21:57 ` Stefaan A Eeckels 2001-09-07 16:22 ` Peter da Silva 1 sibling, 1 reply; 49+ messages in thread From: Stefaan A Eeckels @ 2001-09-06 21:57 UTC (permalink / raw) In article <3B979175.7070901@brussels.sgi.com>, Alexis Cousein <al@brussels.sgi.com> writes: > Stefaan A Eeckels wrote: >> Whether SPARC is a good enough architecture to take in >> the gigahertz range isn't the issue. If the 386 can go giga, >> anything can. > > The 386 certainly hasn't "gone giga" -- the fact a design implementing > the same ISA has doesn't change that; I doubt the 386 is hyperpipelined > to the point of being run at GHz ranges, regardless of process. Granted, but (as Intel acknowledges by abandoning the 386 model for their 64-bitter), the ISA isn't exactly optimal; SPARC seems (at least to this programmer) a better design. Maybe those who master the intricacies of turning ISAs into silicon could comment on the merits or demerits of SPARC as a gigahertz processor... -- Stefaan -- Please visit our Webster http://xxxxxxxx.xxxx.xxx, write or e-mail to X&x promptly,if you are interested.And X&x shall be pleased to render you any further services. -- Spam from China ^ permalink raw reply [flat|nested] 49+ messages in thread
* Re: Can POWER4, 5 etc continue where Alpha was stopped? 2001-09-06 21:57 ` Stefaan A Eeckels @ 2001-09-07 16:22 ` Peter da Silva 0 siblings, 0 replies; 49+ messages in thread From: Peter da Silva @ 2001-09-07 16:22 UTC (permalink / raw) In article <3gr8n9.sft.ln@justus.ecc.lu>, Stefaan A Eeckels <Stefaan.Eeckels@ecc.lu> wrote: > Granted, but (as Intel acknowledges by abandoning the 386 > model for their 64-bitter), the ISA isn't exactly optimal; > SPARC seems (at least to this programmer) a better design. The register stack may give it the collywobbles. -- `-_-' In hoc signo hack, Peter da Silva. 'U` "A well-rounded geek should be able to geek about anything." -- nicolai@esperi.org Disclaimer: WWFD? ^ permalink raw reply [flat|nested] 49+ messages in thread
* Re: Can POWER4, 5 etc continue where Alpha was stopped? 2001-08-31 7:47 ` Terry C. Shannon 2001-08-31 9:09 ` Ketil Z Malde @ 2001-08-31 12:20 ` Nick Maclaren 2001-09-03 15:07 ` bad bob 1 sibling, 1 reply; 49+ messages in thread From: Nick Maclaren @ 2001-08-31 12:20 UTC (permalink / raw) In article <BiHj7.1521$%e5.4073300@typhoon.ne.mediaone.net>, "Terry C. Shannon" <terryshannon@mediaone.net> writes: |> "Wow" <chfong@yahoo.com> wrote in message |> news:203e73fa.0108301218.124ce868@posting.google.com... |> > Andi Kleen <freitag@alancoxonachip.com> wrote in message |> news:<oupy9o3iy73.fsf@pigdrop.muc.suse.de>... |> > > nmm1@cus.cam.ac.uk (Nick Maclaren) writes: |> > > |> > > > Perhaps. Examples of a successful RISC architecture would be |> > > > interesting :-) |> > > |> > > e.g. ARM |> > |> SPARC, PowerPC ( macs, RS/6000s - pSeries , embedded apps ) , I really MUST remember to put smilies in when being jocular. To remind people, here is the context: >Doesn't this mean that POWER/PPC as a RISC ISA (= one where every >instruction is speed critical) has failed when old CISC tricks >(microcoding; uops) are needed again? Perhaps. Examples of a successful RISC architecture would be interesting :-) The point is that, if PowerPC has failed as a RISC ISA, it is unclear whether ANY others can be said to have succeeded. ARM includes quite a few non-RISC features, for example. Regards, Nick Maclaren, University of Cambridge Computing Service, New Museums Site, Pembroke Street, Cambridge CB2 3QG, England. Email: nmm1@cam.ac.uk Tel.: +44 1223 334761 Fax: +44 1223 334679 ^ permalink raw reply [flat|nested] 49+ messages in thread
* Re: Can POWER4, 5 etc continue where Alpha was stopped? 2001-08-31 12:20 ` Nick Maclaren @ 2001-09-03 15:07 ` bad bob 0 siblings, 0 replies; 49+ messages in thread From: bad bob @ 2001-09-03 15:07 UTC (permalink / raw) Nick Maclaren wrote: > > In article <BiHj7.1521$%e5.4073300@typhoon.ne.mediaone.net>, > "Terry C. Shannon" <terryshannon@mediaone.net> writes: > |> "Wow" <chfong@yahoo.com> wrote in message > |> news:203e73fa.0108301218.124ce868@posting.google.com... > |> > Andi Kleen <freitag@alancoxonachip.com> wrote in message > |> news:<oupy9o3iy73.fsf@pigdrop.muc.suse.de>... > |> > > nmm1@cus.cam.ac.uk (Nick Maclaren) writes: > |> > > > |> > > > Perhaps. Examples of a successful RISC architecture would be > |> > > > interesting :-) > |> > > > |> > > e.g. ARM > |> > > |> SPARC, PowerPC ( macs, RS/6000s - pSeries , embedded apps ) , > > I really MUST remember to put smilies in when being jocular. > To remind people, here is the context: > > >Doesn't this mean that POWER/PPC as a RISC ISA (= one where every > >instruction is speed critical) has failed when old CISC tricks > >(microcoding; uops) are needed again? > > Perhaps. Examples of a successful RISC architecture would be > interesting :-) pdp5. PDP8. > > The point is that, if PowerPC has failed as a RISC ISA, it is > unclear whether ANY others can be said to have succeeded. ARM > includes quite a few non-RISC features, for example. > > Regards, > Nick Maclaren, > University of Cambridge Computing Service, > New Museums Site, Pembroke Street, Cambridge CB2 3QG, England. > Email: nmm1@cam.ac.uk > Tel.: +44 1223 334761 Fax: +44 1223 334679 ^ permalink raw reply [flat|nested] 49+ messages in thread
* Re: Can POWER4, 5 etc continue where Alpha was stopped? 2001-08-28 20:38 ` Andi Kleen 2001-08-28 10:16 ` Bruce Hoult 2001-08-28 20:51 ` Nick Maclaren @ 2001-08-28 21:16 ` Greg Lindahl 2001-08-29 0:06 ` McCalpin 3 siblings, 0 replies; 49+ messages in thread From: Greg Lindahl @ 2001-08-28 21:16 UTC (permalink / raw) In article <oup4rqrkjhh.fsf@pigdrop.muc.suse.de>, Andi Kleen <freitag@alancoxonachip.com> wrote: >Doesn't this mean that POWER/PPC as a RISC ISA (= one where every >instruction is speed critical) has failed when old CISC tricks >(microcoding; uops) are needed again? That's a funny definition of RISC. Regardless, POWER isn't the only RISC ISA to have deleted/deprecated/no-longer-single-cycle instructions. Doing them with uops or microcode is certainly faster than emulating them in the OS or an approach like PALcode. Faster, and more expensive in silicon. g ^ permalink raw reply [flat|nested] 49+ messages in thread
* Re: Can POWER4, 5 etc continue where Alpha was stopped? 2001-08-28 20:38 ` Andi Kleen ` (2 preceding siblings ...) 2001-08-28 21:16 ` Greg Lindahl @ 2001-08-29 0:06 ` McCalpin 3 siblings, 0 replies; 49+ messages in thread From: McCalpin @ 2001-08-29 0:06 UTC (permalink / raw) In article <oup4rqrkjhh.fsf@pigdrop.muc.suse.de>, Andi Kleen <freitag@alancoxonachip.com> wrote: >mccalpin@gmp246.austin.ibm.com (McCalpin) writes: > >> . In POWER4, we have used an implementation route >> that allows us to optimize for the simple op-codes and handle >> the more complex opcodes with either "cracking" (in-line expansion >> into a small number of more primitive ops) or simple microcoding. > >Doesn't this mean that POWER/PPC as a RISC ISA (= one where every >instruction is speed critical) has failed when old CISC tricks >(microcoding; uops) are needed again? I can only hope that the PowerPC architecture fails as spectacularly as the x86 architecture. (I am speaking financially here, of course....) -- John D. McCalpin, Ph.D. mccalpin@austin.ibm.com Senior Technical Staff Member IBM POWER Microprocessor Development "I am willing to make mistakes as long as someone else is willing to learn from them." ^ permalink raw reply [flat|nested] 49+ messages in thread
end of thread, other threads:[~2001-09-07 16:22 UTC | newest] Thread overview: 49+ messages (download: mbox.gz follow: Atom feed -- links below jump to the message on this page -- 2001-08-26 17:14 Can POWER4, 5 etc continue where Alpha was stopped? Nova 2001-08-26 22:30 ` del cecchi 2001-08-28 17:39 ` Niels Jørgen Kruse 2001-08-28 18:47 ` Christer Palm 2001-08-28 20:00 ` Del Cecchi 2001-08-27 1:38 ` Robert Deininger 2001-08-27 17:12 ` Richard Tomkins 2001-08-28 19:02 ` McCalpin 2001-08-28 10:14 ` Bruce Hoult 2001-08-29 0:03 ` McCalpin 2001-08-28 15:27 ` Bruce Hoult 2001-08-29 6:25 ` Terje Mathisen 2001-08-29 11:48 ` George Coulouris 2001-08-29 17:30 ` Terje Mathisen 2001-08-29 19:32 ` Terje Mathisen 2001-08-29 21:45 ` Maynard Handley 2001-08-31 10:09 ` Terje Mathisen 2001-08-31 16:09 ` Serguei Patchkovskii 2001-09-01 19:51 ` Terje Mathisen 2001-08-28 20:38 ` Andi Kleen 2001-08-28 10:16 ` Bruce Hoult 2001-08-28 20:51 ` Nick Maclaren 2001-08-28 23:04 ` Andi Kleen 2001-08-29 7:59 ` Nick Maclaren 2001-08-30 20:18 ` Wow 2001-08-31 7:47 ` Terry C. Shannon 2001-08-31 9:09 ` Ketil Z Malde 2001-08-31 12:52 ` Terry C. Shannon 2001-08-31 13:14 ` McCalpin 2001-09-03 12:23 ` Alexis Cousein 2001-09-05 1:27 ` del cecchi 2001-09-05 2:07 ` Chris Morgan 2001-09-05 18:13 ` Del Cecchi 2001-09-05 18:57 ` Larry Kilgallen 2001-09-05 12:49 ` Sander Vesik 2001-09-05 14:17 ` McCalpin 2001-09-05 14:59 ` Michael Kraemer 2001-09-05 16:32 ` Pentyern 2001-09-06 0:32 ` del cecchi 2001-09-05 18:08 ` Terry C. Shannon 2001-09-06 13:42 ` Stefaan A Eeckels 2001-09-06 15:08 ` Alexis Cousein 2001-09-06 16:40 ` Mark Smotherman 2001-09-06 21:57 ` Stefaan A Eeckels 2001-09-07 16:22 ` Peter da Silva 2001-08-31 12:20 ` Nick Maclaren 2001-09-03 15:07 ` bad bob 2001-08-28 21:16 ` Greg Lindahl 2001-08-29 0:06 ` McCalpin
This is a public inbox, see mirroring instructions for how to clone and mirror all data and code used for this inbox