Title: Managing Memory
1Chapter 6
2You Will Learn
- About the different kinds of physical memory and
how they work - How to upgrade and troubleshoot memory
- About Windows memory management
3RAM on the Motherboard
- Loses all data when PC is turned off (except data
stored on CMOS chip) - Two categories
- Static RAM (SRAM)
- Fast
- Used as a memory cache
- Dynamic RAM (DRAM)
- Slower requires constant refreshing
4DRAM
5SRAM
6COAST
COAST, an acronym for Cache On A STick, is a
packaging standard for modules containing SRAM
used as an L2 cache in a computer. COAST modules
look like somewhat oversided SIMM modules.
COAST modules were somewhat popular in the early
1990s, but as of 2004, most cache is build-in to
either the CPU or the motherboard. COAST modules
decoupled the motherboard from its cache,
allowing varying configurations to be created.
7Memory Technologies
8How SRAM Is Used in Different Memory Caches
9How Memory Caching Works
10Dynamic RAM Technologies
- Stored on DIMM, RIMM, or SIMM modules (plug
directly into motherboard) - Differences among these modules
- Width of data path that each type accommodates
- The way data moves from system bus to module
11Examples of Memory Modules
12DRAM Technologies
13DRAM Technologies (continued)
14DRAM
- SIMM technologies
- Can use either EDO or FPM technology
- DIMM technologies
- Can use either BEDO (burst EDO) or synchronous
RAM (SDRAM) - RIMM technologies
- Each socket must be filled to maintain continuity
15Identifying the DIMM Module
16RIMM Technologies
17Error Checking and Parity
- Parity
- Error-checking procedure in which every byte has
an even number of ones or an odd number of ones - Older method of testing integrity of bits
- Stored in RAM or secondary medium
- Sent over a communications device
- Error-correcting code (ECC)
- Current method of error checking that can detect
and correct an error in a single bit
18Parity
19Other Memory Features
- CAS (column access strobe) latency
- RAS (row access strobe) latency
- Both CAS and RAS refer to the number of clock
cycles it takes to write or read a column or row
of data
20Memory Speeds Factors to Consider
- Speed of memory in ns, MHz, or PC rating
- How much memory is installed
- Memory technology used
- CL (CAS Latency) rating
-
- ECC/parity or non-ECC/nonparity
CL- the number of clock cycles between the time a
read command is sent and the data is available
21Factors That Contribute to Memory Speed
22PC RATINGS
It is the rating standard that involves
Data-transfer speed on the Memory BUS between the
CPU and Memory when running any application. The
rating refers directly to the maximum bandwidth
obtainable and indirectly to the memory clock
rate. PC2100, for example, has a 2.1GB/S
maximum transfer rate, and a clock rate of
133MHz. PC4000, as another example, has a 4GB/S
ideal transfer rate and a 250MHz clock. To obtain
the clock rate from the PCXXXX rating, divide the
rating by 16. Multiply the MHz rating by 16 to
obtain the bandwidth rating.
The DDRXXX is just two times the actual clock
speed i.e. DDR400 is clocked at 200MHz. if you
want know the PC-XXXX speed of the DDRXXX speed,
times it by 8
DDR-IPC1600 DDR 200MHz Data-rate (100 Clk x 2)
1.6Gb/SecPC2100 DDR 266MHz Data-rate (133 Clk
x 2) 2.1Gb/SecPC2400 DDR 300MHz Date-rate (150
Clk x 2) 2.4Gb/SecPC2700 DDR 333MHz Data-rate
(166 Clk x 2) 2.7Gb/SecPC3000 DDR 366MHz
Data-rate (183 Clk x 2) 3.0Gb/SecPC3200 DDR
400MHz Data-rate (200 Clk x 2) 3.2Gb/Sec
DDR-IIPC4300 DDR 533MHz Data-rate (266 Clk x
2) 4.3Gb/Sec
23Upgrading Memory
- What to look for when buying memory chips and
modules - How much and what kind of memory to buy
- Reading ads about memory modules
- Installing memory
24What to Look for When Buying Memory Chips and
Modules
- Use type, size, density, and fastest speed
supported by the motherboard - Match tin leads to tin connectors and gold leads
to gold connectors - Beware of remanufactured and re-marked memory
chips
25How Much and What Kind of Memory to Buy
- Determine how much memory you have and need
- Identify the number, type, and size of memory
modules supported by your motherboard - Determine how much memory can you afford
- Match memory modules to the motherboard
26Using Motherboard Documentation to Select Memory
27Using Motherboard Documentation to Select Memory
(continued)
28RDRAM Memory Configuration
29Installing Memory
- Protect chips against static electricity
- Usually modules pop into place easily and are
secured by spring catches on both ends
30Installing a SIMM Module
31Installing a DIMM Module
32Installing a DIMM Module (continued)
33Installing a RIMM Module
34Troubleshooting Memory
- What to do if the computer does not recognize new
SIMMs, DIMMs, or RIMMs, or memory error messages
appear - Recurring errors during normal operations can
mean unreliable memory
35Windows Memory Management
- Evolution of OS memory management
- Windows 9x memory management
- Windows NT/2000/XP memory management
36Evolution of OS Memory Management
- DOS and Windows 9x
- Complicated must deal with conventional, upper,
and extended memory for backward compatibility - Windows NT/2000/XP
- Eliminates complexity memory is simply memory
all memory addresses are used the same way - Causes loss of backward compatibility
37Division of Memory Under DOS and Windows 9x
38Assignment of Windows 9x Memory Addresses
39How Memory Addresses Are Used
40How Memory Addresses Are Used (continued)
41Memory Management Evolution
42Windows 9x Memory Management
- Views and manages memory addresses as DOS did
- Runs in protected mode and uses virtual memory
does a better job managing extended memory than
DOS
43How Windows 9x and DOS Manage Memory Addressing
44Windows 9x and DOS Utilities That Manage Memory
- Himem.sys
- Device driver for all memory above 640K
- Emm386.exe
- Contains software that loads device drivers and
other programs into upper memory
45Using Himem.sys
46Using Emm386.exe
47Creating and Using Upper Memory Blocks
48How Windows 9x Manages Virtual Memory
- Automates virtual memory management
- Stores virtual memory in swap file and manages
that memory for application programs - Controlled by the VMM (memory paging)
- Symptoms of excessive memory paging
- Very high CPU use
- Very slow system response
- Constant hard drive use
49Windows NT/2000/XP Memory Management
50How Windows 2000/XP Manages Virtual Memory
- Default size of paging file is set to 1.5 times
amount of RAM installed - Guidelines for managing paging files
- Set initial and maximum size of file to same
value - Balance file size with disk space usage
- Move paging file to a volume other than boot
volume - Remember that memory dumps cannot be captured if
the paging file is on a different physical disk
from the OS
51Summary
- Memory
- Required in order for a system to work
- Stored on microchips, which are often stored on
memory modules (SIMMs, DIMMS, RIMMs) - Adding more memory can improve system performance
- How DOS, Windows 9x, and Windows NT/2000/XP
manage memory