What limits CPU speed?
Practically, what limits CPU speed is both the heat generated and the gate delays, but usually, the heat becomes a far greater issue before the latter kicks in.
Recent processors are manufactured using CMOS technology. Every time there is a clock cycle, power is dissipated. Therefore, higher processor speeds means more heat dissipation.
http://en.wikipedia.org/wiki/CMOS
Here are some figures:
Core i7-860 (45 nm) 2.8 GHz 95 W
Core i7-965 (45 nm) 3.2 GHz 130 W
Core i7-3970X (32 nm) 3.5 GHz 150 W
You can really see how the CPU transition power increases (exponentially!).
Also, there are some quantum effects which kick in as the size of transistors shrink. At nanometer levels, transistor gates actually become "leaky".
http://computer.howstuffworks.com/small-cpu2.htm
I won't get into how this technology works here, but I'm sure you can use Google to look up these topics.
Okay, now, for the transmission delays.
Each "wire" inside the CPU acts as a small capacitor. Also, the base of the transistor or the gate of the MOSFET act as small capacitors. In order to change the voltage on a connection, you must either charge the wire or remove the charge. As transistors shrink, it becomes more difficult to do that. This is why SRAM needs amplification transistors, because the actually memory array transistors are so small and weak.
In typical IC designs, where density is very important, the bit-cells have very small transistors. Additionally, they are typically built into large arrays, which have very large bit-line capacitances. This results in a very slow (relatively) discharge of the bit-line by the bit-cell.
From: How to implement SRAM sense amplifier?
Basically, the point is that it is harder for small transistors to drive the interconnects.
Also, there are gate delays. Modern CPUs have more than ten pipeline stages, perhaps up to twenty.
Performance Issues in Pipelining
There are also inductive effects. At microwave frequencies, they become quite significant. You can look up crosstalk and that kind of stuff.
Now, even if you do manage to get a 3265810 THz processor working, another practical limit is how fast the rest of the system can support it. You either must have RAM, storage, glue logic, and other interconnects that perform just as fast, or you need an immense cache.
The heat issue is well covered by fuzzyhair. To summarize the transmission delays, consider this: The time needed for an electrical signal to cross the motherboard is now more than one clock cycle of a modern CPU. So making faster CPUs isn't going to accomplish much.
A super-fast processor is really only beneficial in massive number-crunching processes, and then only if your code is carefully optimized to do its work on-chip. If it frequently has to go elsewhere for data all that extra speed is wasted. In today's systems the majority of tasks can be run in parallel and large problems are split over multiple cores.
It sounds like your latex compile process would be improved by:
- Faster IO. Try a RAMdisk.
- Running different documents on different cores
- Not expecting a 200-page image-intensive job to be done in 2 seconds
There are three physical limits: Heat, gate delay and the speed of electric transmission.
The world record on the highest clock speed so far is (according to this link) 8722.78 MHz
The speed of electric transmission (about the same as the speed of light) is the absolute physical limit, since no data can be transmitted faster than its medium. At the same time this limit is very high, so it is not usually a limiting factor.
CPUs consist of huge amounts of gates, of which quite a few are connected serially (one after another). A switch from high state (e.g. 1) to low state (e.g. 0) or vice versa takes a while. This is the gate delay. So if you have 100 gates connected serially and one takes 1 ns to switch, you will have to wait for at least 100 ns for the whole thing to give you a valid output.
These switches are the thing that takes the most power on a CPU. This means if you increase the clock speed you get more switches thus use more power thus increase the heat output.
Overvolting (=> providing more power) decreases the gate delay a bit, but again increases heat output.
Somewhere around 3 GHz the power use to clock speed increases extremely. This is why 1.5 GHz CPUs can run on a smart phone while most 3-4 GHz CPUs can't even be run on a laptop.
But Clock Speed isn't the only thing that can speed up a CPU, also optimizations at the pipeline or the microcode architecture can cause a significant speed-up. This is why a 3 GHz Intel i5 (Dualcore) is multiple times as fast as a 3 GHz Intel Pentium D (Dualcore).