Sockets and Caches and Cores, Oh My!
A reader asks: 'I have been wondering about upgrading the CPU in my desktop, because it's a slow, cheap computer I bought three years ago. But the jargon is getting me down! Can you demystify all this talk of sockets, cores, clock speed, cache, etc?' Read on to learn more about the 'engine' under your computer's hood...
What's in a CPU?
When buying a car, what’s under the hood may matter a lot to you; or it may not. Some people don’t care how many cylinders an engine has as long as the test drive is satisfactory. The same is true when buying any computerized device, be it a desktop PC, notebook, tablet, smartphone, or digital wristwatch.
This article is for readers who like to know what’s under the hood. We’re going to look at what a CPU is, what’s in it, and what really matters when comparing specs instead of hands-on performance.
The “engine” of a computer is its CPU, which stands for “central processing unit.” Physically, a CPU is a circuit board loaded with electronic components that talk to each other and, through hardwired channels, to other parts of the device. Each component is in a CPU for the same reason pistons and timing chains are in a car’s engine: they work best when they’re as close to each other as possible.
Two typical CPU components are the Arithmetic Logic Unit (ALU) and the Control Unit (CU). An ALU does the simple math that is the foundation of all digital computing: it adds and subtracts, that’s all. Combinations of many such simple operations, executed at lightning speed, yield multiplication, division, exponentiation, and even more complex computations. The CU inserts “math problems” into the ALU and extracts solutions that are passed to other components.
The Clock is Ticking…
The clock or “timer” provides an electrical signal that regulates the speed and timing of data flow and computations. To avoid errors, it is essential that data arrive at the point where it is to be manipulated at the right time; you don’t want to start calculating the square root of a number before the number arrives. (Yes, computers are dumb enough to try that, if unregulated). Regulating the clock speed also prevents overheating; the faster a CPU works the more waste heat it generates.
When comparing CPUs, you'll see clock speeds measured in GHz (gigahertz), and ranging from about 2.0 GHz to 4.0 GHz. Back in the day, you could assume that a higher clock speed (more gigahertz) meant a faster CPU. But because there are two major chip vendors (Intel and AMD), and multiple CPU families offered by each (such as Intel's Xeon, Core i3/i5/i7; AMD's FX, Phenom, Athlon), you can't assume that any longer.
However, if you're comparing CPUs within a family, clock speed numbers have more meaning. A 3.5 GHz Intel Core i7 should outperform a 3.2 GHz Intel Core i7. But you should make no such assumption when comparing (for example) an AMD FX 8350 (4.0 GHZ) to an Intel Xeon E5 (3.10GHz). Check out my article on CPU Benchmarking to learn more about how to compare the different CPU models.
Down to the Core
So far we've discussed the three essential components that comprise a basic CPU: the ALU, the CU and the timer. This bundle is often called a “core processor” or simply a “core.”
Today, many devices contain multiple cores. Each works on one part of a computational job and feeds its result to another component which combines results from all cores to produce a whole solution. This process is called multi-processing, and it’s de rigueur in modern devices.
Generally speaking, the more cores the better. You can buy CPUs with two, four, six, eight, or (if you're really rich) sixteen cores. But to continue with the car metaphor, you don’t need a 16-cylinder race car for runs to the grocery store! Most desktop users will be quite satisfied with a dual-core CPU, such as those in the Intel Core i3 series. The Core i5 CPUs can sport four processor cores, and the Core i7 can have up to six processors. AMD's A series has dual and quad-core models, while the FX series offers 4, 6 or 8 core models.
Unfortunately, there still are not a lot of software applications that can take full advantage of multi-core technology. Such software must be "multi-threaded," meaning it's written to process data in multiple parallel sets of operations simultaneously, each thread using one core. Operating systems such as Windows 7, Windows 8, Mac OS X and Linux can take advantage of multiple cores, but most application software is still single-threaded and will use only one core even if multiple cores are present in your CPU.
Cache vs. Cash
The “cache” of a CPU is a relatively small amount of RAM (random access memory). Ideally, it stores the most frequently accessed data stored in the "main memory" RAM chips that are separate from the CPU. Cache memory is used to minimize the amount of time required to copy memory from RAM to the CPU. Those tiny fractions of a second add up when you’re doing billions of calculations per second.
Faster and larger cache memory is always better, but the amount of cache memory that you need depends on how much data is typically moved at one time. A Word document isn’t nearly as big as an HD video file. Handling email doesn't require the lightning speed that a gamer wants.
When comparing CPUs, you'll see mentions of L1, L2, L3 Cache. L1 cache is always tiny, ranging from 32 to 128 KB (not megabytes or gigabytes). L2 and L3 cache numbers are more important. Honestly, I've never paid much attention to these figures, because I'm not crunching numbers for NASA or killing armies of invading zombies. But if you want to build a hot rod, look for L2/L3 cache numbers that are 4 or 8 MB. Just be aware that more cache will mean more cash, and you probably won't be able to tell the difference in most cases.
Socket To Me
All the data that moves in and out of a CPU needs a road to travel on. Actually, there are many roads consisting of short, thin wires sticking out of the bottom of a CPU. These wires plug into sockets in the motherboard, completing connections that allow data to flow to different components (graphic processor, hard drive controller, etc.).
Various socket configurations have arisen over the years that improved data flow in different ways. You would have seen names like Socket 1 through Socket 7 on 486 computers in the early 1990s. Since then, an alphabet soup of socket names and numbers have arisen. You'll only care about the socket type if you plan to upgrade with a bigger, badder CPU. You'll need a CPU that's compatible with the socket on your motherboard, unless you plan to swap them both.
Bottom line, clock speed, the number of cores, and the amount of cache memory are all factors to consider when choosing a CPU. But so is price, and the intended use of your computer. And remember that those numbers should only be compared within a processor family.
Will you be able to tell the difference between an Intel Core i3 and an i5 while you're on Facebook or watching cat videos? Will an 8-core AMD FX beat the pants off a six-core Intel Core i7 while playing World of Warcraft? My best guess is maybe to both. This article was meant to help you understand the jargon involved. See my articles Does "Intel Inside" Really Matter? and CPU Benchmarking if you want to dig a little deeper.
And of course your thoughts on this topic are welcome! Post your comment or question below...
This article was posted by Bob Rankin on 20 Aug 2013
|For Fun: Buy Bob a Snickers.|
HOWTO: Save Money on Printing Costs
The Top Twenty
Geekly Update - 21 August 2013
Post your Comments, Questions or Suggestions
Free Tech Support -- Ask Bob Rankin
Subscribe to AskBobRankin Updates: Free Newsletter
Copyright © 2005
- Bob Rankin - All Rights Reserved
Article information: AskBobRankin -- Sockets and Caches and Cores, Oh My! (Posted: 20 Aug 2013)
Copyright © 2005 - Bob Rankin - All Rights Reserved