Understanding CPU Frequency Waveforms and Dead Time in Modern Processors

In summary, a discussion about creating "square waves" at GHz frequencies led to a question about the waveform and dead time in modern CPUs running at a few GHz. It was explained that most clocks inside a CPU are two-phase clocks, not simple square waves, and that shoot through current is not the issue, but rather the resulting charge flow and power supply current. With smaller gate sizes in ICs, there is a point where increasing clock frequency may cause the increasing leakage current to become equal to the clocking currents, leading to potential faults. However, this "sweet spot" of die size is constantly changing with time.
  • #1
artis
1,481
976
There was a thread recently in another subforums where a user talked about creating "square waves" at Ghz frequencies. It was said there that at that frequency range one cannot have a square wave as the inductance "rounds off" the edges making the waveform sine like.
I am wondering then how about modern CPU's running at a few Ghz typically, what is the waveform like for them and how does the dI/dt look like?

what are the typical "dead time" between pulses as I read that increasing the clock frequency usually makes the CPU to crash due to the fact that the previous pulse hasn't settled yet "waveform dropped to zero", while the next pulse is already rising which disrupts the binary code as the states of transistors overlap, this sounds somewhat similar to a condition known as "shoot through" in switch driven power supplies (smps) where both/all switches conduct at the same time due to the overlapping of their conduction time.
 
  • Like
Likes sysprog
Computer science news on Phys.org
  • #2
A CPU running at a few GHz will have gate delays of about 10 picosec so there is plenty of time for the chains of gates to complete before the next clock phase. Most clocks inside a CPU are two phase clocks, not simple square waves with edge triggered registers.

Shoot through current is not the problem. The problem is that every transition must charge or discharge a capacitor. The gate capacitance of the CMOS inputs must be charged by the CMOS output current, so everything internal becomes a trapezoidal wave. The resulting charge flow is power supply current. That higher current heats the chip to the point where the safety margins are reduced and faults start to occur.

The reason why over-clocked CPUs crash is simply because a previous instruction has not completed before the state of the machine is changed for the next instruction.
 
  • Like
Likes berkeman and sysprog
  • #3
artis said:
this sounds somewhat similar to a condition known as "shoot through" in switch driven power supplies (smps) where both/all switches conduct at the same time due to the overlapping of their conduction time.
In addition to Baluncore's reply, as IC feature sizes ("geometry") get smaller and smaller, the leakage current in each cell becomes a greater fraction of the power consumption. The shrinking gate sizes let you drive the gates faster, but there comes a time when the increasing leakage current becomes about the same as the clocking currents ##C \frac{dv}{dt}##
 
  • #4
berkeman said:
The shrinking gate sizes let you drive the gates faster, but there comes a time when the increasing leakage current becomes about the same as the clocking currents
So there is a point where the "sweet spot" of nm die size is hit, I would say we are already there or maybe even a little past are we not?
 
  • #5
artis said:
I would say we are already there or maybe even a little past are we not?
We have always been there. The "sweet spot" as you call it, moves with time.
 
  • Like
Likes pbuk, berkeman and anorlunda

1. What is CPU frequency?

CPU frequency, also known as clock speed, refers to the number of cycles per second that a processor can execute. It is measured in Hertz (Hz) and is a key factor in determining the performance of a processor.

2. How do modern processors handle varying CPU frequency?

Modern processors use a technique called dynamic frequency scaling, where they can adjust their clock speed based on the workload and power requirements. This allows them to conserve energy and prevent overheating.

3. What are CPU frequency waveforms?

CPU frequency waveforms are graphical representations of the varying clock speeds of a processor over a period of time. They can be used to analyze the performance and power consumption of a processor.

4. What is dead time in modern processors?

Dead time refers to the intervals during which a processor is not actively processing any instructions. This can occur due to various factors, such as idle periods or delays in fetching data. Dead time can affect the overall performance and power efficiency of a processor.

5. How can understanding CPU frequency waveforms and dead time benefit us?

By understanding CPU frequency waveforms and dead time, we can gain insights into the performance and power efficiency of modern processors. This information can help us optimize our code and applications to make the most out of our processors and improve overall system performance.

Similar threads

Replies
9
Views
1K
  • Electrical Engineering
Replies
13
Views
6K
Replies
9
Views
3K
  • General Discussion
Replies
1
Views
8K
Back
Top