How does increasing the number of transistors in a chip increase its speed?

Is the only purpose of transistors in a CPU to act as the switches that define its instruction set? And if so then why does increasing the number of transistors increase its speed?


Solution 1:

Off the top of my head:

  • More cache, which is faster than RAM

  • More SIMD instructions, which process faster than single-data instructions

  • More cores, so you can do two or more things at once

  • More functional units, like built-in FPUs, and multiple ALUs

  • Pipelines, so each core can do more things at once

  • Better processing logic, like more sophisticated branch prediction logic

Solution 2:

If you're curious about this sort of thing I highly recommend the book The Elements of Computing by Noam Nisan and Shimon Schocken (at least the first half). After going through it you'd be able to answer your own question in great detail with a full appreciation of the parts involved.

The companion website actually has some sample chapters and notes. It's a very approachable book. I went through it on my own with no problem and then took a brand new class at my university that used it as its primary text.