Skip to content
Features

The future of Prescott: when Moore gives you lemons…

With Prescott having run into problems at 90nm and Intel looking backwards to …

Jon Stokes – | 0
Story text

Introduction

A few days ago, and Intel representative made two statements to a Geek.com interviewer that have since become the cause of some controversy: 1) that the desktop version of the Pentium M would not be hyperthreaded, and 2) that a dual-core version of Prescott is in the works. In this short article, I’m going to take a look at both of these statements and what they say about the present state of Intel’s product line, specifically about Prescott. More specifically, I’ll look at the possible rationales behind a non-hyperthreaded Pentium M and a dual-core Prescott by placing the two designs within the context of two increasingly important technological factors: latency and power dissipation.

The Pentium M and hyperthreading: the latency problem

My first reaction upon reading the dual-Prescott rumor was incredulity. With its simpler architecture and higher performance per watt, Dothan, the desktop version of the Pentium M, seemed like a much more likely candidate for dual-core treatment than the large, hot, complex, power-hungry Pentium 4.

In the Geek.com interview, the Intel representative offered that the Pentium M’s shorter pipeline is supposedly “not suited” for hyperthreading. Since there was no elaboration on that point in the Geek.com article, I’ll do that here.

IBM’s POWER5 uses hyperthreading, and it certainly doesn’t have the outrageous 31-stage pipeline length of Prescott. In fact, the POWER5’s 16-stage pipeline isn’t much longer than the Pentium M’s speculated pipeline length of 12 to 14 stages. I say this only to illustrate the point that there’s nothing in the lower number of pipeline stages that somehow magically makes the Pentium M a poor candidate for hyperthreading.

The Intel rep’s statement only makes sense if you think of hyperthreading in the terms I suggested in my article on the subject: as a latency-hiding technique. Sure, hyperthreading improves execution efficiency, or “throughput,” by (ideally) keeping the processor’s pipeline filled with instructions from multiple threads, but where it really shines is in situations where one thread is stalled and the other is still moving. In a normal processor, a pipeline stall would mean that multiple clock cycles could pass without doing useful work. With a hyperthreaded processor, instead of waiting around for the pipeline to come unblocked the chip can just continue executing instructions from the non-stalled thread; so instead of the processor’s throughput going to zero as a result of a stall, it merely slows down.

In a processor that’s as deeply pipelined as Prescott, waiting on a cache access means multiple dead cycles, especially considering the fact that Prescott’s L1 and L2 cache latencies are worse than those of Northwood (significantly worse in the case of the L1); and waiting on a main memory access means lots of dead cycles for a processor that’s running at upwards of 3GHz. So what the Intel rep was really saying was this: Because we got obsessed with MHz as a marketing number and made Prescott’s pipeline so ridiculously long, Prescott benefits much more from a latency-hiding technique like hyperthreading than a saner design like the Pentium M.

There’s actually another reason why the Pentium M won’t benefit as much from hyperthreading. The Pentium M’s branch predictor is superior to Prescott’s, so the Pentium M is less likely to suffer from instruction-related pipeline stalls than the Prescott. This improved branch prediction, in combination with its shorter pipeline, means improved execution efficiency and less of a need for something like hyperthreading.

One question that the preceding discussion might raise for the casual reader is this: if the POWER5’s pipeline is roughly half the length of the Prescott’s, why does it need hyperthreading? The answer is that the POWER5 is extremely wide, pipeline stalls translate not into tons of unused clock cycles but tons of unused execution hardware. Or, here’s another way of phrasing it: in the event of a pipeline stall, Prescott has a few execution units sitting idle over a large number of clock cycles; the POWER5 has a large number of execution units sitting idle over a few clock cycles. Either way you slice it, that’s wasted resources.

(I’m going to save any elaboration on the above point for a future article. Feel free to raise any related questions in the discussion thread, and I’ll try to address them in the next piece.)

So to sum up, Intel’s reasoning appears to be that Prescott stands to gain more from hyperthreading than the Pentium M, so the latter won’t be getting the hyperthreading treatment anytime soon because it just doesn’t need it as bad.

Prescott’s power problem

The preceding discussion of latency answered the question of the lack of hyperthreading on the Pentium M. Now I’m going to tackle the question “why go with Prescott for dual-core?”

As Intel Chairman Andy Grove acknowledged a while back (here and here), power problems are fast becoming a limiting factor in converting feature size shrinks into performance, especially when such a conversion is done by means of increased clock speed. With regards to Prescott, then, I’m going to argue that a dual-core version of Prescott seems to be an effort to save the Netburst design from obsolescence in the face of the fact that, from here on out, clock speed increases will be much harder to come by. Let me explain.

If you read my Moore’s Law article, then you know that there are two main ways to take advantage of decreasing transistor sizes. One way is to shrink the overall size of the CPU core and raise the clock speed; the alternative is to pack more functionality onto the same sized CPU die without raising the clock speed. In reality most folks do a mix of these two, but with more of one and a less of the other. Intel’s Pentium 4 architecture (a.k.a. Netburst) is predicated on the assumption that the former approach ?? shrink the core size and raise the clock speed ? will translate into both better performance and better sales, because it’s easier to sell MHz than it is to sell added functionality. The problem with this approach is twofold and can be summed up with two terms: transistor leakage and power density.

Transistor leakage

Transistor leakage is a complex phenomenon, and decent explanation of it would make for a large article in itself. With that in mind, the following summary treatment represents the best stab at it that I plan to make for the foreseeable future.

As most Ars readers already know, transistors are just tiny electrical switches which are always in one of two states: on and off. At least, that’s how it’s supposed to work. The reality is that even when a transistor is off, it’s never really off. Rather, a small bit of current is still flowing through the switched off transistor, kind of like water trickling through a leaky faucet.

Now, one or two leaky faucets in a house is annoying, and if the leaks are relatively small then the impact on the monthly water bill is likely to be negligible. But imagine a whole apartment building full of leaky faucets; if every faucet in every apartment leaks the same amount, then the more apartments in the building the more total water ? and money ? will go down the drain each month, without doing any useful work.

As transistors get smaller, CPU architects can fit more of them onto a chip, and since each transistor leaks a certain amount then the overall leakage current flowing through the chip increases with the total number of transistors.

If leakage current only increased linearly with the number of transistors on a chip, then it wouldn’t be as much of a problem. But there are other conditions that can cause the leakage current of each individual transistor in a chip to increase. First, as individual transistors get smaller they also tend to leak more, though semiconductor makers have a variety of tricks for counteracting this tendency. Much worse from Prescott’s point of view, though, is that as the CPU die gets hotter the leakage current increases, and we all know what causes a CPU die to heat up: higher clock speeds, which are accompanied by higher power consumption and higher voltages. All of this adds up to big trouble for a processor architecture whose primary approach to performance lies in simultaneously increasing clock speeds and shrinking transistor sizes.

To put some real-world numbers with these concepts, consider the following quote from a 2000 article on static power dissipation:

The increasing contribution of static power is clearly evident even in today’s designs. Consider two implementations of Intel’s Pentium III processor manufactured on Intel’s 0.18 mm process, the Pentium III 1.0 GHz B and the Pentium III 1.13 GHz [13]. The Intel datasheet lists the maximum core power dissipation of the 1.0 GHz part at 33.0 watts and the deep sleep (i.e., static) power dissipation at 3.74 watts. The 1.13 GHz processor has a total power dissipation of 41.4 watts and a static power dissipation of 5.40 watts. While the total power has increased by only 25%, the static power has increased by 44% and comprises 13% of the total power dissipation. The active power dissipation of the processor core varies significantly depending on the workload while the static power dissipation is almost constant. The datasheet values represent peak power dissipation values; therefore, static power is even a larger percentage of the total power dissipation on average.
–(J. Adam Butts and Gurindar S. Sohi, A Static Power Model for Architects, 2000. Available here.)

To sum up the quote above, the amount of power dissipation due to leakage current is 44% higher in the P-III 1.13 GHz than in the P-III 1.0 GHz. In other words, taking the same chip and upping the clock speed also significantly increase the total leakage current flowing through the chip.

The overall problem is that leakage current has been increasing at a much faster rate than dynamic current, or the current that flows through the transistors when they’re in the “on” position. If this trend continues, it will lead to a situation where the leakage current begins to approach the dynamic current; or, another way of putting this is to say that the amount of water pouring through the faucet in the “on” position won’t be much more than the amount pouring through it in the “off” position.

Why is this a problem? Because microprocessors are designed under the assumption that only certain regions of the chip will be actively switching at any given time, while the other regions are inactive and turned off. To put it another way, there really aren’t any real-world workloads that max out all the parts of the chip at once; most workloads tend to use some subset of the chip’s total functionality. These active regions are called “hot spots,” because they have more current flowing through them and are therefore significantly hotter than the inactive regions. But if the inactive regions, where all the transistors are in the “off” position, are drawing almost as much current as the active regions, where the transistors are being switched “on” and “off” rapidly, then the entire chip becomes one big “hot spot.” If it’s not obvious to you that this is a Bad Thing, then it should be after reading the next section.

Power density

This brings us to the issue of power density, which is a much simpler concept and is related to transistor leakage. The power density is the amount of power dissipated per unit of area, so as CPU die sizes shrink (or even stay the same) while power dissipation rises, then the amount of power dissipated per square millimeter increases. As you pump more and more electrical energy into a tiny square of silicon, its structure begins to break down until at some point, it melts. If you’re trying to make glass then that’s great, but if you’re trying to play Half Life 2… well, you get the picture.

So as the amount of power dissipation due to leakage current goes up (this is called static power dissipation) the power density gets higher, and as the power density gets higher, the chip gets hotter, and as the chip gets hotter, the amount of power dissipation due to leakage current goes up, and so on in a vicious cycle, until you end up with something either like this or like this. As much as I and others like to make fun of the new G5’s l33t liquid cooling mechanism, we’d all better get used to it.

The other thing that can increase power density is leakage current. Think about it. If only one-quarter of the chip is an active hot spot at any given moment, while the other three-quarters are running cool, then the power density (e.g., the amount of power dissipated per unit area) over the whole die is much lower than if the entire chip is one big hot spot due to leakage current.

Rescuing Prescott from itself

So let’s say that you’re Intel, and you’ve got this microprocessor architecture that’s the backbone of your central product line, with millions invested into developing it and improving it. And let’s say that the fundamental premise on which that microarchitecture was built craps out a few years too soon. What do you do? In Prescott’s case, it looks like the answer is to try your best to adapt the old design to a new set of circumstances, rather than throwing it out the window. This means cranking way back on the clock speed increases, and taking advantage of Moore’s Curves* by adding functionality to the die instead. This added functionality comes in the form of a whole other core, rather than a few new execution units and some cache.

So the dual-core Prescott design is Intel’s way of making lemonade out of lemons. Because Intel can no longer rely on clock speed increases to bring performance gains, they plan to take their flagship processor design and head off down the same multicore path as IBM, AMD, Sun, and the rest of the industry. And of course, the rest of the industry is going multicore because of the power-related problems outlined above. The whole industry is suffering from the same headache, and now everyone has settled on the same cure; Intel was so addicted to MHz that they were a bit late to come around, but come around they have.

The perceptive reader will have picked up on the larger point that I’m making: a dual-core Prescott is a hack, made necessary by the fact that the single-core Prescott is going nowhere fast. So Intel is hoping that a 64-bit dual-core Prescott with hyperthreading will make for an attractive workstation offering, especially since they’ll still have a clock speed advantage over whatever AMD has out at the time. Whether they’ll have a performance advantage is hard to tell, but if this chip does see the light of day and if MHz still matters at all, it might help Intel squeeze more life out of what is an otherwise moribund architecture.

I’m of the opinion that a dual-core Pentium M derivative would make much more sense, and I’ll bet that such a design is percolating somewhere deep within Intel. But it’ll only come out if the dual-core Prescott fails to catch on.

*I’ve been planning for a while to stop saying “Moore’s Law” when what I really mean is “Moore’s Curves”. Before introducing the later phrase, I had intended to write a short article explaining why I think “Moore’s Curves” is preferable to “Moore’s Law”, but for now I’ll just refer you to my original Moore’s Law article.

?

Revision History

Date Version Changes
6/21/2004 1.0 Release
6/21/2004 1.1 Citation added for quoted text
on page 2

?

Discuss this article

More
reviews

Back to Ars Technica

0 Comments

Comments are closed.