|
![]() |
Overclock.net - Overclocking.net > Overclock.net Forum > FAQs | |
Info: Why do computers have a clock?
|
||
|
|
LinkBack | Thread Tools |
|
|
#1 (permalink) | |||||||||||||
|
IDDQD
![]() |
Info: Why do computers have a clock?
__________________This guide is meant as a basic explanation behind clock cycles at the very minimalist core of any digital device. It is by no means a comprehensive guide, but hopefully more of an introduction to people who are truly puzzled by the operation of computers. The world of computers is binary. No matter how sophisticated the chip or architecture, digital components rely on 1’s and 0’s, on’s and off’s. But if a computer is simply a series of switches, how can it possibly perform the daily tasks we take for granted? It deals with the complex and varied implementation of an on-off switch, the transistor. You can break down a computer chip much like a molecule. A molecule is made up of atoms, atoms of electrons, and so on down the line. A chip is made up of logical function units, which are made up of simple gates, which are made up, at the most basic level, of transistors. In a perfect world, switches (like transistors) would operate in zero time. In other words, they would go directly from 0 to 1 or 1 to 0 instantaneously. With current technology, this is impossible, and it creates a problem when building complex digital systems. Depending on the complexity of a logical function, the number of transistors varies. This brings about the problem of the integration of many logic functions operating side by side. Let’s take an example of adding two numbers, then storing the result into memory. An addition function would take many more transistors than a simple storage function. Since there are more transistors in the add function, it takes longer for the signal to travel through the adder than it does to travel through the storage logic. This causes instability in the system. Since the storage function will finish before the adder does, it may store a value that’s incorrect. Think of two people walking. You put one person on a 1km straight path, and another on a 2km squiggly path and tell them to cross the finish line at the same time. It takes much longer for the second person to walk their path, so clearly the first person must wait to cross the line. This is where the idea of clocking comes in. Digital systems use a clock as a “stop and wait” mechanism to keep all the different functions within a chip working on the same page. The clock pulse must be long enough to allow all operations to reach a stable state. This way the operations “cross the finish line at the same time". Now it's not that the clock makes things "wait", it's that the chips and funtions only operate during certain phases of the clock pulse as follows. For the most part they operate during: -rising edge (the instant when clock goes 0 to 1) -falling edge (1 to 0) -Hi true: operates as long as clock is 1 -Low true: operates as long as clock is 0 Overclocking exploits this stability. As you increase the clocks, you’re decreasing the wait time available for functions to stabilize. If you use the example with the adder and storage and you increase the clock too much, you end up storing the data half way through the addition process (much like if there were no clock at all), so it could be totally incorrect. This causes the instability that is inherent with excessive overclocking. From the outside, the function of a digital device is perplexing (multiplexing for those of you who know digital systems :-P). However, when you break it down to the very core of what’s happening, with 1’s and 0’s, it’s not entirely difficult to conceive. I hope this has helped someone to get a basic idea of what goes on in a computer, cell phone, camera, or any number of devices on the market today.
Last edited by C-bro : 06-02-06 at 11:48 PM |
|||||||||||||
|
|
|
#2 (permalink) | |||||||||||||
|
Tigers > Lions
![]() |
nice explanation! that deservs some rep+
__________________
Need a quick question answered or you just want to hang out? Why dont you hit me up in the OCN CHAT?
|
|||||||||||||
|
|
|
#3 (permalink) | |||||||||||||
|
ZOMG Native Linux Client!
![]() |
What does it help then if you raise the volts?
__________________
THE Mouse FAQ | 32-bit Resolution Fix | Important Information 64-Bit Driver Signing Fix | The Infraction and Warning System My Anime Progress | The HoN Discussion Thread Please direct all tech related questions to a thread in the respectable forums, and not to my PM inbox. Thank you
|
|||||||||||||
|
|
|
#4 (permalink) | |||||||||||||
|
1:14 Camera:People Ratio
![]() |
Excellent explanation and pleasant writing style, I enjoyed it, good work! REPs for you!
__________________Highly-Annoyed
|
|||||||||||||
|
|
|
#5 (permalink) | |||||||||
|
Overclocker
![]() |
AWESOME FAQ!
But yeah I have the same question as gonX, "What does it help then if you raise the volts?"
__________________
FOR SALE: AMD 3700+ San Diego 2.2ghz AND Patriot 2X512mb DDR PC3200 Ram. Quote:
|
|||||||||
|
|
|
|
#6 (permalink) | |||||||||||||
|
IDDQD
![]() |
I'm not entirely sure of this, and I'll look into it further, but my guess would be simple conservation of energy. In life, nothing is free. If you want to make something do more/faster/harder etc. it requires more energy. In this case it's electricity. I'm thinking if a chip is suddenly performing over 50% more operations than it used to, it would require more energy in the form of increased current. Since the resistance in the chip is relatively fixed (V=IR) increasing the voltage would also give an increase in current allowing it to do more "work" in the same amount of time. This also explains the increase in heat.
__________________This is in no means the only (or correct) answer, but for now it's what I'd speculate the cause affect of voltage is. That was one of the reasons I tried to stay away from hardware as much as I could. The FAQ is more of a conceptual reason behind clocking than a hardware description. In any case, I thank you guys for taking the time to read and your feedback is greatly appreciated.
|
|||||||||||||
|
|
|
#7 (permalink) | |||||||||||||
|
News Fiend
![]() |
Very cool read :)
__________________I liked the analogies. Good job mate, +rep for you!
|
|||||||||||||
|
|
|
|
#8 (permalink) | |||||||||||||
|
..the party can start now
![]() |
great idea for a FAQ. Good explanation for the noobs. MIght wanna expand on exactly how the clock makes things "wait"....
__________________
|
|||||||||||||
|
|
|
#9 (permalink) | ||||||||||||||
|
IDDQD
![]() |
Quote:
|
||||||||||||||
|
| Currently Active Users Viewing This Thread: 1 (0 members and 1 guests) | |
| Thread Tools | |
|
|