Processor pipelines
I was talking with a friend today about processor pipelines, and how everyone (including Apple) is increasing them like there's no tomorrow. The PowerPC 7400/7410 has a mere 4-stage pipeline. The 745x, aka G4e, has a 7-stage pipeline. The G5 has a much longer 16-stage pipeline.
Meanwhile, Intel's Pentium III had a 10-stage, which moved to the Pentium 4's 20-stage, and now the Prescott's 30-stage. Each revision was slower than the previous one at equal clock speed.
So, I wonder... how much of an effect does the number of pipeline stages actually have on performance? As far as I've heard, the progression from the G4 to the G4e to the G5 has signaled a reduced speed at equal clock speed for each revision. I think pipeline stages make the processor able to operate at a greater frequency, thus making up for the speed hit, but the higher the frequency, the hotter and more power consuming a processor is. This in turn makes it more difficult for the processors to work in laptops, and results in the gigantic 10 lb laptops that Dell has, and in the huge wind tunnel case that the G5 has to use.
Meanwhile, Intel's Pentium III had a 10-stage, which moved to the Pentium 4's 20-stage, and now the Prescott's 30-stage. Each revision was slower than the previous one at equal clock speed.
So, I wonder... how much of an effect does the number of pipeline stages actually have on performance? As far as I've heard, the progression from the G4 to the G4e to the G5 has signaled a reduced speed at equal clock speed for each revision. I think pipeline stages make the processor able to operate at a greater frequency, thus making up for the speed hit, but the higher the frequency, the hotter and more power consuming a processor is. This in turn makes it more difficult for the processors to work in laptops, and results in the gigantic 10 lb laptops that Dell has, and in the huge wind tunnel case that the G5 has to use.
Comments
You can have lots of lanes at lower speed or much few pipes with faster speed. Both have tradeoffs.
Dobby.
Originally posted by wmf
The bottom line is that the processor designers actually do know what they're doing. They worry about it so you don't have to.
Best post of the day.
Shorter pipelines can get clock frequencies higher. If everything is behaving perfectly, then an instruction completes every clock cycle. (or every X clock cycles). There are delays and such, and comp arch folks spend a lot of time figuring out the best ways to deal with these things.