Hardware Secrets
Home | Audio | Case | Cooling | CPU | Input | Memory | Mobile | Motherboard | Networking | Power | Storage | Video | Other
Content
Articles
First Look
News
Reviews
Tutorials
Main Menu
About Us
Compare Prices
Datasheets
Dictionary
Download
Drivers
Forums
Gabriel's Blog
Links
Manufacturer Finder
Newsletter
On The Web
RSS Feed
Test Your Skills
Newsletter
Subscribe today!
Search




Recommended Book
The Winn L. Rosch Hardware Bible (6th Edition)
By Winn L Rosch
Que
Price: $1.80

Home » CPU
How a CPU Works
Author: Gabriel Torres
Type: Tutorials Last Updated: September 26, 2005
Page: 2 of 9
$ Check REAL-TIME pricing for Intel Core 2 Duo E8400, 3Ghz E8400 (BX80570E8400A) Retail Processor Products $
ZipZoomfly.com: $189.90 Buy.com: $194.99
TigerDirect.com: $199.99 CompUSA.com: $199.99
CompuVest: $204.99

Clock

So, what is clock anyway? Clock is a signal used to sync things inside the computer. Take a look on 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.

Clock signal
click to enlarge
Figure 2: Clock signal.

In the computer, all timings are measured in terms of clock cycles. For example, a RAM memory with a “5” latency means that it will delay five full clock cycles to start delivering data. Inside the CPU, all instructions delay a certain number of clock cycles to be performed. For example, a given instruction can delay seven clock cycles to be fully executed.

Regarding the CPU, the interesting thing is that the CPU knows how many clock cycles each instruction will take, because it has a table which lists this information. So if it has two instructions to be executed and it knows that the first will delay seven clock cycles to be executed, it will automatically start the execution of the next instruction on the 8th clock tick. Of course this is a generic explanation for a CPU with just one execution unit – modern processors have several execution units working in parallel and it could execute the second instruction at the same time as the first, in parallel. This is called superscalar architecture and we will talk more about this later.

So, what clock has to do with performance? 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. Don’t worry; we will cover all that in this tutorial.

As the processor clock signal became very high, one problem showed up. The motherboard where the processor is installed could not work using the same clock signal. If you look at a motherboard, you will see several tracks or paths. These tracks are wires that connect the several circuits of the computer. The problem is that with higher clock rates, these wires started to work as antennas, so the signal, instead of arriving at the other end of the wire, would simply vanish, being transmitted as radio waves.

Motherboard wires work as antennas
click to enlarge
Figure 3: The wires on the motherboard can work as antennas.

Pages (9): « 1 [2] 3 4 5 6 7 8 9 »
Print Version | Send to Friend | | Bookmark Article | Comments (5)

Related Content
  • Pentium 4 Thermal Throttle
  • Sempron vs. Athlon XP
  • Maximum CPU Temperature
  • Sempron 3000+ and Celeron D 331 Review
  • How to Upgrade Your CPU

  • Compare Prices for CPUPowered by Shopping.com
    Intel Core?2 Quad Q6600, 2.40 GHz (BX80562Q6600) Boxed Processor
    Processor, 8 MB Cache Memory, For Socket LGA775, 1066 MHz Bus Speed, For PC Platforms
    Read full description...

    Read 1 Epinions reviews
    $209 - $330 Compare Prices
    Intel Core 2 Duo E6850, 3 GHz (BX80557E6850) Boxed Processor
    Processor, 3 GHz, 1333 MHz Bus Speed, 4 MB Cache Memory, For Socket LGA775, For PC Platforms
    Read full description...
    $164 - $320 Compare Prices
    Intel Core2? Quad Q6600, 2.40 GHz Q6600 (HH80562PH0568M) OEM / Unboxed Processor
    Processor, 2.4 GHz, 1066 MHz Bus Speed, 8 MB Cache Memory, For Socket LGA775, For PC Platforms
    Read full description...
    $200 - $417 Compare Prices
    AMD Athlon? 64 3800 3800+, 2 GHz AMD Processor in a Box (PIB)
    Processor, 1 MB Cache Memory, For Socket AM2, 1000 MHz Bus Speed, For PC Platforms
    Read full description...
    $76 - $113 Compare Prices
    AMD Athlon XP 3200+, 2.2 GHz (AXDA3200BOX) Retail Processor
    Processor, 2.2 GHz, 400 MHz Bus Speed, 512 KB Cache Memory, 3200+, For Socket A, For PC Platforms
    Read full description...

    Read 2 Epinions reviews
    $40 - $40 Compare Prices

    RSSLatest News
    Transcend Releases aXeRam DDR3-1800
    July 4, 2008 - 2:06 PM
    Leadtek Launches WinFast PX9800 GTX+
    July 4, 2008 - 11:44 AM
    MSI Launches Factory-Overclocked Radeon HD 4870 Graphics Card
    July 4, 2008 - 9:22 AM
    Arctic Cooling Launches Accelero TWIN TURBO
    July 3, 2008 - 11:27 AM
    Cooler Mater V8 CPU Cooler
    July 3, 2008 - 10:59 AM
    New DDR3 Intel Extreme Memory Series From OCZ
    July 2, 2008 - 2:59 PM
    New AMD Phenom Processors
    July 2, 2008 - 2:21 PM
    OCZ Announces Core Series SATA-300 2.5" SSD
    July 2, 2008 - 6:45 AM
    Lian Li Launches PC-A77 Case
    July 1, 2008 - 11:48 AM
    BFG Announces Factory-Overclocked GeForce GTX 260 Graphics Cards
    July 1, 2008 - 7:48 AM
    .:: More News ::.

    RSSLatest Content
    Celeron, Pentium Dual Core and Athlon X2: Which One is the Best USD 70 CPU?
    DirectX Versions
    All Phenom Models
    Everything You Need to Know About Serial ATA
    Sapphire HD 4850 Video Card Review
    How Things Are Around Here
    Gigabyte GA-EP31-DS3L Motherboard
    Zalman FPSGun FG1000 Mouse Review
    AMD ATI Chips Comparison Table
    Amazon Kindle Review
    Tagan A+ Black Pearl Case Review
    Western Digital VelociRaptor WD3000GLFS Hard Disk Drive Review
    The new GeForce 9800 GTX+ and PhysX
    Sapphire Atomic HD 3870 X2 Video Card Review
    nVidia Chips Comparison Table

    Our Most Popular Articles
    Maximum CPU Temperature
    723,345 views
    nVidia Chips Comparison Table
    451,913 views
    AMD ATI Chips Comparison Table
    406,821 views
    ATI Radeon X1300 Pro Review
    401,772 views
    ATI Radeon X1600 XT Review
    396,684 views
    How to Find Out Your Motherboard Manufacturer and Model
    347,836 views
    Connecting Two PCs Using a USB-USB Cable
    317,744 views
    How To Correctly Apply Thermal Grease
    302,215 views
    Sempron vs. Athlon XP
    271,916 views
    Sempron 3400+ Review
    261,723 views

    Latest Threads in Our Forums
    Transcend Releases aXeRam DDR3-1800
    by Hardware Secrets Team
    Leadtek Launches WinFast PX9800 GTX+
    by Hardware Secrets Team
    Urgent, Asus My Logo killed my Mobo
    by Viper Masse
    Modding a PSU for hobby purposes, combining rails?
    by Vantskruv
    MSI Launches Factory-Overclocked Radeon HD 4870 Graphics Card
    by Hardware Secrets Team
    P5q Deluxe
    by BedCommando
    Celeron, Pentium Dual Core and Athlon X2: Which One is the Best USD 70 CPU?
    by Cheetos
    Nu Build
    by Cheetos
    Arctic Cooling Launches Accelero TWIN TURBO
    by Cheetos
    Cooler Mater V8 CPU Cooler
    by Hardware Secrets Team
    .:: Visit Our Forums ::.

    © 2004-8, Hardware Secrets, LLC. All rights reserved.
    Advertising | Legal Information | Privacy Policy
    All times are Pacific Standard Time (PST, GMT -08:00)