Anton Ertl wrote:
> Terje Mathisen <terj…@tmsw.no> writes:
>> MitchAlsup wrote:
>>> Power consumption killed P4
>> >> Power consumption was probably the final nail in the coffin.
> > If the Pentium 4 had had the IPC of the Pentium III or better, as the > designers probably expected when they threw that much hardware at it*, > the Power consumption would have been considered acceptable; or the > design could have been sold at a lower clock (and lower power > consumption), and still would have had leading performance. And > compared to recent Intel CPUs with their power limit of 250W > (short-time) and 125W (permanent), the worst Pentium 4 with its 115W > looks almost frugal. > > So what killed the Pentium 4 IMO was the low IPC, apparently coming > from replay storms. > > * E.g., The Pentium 4 Northwood has a 126-entry ROB while the > Coppermine (Pentium III) has 40 ROB entries, and even the Penryn > (after the Pentium 4) has 96. >
>> IMHO the fact that they broke both shifts and integer MUL in their quest >> for double-speed inner core meant that a lot of code which needed >> complicated addressing, like multi-dimensional array access without dope >> vectors, suffered quite badly.
> > So it has some Achilles' heel in that area. But given that > multiplications and also shifts have been expensive in earlier > machines, most code avoids that anyway, and the code that cannot avoid > it is not that frequent. >
>> Also, every switch between a sequence of inner core double-speed opcodes >> and anything else caused a significant bubble.
> > This is the first time I read about that. And I have not seen it in > my own measurements, but then, maybe I did not measure the right > things. Can you elaborate: E.g., give a sequence, and explain how big > the bubble for that sequence is.
I don't remember exactly, but believe it was on the order of 1-3 (external) clock cycles either way. Even at the lower limit, this meant losing 4 double-clocked ops in overhead to execute a single slow opcode like SHR. All the fast opcodes did half the register (16 bits) in each half-cycle, so any instruction like shift right which needed access to the high bits before it could start had to wait for that before the full-size result could be sent out of the inner core, then do the intended instruction, then move the result back into the inner core.
> > In any case, starting with Prescott, the double-clocked ALU gave way > to a conventional ALU. The IPC was still not significantly better (or > worse) than for the Willamette/Northwood Pentium 4s, so any bubble > from swithing between the double-clocked ALU and the rest of the core > apparently was not decisive.
No, but simply needing more power for the same performance was a killer for anything which would eventually run in a laptop, or on a data center with total power & cooling limits. I'm perfectly willing to accept that replay storms was the actual/stated reason for giving up on the architecture. Terje
-- - <Terje.Mathisen at tmsw.no> "almost all programming can be viewed as an exercise in caching"