Como o clock é medido e o que isso significa?

3

Depois de algumas pesquisas no Wiki sobre a taxa de clock, encontro duas questões:

  1. O que significa um ciclo?

  2. Como um ciclo afeta a velocidade de processamento?

Desculpe por ser um noob .... Mas realmente espero que alguém possa responder a minha pergunta, obrigado

    
por Program5284 29.08.2015 / 12:58

1 resposta

1

O que significa um ciclo?

Clock is a signal used to sync things inside the computer. Take a look at Figure 2, where we show a typical clock signal: it is a square wave changing from “0” to “1” at a fixed rate. On this figure you can see three full clock cycles (“ticks”). The beginning of each cycle is when the clock signal goes from “0” to “1”; we marked this with an arrow. The clock signal is measured in a unit called Hertz (Hz), which is the number of clock cycles per second. A clock of 100 MHz means that in one second there is 100 million clock cycles.

enter image description here

In the computer, all timings are measured in terms of clock cycles.

Fonte Relógio

Como um ciclo afeta a velocidade de processamento?

To think that clock and performance is the same thing is the most common misconception about processors.

If you compare two completely identical CPUs, the one running at a higher clock rate will be faster. In this case, with a higher clock rate, the time between each clock cycle will be shorter, so things are going to be performed in less time and the performance will be higher. But when you do compare two different processors, this is not necessarily true.

If you get two processors with different architectures – for example, two different manufacturers, like Intel and AMD – things inside the CPU are completely different.

As we mentioned, each instruction takes a certain number of clock cycles to be executed. Let’s say that processor “A” takes seven clock cycles to perform a given instruction, and that processor “B” takes five clock cycles to perform this same instruction. If they are running at the same clock rate, processor “B” will be faster, because it can process this instruction is less time.

For modern CPUs there is much more in the performance game, as CPUs have different number of execution units, different cache sizes, different ways of transferring data inside the CPU, different ways of processing the instructions inside the execution units, different clock rates with the outside world, etc.

Fonte Relógio

Outras leituras

por 29.08.2015 / 15:31