understanding system memory and cpu speeds

5
 Home >> Memory, USB Drives >> Resources - Memory >> Understanding System Memory and CPU speeds: A layman's guide to the Front Side Bus (FSB) by Lee Penrod  You are encouraged to make links to this article from your website and tell your friends  The following article is based on years of experience. It is provided as a free service to our customers and visitors. However, Directron.com is not responsible for any damage as a result of following any of t his advice. Copying the contents for commercial purposes is strictly prohibited without Directron.com's written consent. However, you are welcome to distribute these computer support tips free to your friends and associates as long as it's not for commercial purposes and you acknowledge the source. You are permitted and encouraged to create links to this page from your own web site.  1. Introduction  2. What's a bus? o Bus Types 3. The System Clock o Why Isn't My Processor the Right Speed?  4. Double Pumping, Quad Pumping, and DDR  o Double Pumping and DDR o Quad Pumping, the P4, and Rambus o Dual Channel Technology  5. The System Clock, the Front Side Bus, and Overclocking  o What is Underclock ing?  o What is Overclocking? 6. Summary and Conclusion  7. Additional Info and Updates  Introduction Shopping for a new processor and motherboard can be confusing. Some of the most important terms and concepts regarding system performance are also the hardest to understand. Terms like: System Clock, Quad Pumping, Double Pumping, DDR, FSB, SDRAM, Dual Channel, and QDR make many new builders cringe. In this article I will walk you through some of these importan t concepts so that you can make a more informed decision when upgrading your current system or building a new one. |Part One: What's a bus To get anything done with a computer you have to get the information you input to t he CPU and then to any attached devices such as cards, displays, and other output devices. Inside the computer itself, this information travels in the form of signals over what is known as a bus. You can think of a bus as a road and the signals as cars. A wide road (bus) can support more cars (signals), and a smaller road (bus) supports less. The cars (signals) on the road (bus) have a speed limit (the bus speed). Although a speed limit can be broken (an overclocked bus) doing so can have adverse effects on the cars (signals). Going along with this analogy: A computer is like a small city. You do not have just one road, but instead you have several different roads with different names and speeds. There are three main buses in most computers: )1 PCI Bus - The PCI bus connects your expansion cards and drives to your processor and other sub systems. On most systems the bus speed of the PCI bus is 33MHz. If you go higher t han that, then cards, drives, and other devices can have problems. The exception to this is f ound in servers. In some servers you have a special 64-bit (extra wide) 66MHz PCI slots that can accept special high-speed cards. Think of this as a double sized passing lane on a major road that allows higher cars to go through. For information about PCI Express please see the  PCI Express Guide. 2) AGP Bus - The AGP bus connects your video card directly to your memory and processor. It is very high speed compared to standard PCI and has a standard speed of 66MHz. Only one device can be hooked to the AGP bus as it only supports one video card so the speed is better compared to the PCI bus, which has many devices on it at once. 3) Front Side Bus (FSB) - The Front Side Bus is the most important bus to consider when you are talking about the performance of a computer. The FSB connects the processor (CPU) in your computer to the system memory. The faster the FSB is, the faster you can get data to your processor. The faster you get data to the processor, the faster your processor can do work on it. The speed of the front side bus depends on the processor and motherboard chipset you are using as well as the system clock. Read on for more information about the Front Side Bus later in this article. Part Two: The System Clock The system clock is the actual speed of your FSB with out any enhancements (such as double pumping, or quad pumping) on it. The system clock is also sometimes just called the bus speed. From the system clock your PCI bus speed is determined via the use of a divider and then your AGP bus speed is determined by multiplying the PCI bus speed by 2. The dividers allow you to have a faster speed on your PCI and AGP bus while still allowing for the faster operation of the main FSB. In most systems PCI dividers are set automatically and you can not alter them, howe ver, in newer motherboards geared towards computer enthusiasts -- PCI dividers can sometimes be manually set in order to allow you to raise the System clock higher then its normal rate. The t hree most common dividers built in to motherboards are: 1/5 (used on a 166MHz system clock), 1/4 (used on a 133MHz system clock), and 1/3 used on a 100MHz system clock. A 1/6 divider is sometimes available for overclocking and future support. Example: If you have a 166MHz system clock and you set a 1/5 divider in your motherboard's bios then your PCI bus speed would be 166/5 = ~33MHz and your AGP bus speed would be ~33*2 = 66MHz. Why Isn't My Processor the Right Speed?  An often-misunderstood property of the system clock is its effect on processor speed. You see, a thing called a "CPU Multiplier" determines the

Upload: jayakarw

Post on 09-Apr-2018

233 views

Category:

Documents


0 download

TRANSCRIPT

Page 1: Understanding System Memory and CPU speeds

8/7/2019 Understanding System Memory and CPU speeds

http://slidepdf.com/reader/full/understanding-system-memory-and-cpu-speeds 1/4

Home >> Memory, USB Drives >> Resources - Memory >>

Understanding System Memory and CPU speeds: A layman's guide to the Front Side Bus (FSB)by Lee Penrod

You are encouraged to make links to this article from your website and tell your friends

The following article is based on years of experience. It is provided as a free service to our customers and visitors. However, Directron.com is not responsible for any damage as a result of following any of this advice.

Copying the contents for commercial purposes is strictly prohibited without Directron.com's written consent. However, you are welcome to distribute these computer support tips free to your friends and associates as long as it's not for commercial purposes and you acknowledge the source. You are permitted and encouraged to create links to this page from your own web site.

1. Introduction 2. What's a bus?

o Bus Types 3. The System Clock

o Why Isn't My Processor the Right Speed? 4. Double Pumping, Quad Pumping, and DDR

o Double Pumping and DDR o Quad Pumping, the P4, and Rambus o Dual Channel Technology

5. The System Clock, the Front Side Bus, and Overclocking o What is Underclocking? o What is Overclocking?

6. Summary and Conclusion 7. Additional Info and Updates

Introduction

Shopping for a new processor and motherboard can be confusing. Some of the most important terms and concepts regarding systemperformance are also the hardest to understand. Terms like: System Clock, Quad Pumping, Double Pumping, DDR, FSB, SDRAM, DualChannel, and QDR make many new builders cringe. In this article I will walk you through some of these important concepts so that you canmake a more informed decision when upgrading your current system or building a new one.

|Part One: What's a bus

To get anything done with a computer you have to get the information you input to the CPU and then to any attached devices such as cards,displays, and other output devices. Inside the computer itself, this information travels in the form of signals over what is known as a bus. Youcan think of a bus as a road and the signals as cars. A wide road (bus) can support more cars (signals), and a smaller road (bus) supports less.The cars (signals) on the road (bus) have a speed limit (the bus speed). Although a speed limit can be broken (an overclocked bus) doing socan have adverse effects on the cars (signals).

Going along with this analogy: A computer is like a small city. You do not have just one road, but instead you have several different roads withdifferent names and speeds.

There are three main buses in most computers:

)1 PCI Bus - The PCI bus connects your expansion cards and drives to your processor and other sub systems. On mostsystems the bus speed of the PCI bus is 33MHz. If you go higher than that, then cards, drives, and other devices can haveproblems. The exception to this is f ound in servers. In some servers you have a special 64-bit (extra wide) 66MHz PCIslots that can accept special high-speed cards. Think of this as a double sized passing lane on a major road that allowshigher cars to go through. For information about PCI Express please see the PCI Express Guide .

2) AGP Bus - The AGP bus connects your video card directly to your memory and processor. It is very high speedcompared to standard PCI and has a standard speed of 66MHz. Only one device can be hooked to the AGP bus as it onlysupports one video card so the speed is better compared to the PCI bus, which has many devices on it at once.

3) Front Side Bus (FSB) - The Front Side Bus is the most important bus to consider when you are talking about theperformance of a computer. The FSB connects the processor (CPU) in your computer to the system memory. The faster the FSB is, the fasteryou can get data to your processor. The faster you get data to the processor, the faster your processor can do work on it. The speed of thefront side bus depends on the processor and motherboard chipset you are using as well as the system clock. Read on for more informationabout the Front Side Bus later in this article.

Part Two: The System Clock

The system clock is the actual speed of your FSB with out any enhancements (such as double pumping, orquad pumping) on it. The system clock is also sometimes just called the bus speed. From the system clock yourPCI bus speed is determined via the use of a divider and then your AGP bus speed is determined by multiplyingthe PCI bus speed by 2. The dividers allow you to have a faster speed on your PCI and AGP bus while stillallowing for the faster operation of the main FSB. In most systems PCI dividers are set automatically and youcan not alter them, however, in newer motherboards geared towards computer enthusiasts -- PCI dividers cansometimes be manually set in order to allow you to raise the System clock higher then its normal rate. The threemost common dividers built in to motherboards are: 1/5 (used on a 166MHz system clock), 1/4 (used on a133MHz system clock), and 1/3 used on a 100MHz system clock. A 1/6 divider is sometimes available foroverclocking and future support.

Example: If you have a 166MHz system clock and you set a 1/5 divider in your motherboard's bios then your PCI bus speed would be 166/5 =~33MHz and your AGP bus speed would be ~33*2 = 66MHz.

Why Isn't My Processor the Right Speed?

An often-misunderstood property of the system clock is its effect on processor speed. You see, a thing called a "CPU Multiplier" determines thespeed of a processor in MHz. If you take the multiplier of the processor and multiply it by the system clock speed you get the speed of yourprocessor. Your CPU has its multiplier hard wired in to the chip, and this *normally* cannot be changed. Your system clock is another matter. It

Page 2: Understanding System Memory and CPU speeds

8/7/2019 Understanding System Memory and CPU speeds

http://slidepdf.com/reader/full/understanding-system-memory-and-cpu-speeds 2/4

can be set on your motherboard by using BIOS or a set of switches on the board itself. This is very important. Most motherboards do notautomatically set the system clock for you when you install a new processor. We often get reports from new system builders saying that theyreceived the wrong speed processor when in actuality; the new builder forgot to set the system clock to the right speed for their processor. Fora list of standard system clock speeds please see part IV of this article.

Part Three: Double Pumping, Quad Pumping, and DDR

Earlier in this article I compared a bus to a road, and the bus speed to a speed limit. This isn't entirely correct because unlike a standard speedlimit in real life you are not talking about miles per hour or kilometers per hour, you are talking about MHz or millions of clock cycles a second. Acycle is easily represented by a sine wave.

A clock cycle is how long it takes to go from 1 to 0 (from the peek of the wave to the bottom of it). So how does that affect your system?

Your processor and memory all can be affected by various enhancements to speed. To understand this you first must look back at the old wayof doing things:

Traditional parts with out any enhancements can only send/receive a signal once a cycle. A good example of this as far as memory isconcerned is standard SDRAM such as PC133. The traditional approach has been around for a long time and it matched well to the un-enhanced buses like you find on processors such as the Intel Pentium / II / III or AMD K6 series. For these types of systems standard SDRAMmade a lot of sense because the memory and the processor both were able to transmit at the same time and the bus speed could besynchronized.

Enter the Present - The Double Pumped bus w/DDR

As time progressed processor and memory manufacturers found ways of improving the number of access times per cycle. With the release ofthe AMD Athlon Processor the world saw the concept of a "Double Pumped FSB". With a double pumped bus the processor could send andreceive a signal from the memory sub system twice a cycle. This was a great idea; however this meant that standard SDRAM memory nolonger lined up. Standard SDRAM memory could only send/receive once a cycle. What was created is what is known as a bottleneck -- or anobstacle to maximum performance. Removing the bottleneck required a new and faster type of memory and the memory that filled this gap wasDDR memory or Double Data Rate memory.

DDR memory can transmit twice a cycle just like the double pumped bus on an Athlon processor, which means that using it with an Athlonprocessor creates an optimized situation just like you had before with the traditional system.

Quad Pumping, the P4, and Rambus Memory

When the Pentium 4 came out they introduced a new catch phrase to the market: "Quad Pumped" (also known as QDR). The Pentium 4 FSBcan handle 4 signals a cycle. When the P4 was first released motherboards only supported traditional SDRAM accessing once a cycle. As youcan imagine, such a combination of single access a cycle memory and a four access a cycle processor gives you a massive bottleneck andgreatly reduces the potential performance of the processor. Intel was very quick to adopt the fastest memory technology available: RambusRIMM memory. Although Rambus memory only accesses twice a cycle like DDR, Rambus memory comes in much higher speeds than DDR.The base speed of the popular Rambus memory at the time was a double pumped 400MHz (800MHz). Although the memory does not handle 4signals a cycle it does work very well since 400MHz is also the enhanced speed of the standard P4 FSB (4 accesses a cycle x 100MHz). Thefact that the memory does two cycles for every cycle that the bus helps makes up for the two signals a cycle difference. It i s not as good as trueQDR would be but the technology is widely available unlike QDR memory.

Page 3: Understanding System Memory and CPU speeds

8/7/2019 Understanding System Memory and CPU speeds

http://slidepdf.com/reader/full/understanding-system-memory-and-cpu-speeds 3/4

Dual channel Technology

Lets say you have a car that can hold 4 people but you've got 8 people to transport across town. What do you do? Well you could take one loadof people across town, and then go back and get another load of people (a standard memory system) or if money was no object you couldsimply buy another car and have the other half of the people follow you across town in the other car (a Dual channel memory bus). With dualchannel technology you use two memory modules at once to further enhance performance. This essentially doubles the number of signals asecond you can handle and doubles your bandwidth (volume of information that can be transferred at once). Point Blank: Dual channeltechnology increases memory performance but it costs more money because you have to buy memory modules in pairs. Dual channeltechnology also costs more because the motherboard has to support it in the chipset and a chipset that supports dual channel technology costsmore due to the higher complexity of the memory bus. Higher motherboard cost + higher memory cost = higher overall system cost.

Dual channel Rambus has been around for a long time but Dual Channel DDR technology is just now hitting the scene in mass. Since DDRmemory is cheaper than Rambus memory and more widely available, Dual Channel DDR should be a good option for the P4 processor but theproblem is that as of this writing no consumer level chipset supporting Dual Channel DDR exists for the Pentium 4. (Dual channel DDR iswidely available for the AMD Athlon XP series of processors via the nforce2 chipset by nVidia,) When Dual Channel DDR solutions emerge forthe Pentium 4 they will quickly become the best price vs performance ratio on the P4 side.

Update [Sept. 2007] : At this point, pretty much any motherboard you buy is going to have either Dual Channel DDR, DDR2, or DDR3. Most butnot all Dual Channel supporting motherboards will operate in a slower single channel mode if using one stick of ram, but work best with ram inpairs. On these boards its best not to try the odd 3 stick of ram configuration though as some motherboards will have problems operating in thisfasion or plain won't POST.

It's worth noting that at this point, RAMBUS is no longer widely available nor is it supported by any curent motherboard chipset. Those withRambus based systems are strongly encouraged to upgrade to systems utilizing DDR2 or DDR3. As far as which to go with, [DDR2 vs DDR3]right now DDR2 is much much more common than DDR3 and cheaper. DDR3 will probably start becoming common sometime in 2008 whenmore motherboard chipsets come out with full support for it.

Part IV: The System Clock, the Front Side Bus, and OverclockingNow that you understand the performance enhancements in the FSB of a processor it is important that you understand how to figure out theprocessor multiplier and the proper system clock. When you go to purchase a processor you are told in the ad / description for the processorwhat FSB it has. To determine the proper system clock for the processor simply divide the FSB by the performance enhancer (2 for the doublepumped bus on AMD Athlon XP/Thunderbird/Duron processors or 4 for the quad pumped bus on the Intel Pentium 4).

If your processor has a ... FSB then the system clock speed should be:

66MHz (Various Celeron and older): 66MHz clock100MHz (Pentium II / Pentium III / K6): 100MHz clock133MHz (Pentium II / Pentium III / K6): 133MHz clock200MHz (Athlon, Duron, Thunderbird): 100MHz clock266MHz (Thunderbird, XP): 133MHz clock333MHz (XP): 166MHz clock400MHz (Pentium 4): 100MHz clock400MHz (AMD XP): 200MHz clock533MHz (Pentium 4): 133MHz clock800MHz (Pentium 4): 200MHz clock800MHz (AMD64): 200MHz clock1066MHz (Pentium 4/LGA775): 266MHz clock1333MHz (Pentium 4/LGA775): 333MHz clock

Now, remember what I said about the processor multiplier earlier in this article? (Processor speed = processor multiplier x system clock)

If you do not know the multiplier for your processor simply take the proper system clock speed for it and div ide that into the rated processorspeed and then round the dividend to the nearest .5. Examples: The Pentium4 3.06GHz processor has a FSB of 533MHz. Its system clock is533 / 4 = ~133. The multiplier is 3,060 / 133 = ~23.

The AMD Athlon XP2700+ has a main clock speed of 2.17GHz and a FSB of 333MHz. Its system clock is 333 / 2 = ~166MHz. The multiplier is2,170 / 166 = ~13

Underclocking and Overclocking

Underclocking or the act of running a processor or device at under its rated speed is accomplished by simply running the device at a lower busspeed (or if possible a lower multiplier). Most underclocking is done by accident by new system builders. Most motherboards come defaulted tothe lowest system clock speed that the motherboard supports. Since the system clock speed is usually not automatically set by the processoryou put into the board, this means that if you put a processor with a higher bus speed than the lowest one the board supports, you areunderclocking the processor.

Example: Lets say I buy an AMD Athlon XP2400+ processor with a FSB of 266MHz. (XP2400 has a clock speed of ~2000MHz). If I do not setthe system clock to 133MHz then I get the processors multiplier (15) times the default bus speed (100). This gives me the wrong processorspeed (1500MHz) and the motherboard will either tell me I have a 1,500MHz thunderbird processor, or a XP1700+ processor. Changing thesystem clock in bios to 133 will make the motherboard detect the processor properly and give me the right processor speed.

Overclocking or the act of running a processor or device higher then its rated speed is accomplished by increasing the system clock (or ifpossible the multiplier). The biggest issue with overclocking is keeping your PCI bus close to its speed limit (33MHz). Since a divider of yoursystem clock determines your PCI bus, you not only affect your processor when you increase it, but also other parts of the system. Devicesattached to the PCI bus are much less over clocking friendly then either memory or a CPU. When you overclock a processor using the systemclock your processor speed is determined in the same way as one would for finding normal clock speed: processor multiplier x system clock =processor speed.

Example: An Athlon XP1800+ (1.53GHz) processor with a FSB of 266 and its system clock overclocked to 145MHz would give you a speed of~1.67GHz and cause the board to detect the processor as a XP2000+.

Part V: Summary and Conclusion

When you are choosing and installing components in a system you should now know how to properly set the system clock in order to achievethe full potential of the system. You should also now understand more about matching memory with a processor. Go with amotherboard/system that complements your CPU and provides it with memory support that well matches the FSB potential. Slower memorytechnologies such as PC133 SDRAM do not work well with current processors such as the Pentium 4 and Athlon XP. Although synchronizingthe memory speed and the FSB speed is best it is OK to use memory that is faster then the FSB of your processor provided that themotherboard supports it.

Page 4: Understanding System Memory and CPU speeds

8/7/2019 Understanding System Memory and CPU speeds

http://slidepdf.com/reader/full/understanding-system-memory-and-cpu-speeds 4/4

Updates Since this guide was written a few new technologies have emerged such as DDR2 memory and 64 bit processors for Desktop. Here are a fewadditional pieces of information about these technologies:

DDR2 Short and Sweet There are a few major things you need to know about DDR2 when building a system:

Basic Functionality : DDR2 memory has a different approach to design at the chip level then DDR. The simplest way to understand how itworks would be to think that at the low level it had two chips of half the stated memory speed working in tandem together to achieve the fullspeed stated. So for DDR2 400 it would be something like 2 chips of DDR200 working together to achieve the full 400 speed. Notice that I say"chips" not sticks of memory. All this happens on 1 stick of memory.

The overall effect of this trickery is that manufacturers can scale up the speed of the memory beyond the limits of DDR, with only taking a smallhit to the timing of the memory ( how long it takes for the memory to respond back to a request ).

This means that it's possible, and expected to see memory speeds of 533MHz or higher for DDR2. In fact, the current concensus is that if youwant to build a system, and have a choice between a motherboard with DDR1 and DDR2 then to see a benefit to DDR2 you need to at leastget one speed grade higher than that of the max normal speed of DDR1. ( 400MHz ). This is because the timings ( latency ) of DDR2 are worsethan DDR. Essentially in most situation DDR400 ( especially low latency DDR400) is faster than DDR2 400. However, when you get to DDR2533 the speed boost makes up for the slower timings.

As far as matching FSB to DDR2 speed my recommendations are to skip DDR2 400 and opt for going with the following:

800MHz FSB = DDR2 533MHz ( Ideal ) or DDR2 400MHz ( Matched but Slow. ) 1066MHz FSB = DDR2 667 ( Good ) or DDR2 533MHz (Matched )

Generally you want to keep the system clock of your memory matching with the root clock of your memory or one step above. So the systemclock on a 800MHz FSB P4 is 200 (quad pumped) so that matches DDR2 400 (essentially 200 unimproved) or is good with 1 step up DDR2533MHz (essentially 266 unimproved). Note however that if you only had a 800MHz FSB processor then DDR2 667 really probably isn't goingto help much. Once you pass the 1 step above mark on the memory you have diminishing returns unless you can get to double (DDR2800MHz).

Compatability : Generally a motherboard is only going to accept DDR1 or DDR2 not both. The slots are physically different and have a differentnumber of pins, however people have been known to force memory into the wrong slots ( And that ends in horrible results! ). Be careful wheninstalling it and make sure the motherboard takes that kind of memory before attempting.

At the time of this writing only motherboards for Pentium4 or Xeon accepted DDR2. AMD Socket 754 and Socket 939 motherboards can'taccept DDR2 due to the integrated memory controller in the CPU. AMD is making a line of CPUs that can work with DDR2. They will use newmotherboards and have a new socket called M2.

Additional Notes on DDR2 : 1) DDR2 is not QDR like I mentioned earlier, the technology is different. 2) DDR2 does give you definate benefitsand it is recommended. 3) At the time of this writing ALL motherboards that used DDR2 were Dual Channel Ready. 4) It is not uncommon tohear of problems from people trying to use 3 sticks of DDR2. This stems somewhat from what I mentioned in #3. I recommend either using 1,2

or 4 sticks of DDR2. ( more is ok if you are doing a server but add them in pairs, don't use a odd number of sticks if you can avoid it ).

A few notes on 64 bit 1) You can use 32 bit operating systems with a 64 bit AMD CPU or EMT64 Enabled Pentium 4/Xeon.

2) If you plan to run a 64 bit OS with your 64 bit processor, and are actually going to use 64 bit applications ( not just 32 bit applications in 64 bitOS ) then it is recommended that you double the amount of memory you think you need. So for example if you think you would be comfortablewith 512mb of memory, use 1GB. If you wanted 1 GB use 2 GB. [Generally 2GB is fine for most anything].

3) The most common issue with 64 bit CPUs and 64 bit operating systems is that you need all new drivers for your hardware. Often the driverCDs that come with hardware lack the 64 bit driver and you have to download new ones from the web.