I’ve covered thread-level parallelism (TLP) here on Ars previously (here and here), but aside from some comments in news posts I haven’t really addressed the connection between power consumption and designing processors for increased TLP. Ace’s has an article on TLP that explores this issue nicely, and provides some great background for thinking about the some of the multi-core architectures that have been making the news recently (i.e. the ClearSpeed chip and IBM’s Cell, although neither of these is aimed at the kinds of server workloads that the article focuses on.) After introducing two example processors, one conventional (“fat” = multiple execution units and an emphasis on ILP) single-core design and one multi-core (“thin” = few execution units per individual core, but multiple cores and an emphasis on TLP), Ace’s gives the following analysis:
One simple way to view processor performance is the actual number of instructions they execute per second for a benchmark, though this does not compare well between different instruction sets. Another way of view this is the average number of instructions per cycle (IPC) combined with the rate of CPU cycles. In the gigahertz era this becomes BIPS = average-IPC x GHz , where BIPS is billions of instructions per second. The average IPC achieved in a benchmark is always less than the peak amount of Instruction Level Parallelism (ILP) that the CPU can achieve. Recent CPUs running modern server benchmarks rarely achieve an IPC higher than 1.0, and in the case of the Xeon, rarely higher than 0.5. This is well below the peak, and if anything, this situation has been getting worse, not better.
With a single 3GHz 6-way core, the “fat” chip could peak at 18 BIPS, though it would be hard in practice to get more than 1.5 IPC for single threaded code, giving 4.5BIPS, and 2.0 IPC for server code giving 6 BIPS. With eight 1.5GHz 3-way cores the TLP optimised core could peak at 36 BIPS, in practice getting an IPC of 1.0 for single threaded code and 2.0 IPC for server code. That gives 2 BIPS for single threaded code, and 24 BIPS for server code, or 4x the performance of the “fat” core, for what it was designed to do. How the “thin” cores can be so fast while being much smaller and lower power is discussed next.
These kinds of BIPS/Watt tradeoffs aren’t just something that mainstream processor designers will have to contend with at some point in the near future–power issues have already arrived, and in a big way as of the 90nm node.