Академический Документы
Профессиональный Документы
Культура Документы
This tutorial is intended to explain what RAM is and give some background on
different memory technologies in order to help you identify the RAM in your PC. It
will also discuss RAM speed and timing parameters to help you understand the
specifications often quoted on vendors' websites. Its final aim is to assist you in
upgrading your system by suggesting some tools and strategies to help you
choose new RAM. It is written from the standpoint of a desktop PC owner but
most of the concepts apply to laptops and notebooks as well. Like all PC
components, RAM has gone through a number of evolutionary changes (and some
revolutionary changes) and only the RAM designed for your computer will work in
your computer. There are literally hundreds of different RAM products on the
market today so it is important to know the correct type for your system. I am
attempting to write this for the non-technical user but the further I get the more I
descend into techno-babble so you may need to learn a few terms along the way.
I'll assume familiarity with common terms like Megabytes and Gigabytes etc.
Finally I should say I'm not a memory expert, some of the information here I
came across in the process of writing this tutorial, but I hope you will get as
much out of this exploration of RAM as I have.
WARNING - this tutorial may contain more than you ever wanted to know
about PC memory!
Back to table of contents
Tools Required
The latest version of CPU-Z from http://www.cpuid.org/cpuz.php#about
What is RAM?
The term 'RAM' is an acronym for Random Access Memory, this is the memory
that your computer uses to run its operating system and any applications that
you start. The name means that the computer can access information held
anywhere (i.e. at a random location) in RAM by addressing that part of the RAM
directly. In other words if there is some information stored in the 1000th location
in memory the system does not have to read the information in the preceding
999 locations to get there, instead it can access the 1000th location simply by
specifying it. The alternative would be called sequential access, an example of
which would be accessing information stored on a hard drive - the drive can
only read the information which is currently passing underneath the read/write
heads, so if an application wants information in say sector 14 of a certain track
the drive has no option but to read all the information on that track. The drive
electronics then separates out the information from sector 14 and returns that to
the application, the information from the rest of the track is discarded. So RAM is
the quickest way of organising information for retrieval. Why not have everything
on your computer stored on RAM? The answer is cost and volatility - RAM costs
far more per GB than a hard drive and most RAM requires power to maintain the
information stored in it (It's memory is "volatile"). If you had a RAM only
computer you would have to reload the operating system and all your
applications and data every time you switched off or there was a power cut.
There are appropriate uses for this type of computer (e.g. thin clients) but
generally a system is best served by a mix of RAM and Drive storage. Your
computer needs different amounts of RAM for different tasks and the more
applications you open the more RAM is required. You might think that sooner or
later you will run out of RAM and then what? Well the operating system is
designed to cope with that situation by 'paging' blocks of RAM to the Hard Drive.
What that means is if the system is running out of RAM it takes the contents of a
'chunk' of RAM (usually the least used part) and writes it to a reserved area of
the Hard Drive, called the Page File or Swap Space. The 'chunk' of RAM is then
declared free for use. By using the swap space in this way the system
normally never runs out of RAM. But as we have already discussed accessing
information on the Hard Drive is inherently slower than accessing it from RAM so
the result is the computer slows down. No-one likes a slow computer so what do
you do about it? Obviously you want to add more RAM but to do this you need to
match the additional RAM with what is already in your PC and you need to be
sure your motherboard will support the kind of RAM you intend to use.
Back to table of contents
DIMM - Dual Inline Memory Module - a memory stick with power and data
contacts on both sides of the board.
A DIMM module *
ECC - Error Correcting Code - RAM that has additional data storage for
checksum bits to allow correction of errors 'on the fly'. The memory
controller on the motherboard must support this function.
SDRAM - Single data-rate Synchronous Dynamic Random Access Memory Introduced in 1997, memory access is synchronised to the bus clock and
the bus is 64 bits wide. 168 pin modules.
RIMM - Rambus Inline Memory Module - the memory stick used in systems
using Rambus RAM. 184 pin modules.
C-RIMM - The continuity module required to fill empty memory slots in the
Rambus system.
SODIMM and SORIMM - Small Outline versions of DIMM and RIMM sticks.
These are smaller and thinner memory modules, typically used in laptops.
Modules have 144 or 200 pins.
Heat Spreader - A thin metal cover making thermal contact with the
memory chips and assisting in cooling. Also allows manufacturers to put
large logos and badges on the memory modules.
Latency - A delay interval. I was hoping to gloss over this but so many
RAM companies quote latency figures it's bound to come up. See the
section on Latency below.
Bank - A group of memory chips (not modules) that together can supply
enough data bits to equal the CPU data bus. In the days of 30 pin modules
memory chips only held one bit per address and you could only fit 8 chips
on a module so to "fill" the 486CPU's data bus (which was 32 bits wide),
you needed four modules to make one bank. The introduction of 72 pin
SIMMs meant the whole 32bits of data could be supplied by one module,
but when the Pentium CPU was introduced with a 64bit data bus so you
needed 2 SIMMs to make a bank. This explains why owners of older
Pentium systems always had to add or upgrade their memory in pairs.
With the introduction of the 168pin DIMM this drawback was overcome
and now there can be many banks of RAM on one memory module.
Rank - A row of memory chips. Usually a rank fills one side of a memory
module so if your module has two ranks that means there are chips on
both sides.
RAM Speed
The RAM in Intel based computers is accessed by the CPU via the front-side bus
(FSB) and the memory bus. Improvements in technology have changed the speed
of the FSB dramatically. Similarly the RAM itself has a maximum speed at which it
can reliably operate and this must be at least as high as the memory bus speed.
Clearly there is a 'grey area' where the definition of reliable operation is made
and this is one difference between 'low quality' and 'high quality' RAM - the high
quality RAM is likely to operate with close to 100% reliability significantly above
the bus speed for which it is rated. This is one of the regions that overclockers
exploit to boost their system performance - increasing the FSB speed to take
advantage of the performance 'buffer zone' of good quality RAM.
Obsolete SIMM modules (EDO or FP) were rated by the response of the chips on
the module e.g. 70 nanosecond. Older SDRAM sticks were rated as 66MHz,
100MHz (PC100) or 133MHz (PC133) speeds. Original DDR was rated at PC1600
or PC2100. Current DDR is rated as PC3200. Original RIMM modules were PC600,
PC700 and PC800 speeds. Current RIMM modules are rated PC1066. Original
DDR2 is designed for 400MHz, 533MHz and 667MHz speeds. Latest DDR2 is
designed for 800MHz operating speed.
What does this mean in terms of quantity of data that could be transferred per
second? Taking information from a variety of memory manufacturers sites we can
make a table to show some comparisons of peak memory performance:
RAM
Peak
Type of PC Speed
Throughput
RAM Rating in
in MB/sec
MHz
SDRAM PC100
SDRAM PC133
RIMM PC800
RIMM PC1066
DDR
PC1600
DDR
PC2100
DDR
PC2700
DDR
PC3200
Dual
Channel PC800
RIMM
Dual
Channel PC1066
RIMM
Dual
PC2Channel
3200
DDR2
Dual
PC2Channel
4200
DDR2
Dual
PC2Channel
5300
DDR2
Dual
PC2Channel
6400
DDR2
100
133
400
533
200
266
366
400
800
1100
1600
2100
1600
2100
2700
3200
400
3200
533
4200
400
6400
533
8400
667
10600
800
12800
Memory Latency
Now we are getting technical... In the simplest terms Latency is delay. In a
computer it is the inevitable pause between asking for some data and having that
data available to be used. To give a real life example I looked at the Newegg site
and found a couple of pairs of 1GB DDR PC3200 RAM modules which would look
nice in my system, but am I better off ordering the OCZ Gold RAM with 2-3-3-8
timing or the Mushkin High-Performance RAM with 2-3-2-6 timing? What the heck
do those numbers mean anyway?
I'll try to offer a simple explanation, but if all this terminology really makes your
eyes glaze over then just remember if all else is equal then the lower the
numbers are, the better the RAM will perform. Then skip to the next section. For
the rest of us here goes:
Data is stored in your computer's memory chips in a similar way to storing data
in a spreadsheet - it is organised in rows and columns and is sequential along a
row. For example in a 16Mbit chip there would be 4,194,304 address locations or
"cells" arranged in 2048 rows and 2048 columns. Each cell in the chip holds four
bits of data. Part of the chip might look like this:
2-3-2-6-1T
The first number (2) is CL, the CAS Latency. This value has the most
effect on system performance. It is usually 2, 2.5 or 3 for DDR memory.
The second number (3) is TRCD, the RAS to CAS delay. Not as critical as
CL, it is usually 2,3 or 4 for DDR memory.
The third number (2) is TRP, the RAS Precharge delay. This value has
similar effects to TRCD.
The fourth number (6) is TRAS, the Active to Precharge delay. This value
affects stability more than performance. Typically between 5 and 8 for
DDR memory.
The last figure (1T) is the Command Rate and is often omitted, as it is
almost always 1T. For slow RAM it would be 2T. Strangely some
overclockers get very good results by deliberately setting the Command
Rate to 2T even with low latency RAM as it allows them more flexibility
when tweaking the other latencies and bus speeds.
Note that the numbers are valid only for the rated clock speed and will also be
quite different for different types of RAM.
The real life examples were 2-3-3-8 and 2-3-2-6 both of which are good for DDR
at 400MHz, but I can now see that the Mushkin 2-3-2-6 RAM may be more stable
under heavy load than the OCZ RAM. So I can check the price differential and
consider whether that is likely to be an important factor for my computer usage.
These latencies and timing figures have to be entered in the BIOS when the RAM
is installed - the reason you've probably never had to do this is they are
programmed into the SPD EEPROM on the RAM module and the BIOS reads the
values automatically (unless set to manual). If you have two RAM modules with
different timing figures then the BIOS takes the highest figure (slowest setting) to
work with. The timing figures are manufacturers recommendations for successful
operation, there is no law which says the memory module will not work with
different timing and this is fertile ground for overclockers to experiment. They
switch the BIOS memory settings to Manual so the SPD is ignored and insert their
own figures in the BIOS. I am NOT suggesting anyone attempt to do this, unless
you know exactly what you are doing. You can destroy your RAM with
inappropriate settings.
Back to table of contents
have, its speed and ideally its manufacturer. There are a number of different
ways you can find some or all of this information.
1. Check the Paperwork
The purchase invoice/docket may specify the RAM used. Or you may have
a brochure with system specifications on it. Usually these are vague but
they can provide a starting point.
2. Read the POST Messages
As the computer boots it performs a Power On Self Test (POST) and this
generates various messages about system components including the
memory. As the system boots, depending on BIOS settings, you may see
a report of the 'Main Processor' type followed by a 'Memory Testing' result
which shows how much RAM has been detected. Pressing the 'Pause' key
at the top right of your keyboard, at any time, will halt the display so you
can read it. Press Enter to continue booting. At some point, depending on
BIOS settings, the system may draw a box containing the main system
parameters. In the top of the box it will list CPU information on the left
and memory information on the right. Again using the 'pause' key will give
you time to read it. In the lower part of the box, following information
about drives, display type and I/O ports is some information about the
physical RAM. In my example system it reports there is SDRAM at ports 2,
3, 4 & 5. This tells me I have 4 sticks of SDRAM making up my 256MB.
Some systems may not show the POST messages, instead being set to
display a manufacturer's logo (look for the settings "Quick Boot" and
"Quiet Boot" in the BIOS). Either way in modern system the display may
go by so quickly you don't even see it.
3. Ask Windows
If you use Windows XP you can check how much RAM you have using the
System Information tool. Click Start >> All Programs >> Accessories >>
System Tools >> System Information. This will open a 'System
Information' window and in the summary it will tell you the total amount
of RAM recognised in your system, as circled below. Unfortunately this is
all it tells you about your RAM.
Now let's have a look using Everest Home Edition: Start Everest,
in the 'Menu' column on the left hand side click on 'Motherboard'.
The right hand window should change to show CPU, CPUID,
Motherboard, Memory, SPD, Chipset and BIOS icons. Click on the
cryptically named 'SPD' icon (for an explanation see the SPD entry
in the previous section). As shown below this reveals a wealth of
information. The single entry for 'DIMM1' under device description
shows I only have one memory stick. The details below show a
serial number, date of manufacture, size (512MB), type (DDR
SDRAM), speed (PC3200) and other information including the
Manufacturer's name (Kingston Technology Company Inc.) and a
link to their website. It incorrectly reports I have four DIMM slots
when in fact my motherboard only has two. Note that Everest
Home Edition is no longer under development and some of the
information may be out of date.
Windows 98SE and Windows ME have trouble with more than 512MB RAM
- you may get "Out of Memory" errors or other symptoms.
See the Microsoft knowledgebase article here:
http://support.microsoft.com/kb/q253912/
Windows 98SE and Windows ME will not run well with more than 1GB of
RAM. This may cause "potential system instability" according to Microsoft.
Some versions of the Award BIOS slow down your system markedly when
more than 768MB of RAM is installed.
There are five important things to know about your motherboard during
RAM upgrades a. How many RAM slots do you have altogether?
b. How many RAM slots are free?
c. What is the maximum amount of RAM the motherboard will
address?
d. What is the maximum size of each memory module you can fit into
a slot?
You might think you could calculate the maximum amount of memory
supported from the other parameters but they don't always follow simple
arithmetic. For example some motherboards have three slots, each
capable of taking a 1GB module, but the maximum addressable RAM is
2GB. If you do not have a manual available some of this information is
obtainable by simply taking the cover off the PC and shining a torch
(flashlight) inside, for the rest you will need to gather this information
from the motherboard manufacturer's website.
2. Flash your BIOS
I'm a little uncomfortable including this because if you are not very clear
on what you are doing the results may be disastrous. However I have read
that upgrading the BIOS can dramatically alter the maximum size of the
memory modules you can use in limited systems and also bugs in older
versions of your BIOS may be the cause of performance problems. Consult
your PC or motherboard manufacturers website for a "How to" on BIOS
upgrades (sometimes called "flashing the BIOS"). If your PC already
supports 512MB or 1GB modules then you probably don't need to worry
about this.
3. Use a 'Configurator'
Others
4. Choices
This depends on what speed it is, how many slots you have and
whether you are dual channelling. If your original RAM is slow then
the new RAM you add will run at the same speed as the original - if
the motherboard supports significantly faster RAM it would almost
certainly be worth replacing the old RAM. If you have a limited
number of RAM slots you may have to bump the original RAM just
to get the quantity of RAM you want in the PC. If the PC is dualchannel capable but you only have one RAM stick in there then a
pair of upgrade sticks (one for each bank) would be best - do NOT
put the original RAM back in a spare slot because then the system
will revert to single channel mode. Put it in the anti-static
container, label it and give it to another computer owner who can
make good use of it.
a.
Always buy good quality, brand name RAM - one reason for this is
confidence that you are getting what you pay for. In a huge market
like this there are some suppliers willing to over-rate their products
to make a sale, working on the assumption that most people will
never know the difference. If you are keeping your existing RAM it
would make sense to buy the same brand of RAM to upgrade
because you will get the 'best fit' if you do. This becomes more
important as you run more advanced applications and games. Also
you will find that many manufacturers divide their RAM into series
called 'Gold' or 'Platinum', 'Pro' or 'XMS' for example. The higher
priced series reach higher performance criteria than the standard
modules. If you run business applications the cheapest series will
be fine. If you want to game you should check the price
differentials and consider a higher performance series. If you want
to overclock then you're probably eyeing the top of the range.
Looking past the hype we need to remember that the difference
between "value" RAM and "ultra low latency" RAM is, at best, about
10% in performance terms. Once again, for the average user that's
hardly worth the cost, but for the gamer/overclocker that may be
worth it's weight in gold. Even when looking at the most important
latency CL according to the 'RAM Guy' at Corsair "the bottom line
is, moving from CAS-3 to CAS-2 will offer a percentage
performance increase in the low single digits for most applications."
(see references)
Fashion is creeping in to RAM design now - do you want your heat
spreaders in black or silver? Like some swirling coloured LEDS on
your RAM modules? Or want them to glow a mystic blue? No
problem! Some manufacturers build a diagnostic function into the
LED displays but mostly they are sheer gimmickry. For example
one series have LEDs which display scrolling "parametric data" like
frequency, voltage and temperature or "your own personal
b.
5. What to Order
Putting together all the information gathered above, along with your
choices, you should now have a clear idea of what you want to put in your
system so you can shop around for the best deal. Make a table like the
example here so you have all the details at hand:
Size
Total
No. of of RA
Add or
RAM Latenc Preferre
Amoun
Pric
RAM Each M
Series
Replace
Speed
y
d Brand
t of
e
Sticks Stic Type
?
RAM
k
2
PC320 2-3-2Iridiu
(matche 1GB DDR
xyz
2GB Replace $???
0
6-1T
m
d pair)
If you are thinking of buying something expensive look for reviews of your
chosen RAM such as the ones at Extreme Overclocking http://www.extremeoverclocking.com/articles.php or PCSTATS http://www.pcstats.com/articles.cfm before you buy.
Once you have purchased and received your new RAM all that remains is
to install it, which is probably the simplest part of the whole process. Do
NOT take the new RAM out of its container until you have read the static
precautions detailed below. It's probably best to open the RAM container
after you have your computer powered down, the case opened and your
static strap attached (if available). Just before inserting or removing any
components pull the power cord out of the back of the computer and wait
for at least 30 seconds so there is no chance of any voltages left inside the
case to cause damage. Then all that is required is to unplug and remove
the old RAM if it is being replaced. For modern DIMM slots pressing down
on the plastic latches at the ends of the RAM slots will eject the RAM
module. Older systems may have less user-friendly mechanisms, but all of
them use a mechanical latch at either end of the module. To remove the
module you must disengage the latch, do NOT try to just lever the RAM
module out.
Inserting the new RAM is a matter of choosing which slots to use (if your
are not using Dual Channelling then just use the next available slot). Hold
the module close to and centred on the slot and check the notch in the
RAM module lines up with the "key" in the slot to make sure you have the
module the right way around.
Then press down (towards the motherboard) on the latches at either end
of the vacant slot to put them in the 'open' position. Insert the module in
the slot with the gold contacts towards the slot, double check it's the right
way round, then push it firmly down into the slot using firm thumb
pressure equally on each end of the module. If all is well the latches will
pop up to lock the module in place. Do the same thing for any other RAM
modules to install and you're done.
Put any removed modules in the RAM container, take off your static strap,
close the computer case and reconnect the power. The system is ready to
go.
For a rather simplistic Flash presentation on installing RAM see this link:
http://www.kingston.com/support/howto/default.asp
8. Reboot and check everything is Okay
As you reboot your system you may see POST messages reporting the
amount of memory present. If Windows will not boot you can use the
bootable disc made with Memtest-86 to test the memory. Make a note of
any error messages and revert to the original RAM. Then check the
troubleshooting sections of your RAM manufacturer's website. When
Windows has loaded okay run CPU-Z again to check the new memory has
all been recognised and is running at the correct speed and in the correct
mode. Then enjoy!
Back to table of contents
Static Precautions
When handling RAM, as with other computer components, care needs to be taken
to avoid damaging the component through the discharge of static electricity
that builds up on your body or clothing. Static is especially a problem during dry
weather and if you have synthetic carpets or clothing. For example a synthetic
pullover (sweater) would be a bad choice of garment to wear while upgrading
memory, a short-sleeved cotton shirt would be a much better choice. The best
way to combat static while working inside your computer is to wear a static
strap attached to the chassis and worn on your wrist during the whole process.
Disposable static straps are available for a few dollars; professional versions may
cost $30-40. Alternatively if you can maintain good contact between yourself and
the metal chassis for most of the process and try not to move around too much
then that may be adequate without a strap.
Conclusion
I hope this tutorial has informed you of some of the different types of RAM found
in computer systems, explained some of the intricacies of RAM timing, shown you
how to identify the RAM in your own computer and helped you to choose the
correct quantity and type of RAM when upgrading.
Back to table of contents
5. Corsair Memory "CAS Latency: What is it, and How Does It Impact
Performance?" - http://www.corsairmemory.com/main/trg-cas.html
* Images of Corsair memory products are used with the kind permission of
Corsair Memory.
Back to table of contents