Beruflich Dokumente
Kultur Dokumente
Memory
Chapter Objectives
In this chapter you will learn:
• Different memory technologies
• How to plan for a memory installation or upgrade
• To install and remove memory chips
• How to optimize memory for Windows platforms
• Best practices for troubleshooting memory problems
• The benefits of teamwork
Memory Overview
Computer systems need software to operate; without software, a
computer is an expensive doorstop. For a computer to operate, the
software must reside in computer memory. Upgrading memory is
simple, but a technician must understand memory terminology,
determine the optimum amount of memory for a system, install the
memory, fine-tune it for the best performance, and troubleshoot and
solve any memory problems.
The two main types of memory are RAM (random-access memory) and
ROM (read-only memory), and the difference between them is shown
in Figure 6.1.
Figure 6.1. RAM versus ROM
RAM is divided into two major types: DRAM (dynamic RAM)
and SRAM (static RAM). DRAM is less expensive but slower than
SRAM. With DRAM, the 1s and 0s inside the chip must be refreshed.
Over time, the charge, which represents information inside a DRAM
chip, leaks out. The information, stored in 1s and 0s, is periodically
rewritten to the memory chip through the refreshing process. The
refreshing is accomplished inside the DRAM while other processing
occurs. Refreshing is one reason DRAM chips are slower than SRAM.
Most memory on a motherboard is DRAM, but a small amount of SRAM
can be found inside the processor inside the processor housing, and
sometimes on the motherboard. SRAM is also known ascache
memory. Cache memory holds the most frequently used data so the
CPU does not return to the slower DRAM chips to obtain the data. For
example, on a motherboard with a bus speed of 233MHz, accessing
DRAM could take as long as 90 nanoseconds. (A nanosecond [ns] is one-
billionth of a second.) Accessing the same information in cache could
take as little as 23 nanoseconds.
Tech Tip: The CPU should never have to wait to receive an instruction
Using pipelined burst cache speeds up processing for software
applications.
The CPU fetches a software instruction from memory, and then the
processor sits idle. In a fast-food restaurant, this is the same as not
allowing waiting customers to be served until the first customer has his
or her food. Most restaurants serve the next customer while the food is
being prepared and open more registers when lots of customers are
waiting. With pipelining, the processor is allowed to obtain more
software instructions without waiting for the first instruction to be
executed. Opening more registers is similar to how manufacturers use
processor models with more pipelines. Using cache memory and using
pipelining are popular technologies used today.
The data or instruction that the processor needs is usually found in one
of three places: cache, DRAM, or the hard drive. Cache gives the fastest
access. If the information is not in cache, the processor looks for it in
DRAM. If the information is not in DRAM, it is retrieved from the hard
drive and placed into DRAM or the cache. Hard drive access is the
slowest of the three. In a computer, it takes roughly a million times
longer to access information from the hard drive than it does from
DRAM or cache.
Tech Tip: Free hard drive space and video memory are often as
important as RAM in improving a computer’s performance
RAM is only one piece of the puzzle. All of a computer’s parts must work
together to provide good system performance.
When determining a computer’s memory requirements, you must take
into consideration the operating system used, applications used, and
hardware installed. The Windows XP operating system takes a lot less
memory than do Windows 7 and 8. High-end games and desktop
publishing take more RAM than word processing.
Memory Physical Packaging
A DIP (dual in-line package) chip has a row of legs running down each
side. The oldest motherboards use DIP chips for the
DRAM. SIMMs (single in-line memory modules) came along next. Two
types of SIMMs were used: 30-pin and 72-pin. The memory chip used
today is a DIMM (dual in-line memory module), which has 168, 184, or
240 pins. Figure 6.2 shows the progression of memory packaging.
Figure 6.2. Memory chips/modules
Memory chips are also called memory sticks, or a technician might call
one memory module a stick of memory or RAM. RIMMs are used in
older Intel Pentium 4 computers. Figure 6.3 shows a RIMM. The RIMM
has two notches in the center.
The operating system you use determines to a great extent the starting
point for the amount of memory to have. Generally, the older or less
powerful your operating system is, the smaller amount of RAM you
need. Table 6.5 is the starting point for calculating memory
requirements. Remember that as you want to run more applications
simultaneously and the higher the application function (such as gaming
or photo/video/sound manipulation), the more memory you will need.
Also note that the memory recommendations shown in Table 6.5 are not
the minimum requirements listed by the operating system creators.
Notice that Apple computers (OS X) have similar memory
recommendations to PCs.
Tech Tip: The higher the CL rating, the slower the memory
A rating of CL9 waits nine clock cycles before moving to the next
memory address. A rating of CL8 waits less time, or eight clock cycles
before moving to the next memory address.
Laptop and netbook memory advertisements are very similar to desktop
memory advertisements, as shown in Table 6.9.
Table 6.9. Sample SO-DIMM advertisements
Notice in Table 6.9 that the 2GB memory module runs at 1.35V and the
others run at 1.5V. Some motherboards support dual-voltage
memory, which means the motherboard supports the memory module
that runs at the lower 1.35V level. 1.35V memory modules use less power
and generate less heat. Note that all memory modules must be 1.35V
modules to operate at 1.35 volts.
Removing/Installing Memory
When removing a DIMM or a RIMM and using proper ESD-prevention
techniques, push down on the DIMM retaining tabs that clasp over the
DIMM. Be careful not to overextend the tabs when pushing on them. If a
plastic tab breaks, the only solution is to replace the motherboard. The
DIMM/RIMM lifts slightly out of the socket. Always ensure you are
grounded to prevent ESD by using an antistatic wrist strap or
maintaining contact with metal with a bare part of your arm. Lift the
module out of the socket once it is released. Figure 6.12 shows how to
remove a DIMM/RIMM.
Figure 6.12. DIMM/RIMM removal
A DIMM/RIMM has one or more notches on the bottom where the gold
or tin contacts are located. The DIMM inserts into the memory socket
only one way. The DIMM memory socket has two tabs that align with the
DIMM notches. Look at the DIMM and notice where the DIMM notches
are located. Look at the DIMM socket and notice where the tabs in the
socket are located. The DIMM will not insert into the memory socket
unless it is oriented properly.
A DIMM/RIMM is inserted straight down into the socket, not at a tilt
like the SIMM or a SO-DIMM. Make sure the side tabs are pulled out
before you insert the DIMM and close the tabs over the DIMM once it is
firmly inserted into the socket. If the DIMM/RIMM does not go into the
slot easily, do not force it and check the notch or notches for correct
alignment. However, once the DIMM is aligned correctly into the slot,
push the DIMM firmly into the slot and the tabs should naturally close
over the DIMM or on the sides of the DIMM. Figure 6.13 illustrates how
to insert a DIMM or a RIMM. Figure 6.14 shows a close-up of how the
tab needs to fit securely in the memory module notch.
Figure 6.13. DIMM/RIMM installation
Figure 6.14. Secure DIMM tab
Today’s motherboards automatically recognize new memory; however,
some advanced BIOS options exist for tweaking memory performance.
With some computers, the Setup program can be used to select parity,
non-parity, or ECC options. Always refer to the motherboard or the
computer system documentation.
Many laptops and netbooks have only one memory slot, so when you
upgrade, you must remove the module that is installed. Always refer to
the manufacturer’s documentation when doing this. Always turn off the
laptop and remove the battery pack before upgrading memory. When
installing memory into a mobile device, refer to the documentation to see
if a retaining screw on the bottom of the unit must be removed or if the
keyboard must be removed in order to access the memory slots. Be sure
the laptop memory notch fits into the key in the memory slot. Laptop
memory is normally installed at a 45-degree angle into the slot. Press
down on the module until it locks into the side clips. The trick to
installing memory is to push firmly into the slot and then into the side
clamps. Figure 6.15 shows how to access the memory module in a laptop
computer. Notice that the battery has been removed.
Figure 6.15. Accessing a laptop memory module
Tech Tip: Upgrading memory is one of the easiest ways to help with
performance issues
Keep in mind that sometimes there is nothing to do but buy more
RAM—but try the previously mentioned tips first.
If you receive a message that SPD device data is missing or inconclusive,
your motherboard is looking for SPD data that it cannot receive from the
memory module. If this is a new module, ensure that it supports SPD. If
it is an older module, you need to replace one of your memory modules.
POST usually detects a problem with a memory chip, and most BIOS
chips show an error code or message. The motherboard might also
contain diagnostic lights or a code. If either occurs turn off the computer,
remove the cover, and press down on any memory modules and reboot.
Another option is to clean the memory module slots with compressed air
and reinstall the module.
The key to good memory chip troubleshooting is to divide and conquer.
Narrow the problem to a suspected memory module and then swap
banks, if possible. Keep in mind that most memory problems are not in
the hardware but in the software applications and operating system.
Tech Tip: Adding more memory did not allow my application to load
or run faster
Today’s operating systems rely almost as much on hard drive space as
they do on RAM because of multitasking (using multiple applications
simultaneously). Lack of hard drive space is almost as bad as not having
enough RAM.
Flash Memory
Flash memory is a type of nonvolatile, solid-state memory that holds
data even when the computer power is off. PCs use flash memory as a
replacement for the BIOS chip. Network devices, smartphones, and
tablets use flash memory to store the operating system and instructions.
Some tablets can use external flash media for storage. Digital cameras
use flash memory to store pictures; scanners use flash memory to store
images; printers use Flash memory to store fonts. Flash memory does
not have to be refreshed like DRAM and it does not need constant power
like SRAM.
Exercises
Lab 6.1 Configuring Memory on Paper, Part 1
Objective: To be able to determine the correct amount and
type of memory to install on a motherboard
Parts: Internet access or access to magazines or ads that
show memory prices
Procedure: Refer to Figure 6.23 to answer the questions. This
motherboard supports 184-pin DDR SDRAM PC1600, PC2100,
PC2700, and PC3200 modules. The capacities supported are
64MB through 1GB for a total of 3GB maximum.
Figure 6.23. Motherboard with three memory slots
Questions:
1. What memory modules are needed if the customer wants 1.25GB
of RAM? (What capacities and how many of each capacity?)
4. Based on your research, did you change your mind about which
memory modules you are buying if this was your own machine?
Why or why not?
7. Is the parity, non-parity, or ECC feature used? How can you tell?
Questions:
1. What memory modules are needed if the customer wants 3GB of
RAM? (What capacities and how many of each capacity?)
2. Can any possible memory module combination provide dual-
channel support with 3GB installed?
7. How do you know which one of the 533, 667, or 800 type of
module to use?
2. What memory features, if any, are used? (Select all that apply) [
parity | non-parity | ECC | registered | fully buffered | unbuffered |
SPD ]
3. What memory modules are needed if the customer wants 3GB of
dual-channel RAM? (What capacities and how many of each
capacity?)
3. If the machine supports PAE, under the line that shows the
amount of physical memory the words Physical Address
Extension are shown.
Does this computer have the PAE installed?
4. Click Cancel to close the System Properties window.
Lab 6.8 Using Windows XP Task Manager to View Memory
Objective: To be able to use the Task Manager tool to view
memory resources currently being used by Windows XP
Parts: A computer with Windows XP installed
Procedure: Complete the following procedure and answer the
accompanying questions.
1. Press keys.
2. Click the Performance tab.
What percentage of the CPU is being used?
How many kilobytes are shown for the application in the Working
Set column?
8. Hold the mouse pointer over the colored bar that shows how the
“Standby” portion of physical memory is being used.
What is the exact purpose of the “Standby” section?
Does this device have external storage? If so, how could you tell?