|
Company
Name |
|
|||
|
|
|
|||
|
Team
Lead |
|
|||
|
Module
Name |
Managing
Memory |
|||
|
Certification
Test |
|
Vendor |
|
|
|
Objectives
covered |
|
|||
|
Time
allotted |
8
Days |
Time
Taken |
|
|
|
Date
Started |
|
Date
Completed |
|
|
Portfolio
Contents
|
Item |
Complete |
Incomplete |
Points
Awarded |
|
Lab
reports for all labs (List labs) |
|
|
|
|
Lab 4-1 Installing RAM |
|
|
|
|
Lab 4-2 Understanding the Config.sys File |
|
|
|
|
Lab 4-3 Memory Management in DOS |
|
|
|
|
Lab 4-4 Loading mouse drivers in DOS |
|
|
|
|
Lab 4-5 Planning and Pricing Memory |
|
|
|
|
Lab 4-6 Using MSD to view memory |
|
|
|
|
Lab 4-7 DDR SDRAM |
|
|
|
|
Lab 4-8 Memory Management in Windows XP |
|
|
|
|
Lab
4-9 Memory Management in Windows |
|
|
|
|
Lab 4-10 Memory Management in Windows 98 |
|
|
|
|
Group Test |
Score |
|
|
|
RAM
Technologies |
|
|
|
|
Completed solution
to problem portfolio |
|||
|
Customer
Overview |
|
|
|
|
Email
questions to Joe |
|
|
|
|
Identify
Customer Needs |
|
|
|
|
Identify
Possible Solutions |
|
|
|
|
Define
terminology used (jargon, technical terms) |
|
|
|
|
Price
Out Solutions |
|
|
|
|
Diagram
of Solutions |
|
|
|
|
Write
up a proposal with all of the above included. Turn in. |
|
|
|
Notes Understanding & Managing Memory
Tory Klementsen, MCP A+
Objectives of Unit
n Student will learn:
–
Where memory is housed on the system board and expansion board
–
How it is used by DOS and Win. 9x.
–
How to manage memory using DOS and Win 9x.
–
How to upgrade the memory
RAM vs ROM
n RAM is
_________________________ memory that loses data when the power is turned off.
–
Exception is
_________________________
n ROM is _________________________-volatile. Some ROM
can’t be changed.
–
_________________________can be changed with high voltage
–
EPROM can be changed with
_________________________ _________________________.*
ROM
n Mobo contains a number of
ROM chips that contain
_________________________data for computer.
n Original ROM chips are _________________________-etched at factory
and cannot be changed.
n Changeable ROM
–
_________________________
–
_________________________*
Flash Memory (ROM)
n Acts like _________________________storage, it does not
lose its data when the power is turned off
n Holds data _________________________not _________________________
n Provides much faster data
access than _________________________
n More expensive than _________________________
n Uses _________________________Chips
n More commonly found in
notebooks and PC cards (_________________________).
n Also used in digital _________________________, cell _________________________, smart phones,
_________________________, etc.*
Review
n ROM is considered ________
because it retains data even if the power goes off.
n RAM is therefore __________
n ROM lives where?
n RAM lives where?
Ram on the System Board
n _________________________Ram
(SRAM) – Holds data as long as power is on
n _________________________Ram
(DRAM) – Needs constant refreshing
n Memory is housed on _________________________ (old skool) or _________________________
n _________________________–
holds data and instructions as they are processed in system board or in CPU
housing
–
System board = chip or a memory module called a _________________________
–
Currently the cache is housed inside
_________________________*
–
CPU _________________________is used by the CPU to reduce the
average time to access _________________________.
–
It stores _________________________of the data from the most frequently used main
_________________________ _________________________.
–
As long as most memory accesses are cached memory locations, the average _________________________of
memory accesses will be _________________________to the cache latency than to
the _________________________of main memory.
–
When the processor needs to _________________________from or _________________________to
a location in main memory, it first checks whether a copy of that data is in
the _________________________. If so, the processor immediately reads from or
writes to the cache, which is much faster than reading from or writing to main
memory.
–
L1—_________________________Cache
–
Typically _________________________KB
–
Intel uses 2 _________________________ L1 cache
–
One for _________________________
–
One for _________________________
–
L2—Feeds the _________________________ cache
–
Usually _________________________than L1
–
_________________________
–
L3—Feeds the _________________________cache, often a little _________________________than
L1 and L2, but faster than main memory.
–
_________________________used often
–
CPU looks at __________________________________________________

SRAM & DRAM
n SRAM is faster than DRAM
because data is not _________________________
–
Made up of _________________________that hold a charge
–
More _________________________
n DRAM refreshed every
_________milliseconds or so.
–
Made up of _________________________must be recharged
n Most computers have a
little _________________________and a lot of _________________________*
Review Two
n This RAM is very fast but
pricey
n You have a lot of this on a
motherboard
n But only a little of this
n Does not need to be
refreshed
n DRAM is refreshed every ___
milliseconds
Memory Caching
n Used to store data or
_________________________in SRAM for quick retrieval.
n Requires
_________________________chips and a _________________________controller.
n Controller
_________________________what data or code the CPU wants next and grabs it. If
it’s right, speeds up processing.
n If wrong, grabs the
_________________________code.
n It’s right _____________%
of the time.*
Asynchronous V Synchronous SRAM
n Synchronous
–
Requires _________________________signal to sync control signals.
–
Data sent in 2 step process.
• Data
_________________________
• _________________________itself
• Not all addresses are sent,
just the _________________________one*
n Asynchronous
–
Doesn’t work with _________________________clock
–
Looks up _________________________sent to it by CPU and return data
within __________ cycle
–
Unable to request as much _________________________per cycle.*
Review 3
n What is the job of the
cache controller?
n How often is it wrong?
n What happens if it is
wrong?
n How do asynchronous RAM
pulses work?
n What is the difference
between that and synchronous?
SIMMS & DIMMS
n SIMM
–
single inline _________________________modules
–
data path _________________________bit
–
30 pins _________________________MB
–
72 pins _________________________MB
–
Access speeds are _________________________ns w/60 being fastest.
n DIMM
–
Dual _________________________memory modules
–
data path _________________________bits
–
168 pins _________________________
–
Uses _________________________volts
–
Can be _________________________or _________________________in order to
amplify a signal just before the data is written on the module.*
DIMM
n Notch on
_________________________identifies voltage used.
n Notch on
_________________________indicates with registered (RFU), buffered, or
non-buffered.*
Label the RAM

|
1 |
2 |
|
3 |
4 |
|
5 |
6 |
|
7 |
Kind
of RAM: |
SODIMMs
n _________________________are
dual inline memory modules designed for notebooks,
mini-_________________________ motherboards, printers, and things like routers
and switches.
n There are three types:
–
72 pin with _________________________bit bus width
–
144 pin with _________________________bit bus width
–
200 pin with _________________________bit bus width
Which is what?
Review Four
n What flavors do SIMMs come
in? (sizes)
n What is the rule when
installing SIMMs?
n What may the notches on a
DIMM mean?
n What speeds do SIMMs run
at?
n What is the latest flavor
of DIMM?
Buying Memory
n If you get the wrong
memory, you may end up with
__________________________________________________faults.
n Make sure you buy
_________________________leads if your mobo has gold. Tin if it has tin. (Not
an issue in new computers.)
n Check mobo documentation
for speeds and types of memory _________________________.
n You want to choose memory
that supports your FSB speed. If you have an _________________________FSB, get
memory rated at 800 for best results.*
What do the Numbers Mean?
n DDR200/PC1600,
DDR266/PC2100, DDR333/PC2700, DDR400/PC3200, DDR433/PC3500, DDR466/PC3700, and
DDR500/PC4000.
– The first number indicates
the maximum _________________________that the memory supports. For instance,
DDR400 memories work at _________________________MHz at the most.
– It is important to note
that this is not the real clock speed of the memory: the real clock of the DDR
memory is _________________________the labeled clock speed. This way, in fact,
DDR400 memories work at _________________________MHz.
– The second number indicates
the _________________________transfer rate that the memory reaches, in MB/s.
– DDR400 memories transfer
data at 3,200 MB/s at the most, hence their
_________________________classification.*
What do the Numbers Mean?
n Temporization of Memory
–
The temporization of the memory is given through a series of numbers,
as, for instance 2-3-2-6-T1, 3-4-4-8 or 2-2-2-5.
–
These numbers indicate the amount of _________________________pulses
that it takes the memory to perform a certain operation.
–
The _________________________the number, the
_________________________the memory is.*
Review Five
n On DDR200/PC1600
–
what does the 200 mean?
–
What would the clock speed of this memory be?
–
What would be the transfer rate?
n Which is faster?
–
2-3-2-6-T1
–
3-4-4-8
–
2-2-2-5
Buffered or Registered…huh?
n Buffered Memory = A buffer
isolates the memory from the _________________________to minimize the load on
the _________________________set. It is typically used when the system has a
high density of memory and/or when a system has more than 3 memory module
sockets.
Buffered or Registered…huh?
n Unbuffered memory = This is
where the chip set _________________________deals directly with the memory.
There is nothing between the chip set and the memory chips on the
_________________________as they communicate.
n Registered Memory =
Registers delay memory information for _________________________clock cycle to
ensure all communication from the chipset is collected by the clock edge,
providing a controlled delay on heavily loaded memories.
Review Five
n When is buffered memory
used?
n What controls the chips in
unbuffered memory?
Comparing RAM
Single vs. Dual Channel RAM
DDR2 vs DDR3
n DDR2 is not only used for
computers, but also for _________________________cards.
n New DDR3 aka
_________________________is showing up on high end video cards.
n Right now, only very high
end motherboards are using _________________________
n Required by
___________________________
n Starting to use it
_____________________________
n DDR3
– Requires less
_________________________than DDR2
– DDR2
_________________________ DDR3 _________________________
– DDR3 has double the
_________________________banks (_____)
– There is a built in
_________________________thermal sensor
– _________________________,
runs _________________________, and can handle more!
n DDR3
– _________________________pins
(120 on each side)
– Only fit in
_________________________slots
– Pricey but going down.
Prices for 4 GB*
– ______________________ in
Oct 2007
– ______________________ Oct
2008
– ______________________ Nov
2009
RAM Technologies
n http://www.computermemoryupgrade.net/static-ram.html
Dual Channel RAM
n DDR SDRAM motherboard
technologies contain a chipset that effectively _________________________the
throughput on the _________________________bus to the RAM
n Memory is accessed 128 bits
at a time instead of _______ bits.
n Two sticks of RAM in
specific slots must be:
–
_________________________ (same capacity, same speed, same manufacturer,
same model)
–
In dual _________________________slots (colored on mobo)*
Dual Channel Setups
Review Five or six…where are we?
n What are the rules for dual
channel support?
n What is the purpose of dual
channel?
n Dual Channel
_________________________the capability of the FSB.
Memory Management in the OS
n Having RAM is all well and
good, but the OS manages it has a lot to do with performance.
n DOS and Windows 9x manage
RAM in a _________________________different way than Windows NT/2000/XP
n Understanding those
differences can help in troubleshooting OS based memory issues.*
How DOS handles Memory
n Initially DOS couldn’t
handle more than _______MB RAM (_________________________).
n Only one
_________________________could run at a time.
n This program had
_________________________access to this 1024K. This is referred to as
“_________________________mode” because the program actually had access to memory
addresses, as opposed to having the OS handle the addresses.*
DOS and RAM cont…
n Later the CPU could handle
more than one program and the OS handled _________________________. This was
called _________________________mode.
n Early versions of DOS used
real mode exclusively.
n Later
_________________________.SYS was added to handle addresses above _______ MB.
n Without
_________________________ (high memory is memory above
_________________________), no more than 1 MB is available.*
OS Management of Memory
n Win3x w/DOS could handle
more than one program loaded in the same time by
_________________________programs in and out of memory.
n This was called
_________________________mode, but was really _________________________mode
incognito.
n Later versions allowed 16-bit
programs to share memory in a _________________________.*
OS Memory Management, cont
n W95 supported
___________-bit protected mode applications.
n Most of the OS also runs in
_______-bit protected mode.
n 16 bit programs can run,
but are required to run in a _________________________.
n In NT on up all code
is in _________________________mode. There is no
_________________________access to RAM.*
n Windows XP had a faster _________________________and
loaded less into RAM at startup, loading with about _________________________MB
RAM.
n Windows Vista used _________________________,
which caused it to load _________________________used _________________________on
startup, which made it a memory HOG!*
n It also devoted the same
amount of _________________________to EVERY window you had open.
n Windows 7 works between the
two. It uses much less _________________________than Vista
n Only _________________________windows
use resources
n Less _________________________are
bundled with it, so less load at startup
n Under the hood _________________________work
better with current _________________________architecture.*
Processes and Memory
n Each process has its own
virtual memory, called an _________________________space, into which it maps
the code that it _________________________and the _________________________that
the code references and manipulates. *
n A 32-bit process uses
32-bit _________________________ _________________________address
_________________________, which creates an absolute upper limit of _____________GB
(2^32) for the amount of virtual memory that a 32-bit process can address.*
n The OS needs to see both
ITS code and data and the code and data of each process, so it splits the
difference, assigning _________ GB to each.*

Review Seven (let’s just say we’re at seven)
n Originally, OSes couldn’t
“see” more than _________________________of RAM.
n How many programs could DOS
run at a time?
n What does “real mode” mean
to a program?
n When programs went to
“protected mode” what did this mean to the program? To the OS?
n This program allowed DOS to
“see” RAM above 1 MB.
n How did Windows 3.1 handle
more than one program running at a time?
n What is a VDM and how is it
important in a 32-bit operating system?
n How did Windows NT secure
RAM?
nHow much virtual memory CAN each process get?
nWhy doesn’t it get that much?
Physical Memory & Memory Addresses
n Memory is
_________________________, addresses are _________________________.
n A limited number of
addresses are available depending on the number of memory address
_________________________available on the memory bus.
n Some older 16-bit programs
were written to use only _________________________addresses.
n Programs now have addresses
assigned by the _________________________.*
Memory Addresses, cont.
n _________________________also
requires addresses. The OS will assign memory addresses via the pnp system.
n Both
_________________________and _________________________are addressed. This
happens during boot up and is referred to as _________________________ _________________________.
n ROM is
_________________________into RAM and left over addresses are assigned to
hardware, OS, and then programs.*
Review Eight
n RAM is
_________________________addresses are _________________________
n How does an OS determine
how many memory addresses are available?
n Some older 16-bit programs
required what?
n What gets the first memory
addresses? When does this happen?
Areas of the Memory Map
n _________________________Memory
(0-640K)
n Upper Memory
(640-_________________________)
n Extended Memory (over
_________________________)
n _________________________memory
(1st 64K of extended memory)*
Conventional Memory
n Originally only
_________________________of RAM was available for programs.
–
Holds the _________________________applications and data being
processed.
–
Why it is inadequate today.
•
_________________________are too large
•
More than one _________________________runs at a time
•
_________________________requires more memory
•
Users expect nice _________________________that take up a lot of
memory.*
Upper Memory
n _________________________
n Video ROM and RAM are
stored in the _________________________part
n _________________________for
other expansion boards
n System
_________________________are at the top.*
Extended & High Memory
n High Memory– the first 64k
of _________________________memory.
–
Caused by a bug in the _________________________programming. A small
pocket of _________________________memory.
–
286 was the first CPU with extended memory.
–
DOS 5 programmers decided to use this memory to store DOS called
“loading Dos _________________________”
n Extended memory is managed
by OS controlled by a device driver called memory manager.
–
Limited by the amount of RAM that can be installed*
Expanded Memory
n Very few of today’s
programs use it but some older programs do
n Made available through a
small window called a _________________________
_________________________.
n Do not confuse extended
memory with expanded memory.*
Virtual Memory
n Uses
_________________________drive space like memory.
–
Stores _________________________memory in a file called a
_________________________file.
–
Slow compared to _________________________
–
OS operates in _________________________mode to use virtual memory.*
Review Nine
n What is it called?
–
(0-640K) _________________________
–
(640-1024K) _________________________
–
(over 1MB) _________________________
–
(1st 64K of extended memory) _________________________
–
Hard drive space pretending to be RAM_________________________
–
A special Page Frame used by only a few
programs_________________________
The Page File
n In Windows 98 it was called
a _________________________file.
n A section of the hard disk
used as an _________________________of RAM
n It can improve performance
because data being used together is placed as a _________________________chunk
on the HDD, where in RAM it may be stored in many
_________________________locations.*
The Page File
n By default, XP assigns a
pagefile size _________times the amount of RAM installed.
n Even if you have enough
RAM, all MS OSes will assign _________________________memory addresses to every
running process.
n When the memory is in use
exceeds the amount of RAM available, pages of memory get moved to the
_________________________, stored in _________________________
n When the OS needs that
stuff, it swaps it back into _________________________.*
n Works like
_________________________in XP
– Prefetch is when the OS
loads key pieces of _________________________and code from disk into memory
before it’s needed.
n In
n To make this even more
efficient,
– You can remove the Flash
drive without _________________________data
– The .pf file on the flash
drive is _________________________, so if you take it to another computer it
can’t be read*
Review Ten!
n What is a pagefile?
n What is it called in
Windows 98?
n How does prefetch work?
n What is Superfetch and how
is it better than prefetch?
n What is readyboost and how
does it improve performance?
Unit Project
You get an email
from a frantic customer. He bought a computer from you that you built. You
built a computer that has the following configuration:
Processor: Intel
Core 2 Duo e6700
Motherboard: ASUS Commando
Video Card: ATI x1900 XTX
RAM: 2
1GB sticks of OCZ PC6400 for a total of 2GBs of physical memory
Hard Drives: 2 500GB Maxtor Sata2
OS: Vista Ultimate, original install
He emails you this frantic question.
“Okay the computer is
sweet, but I really wanted to be able to game and decode video at the same
time, and sometimes listen to music. So I decided to add more RAM. I got two
sticks of 2 GB of the same kind of RAM. When I boot up the RAM seems like it’s
there. But when I go into Task Manager, there’s only 3 GB of memory showing!
Here’s a screen shot
of what I was seeing:

So then I thought,
“I’ll just reinstall
STOP 0x0000000A - IRQL_NOT_LESS_OR_EQUAL
Now I can’t even
reinstall
Task One: Create a list of words that must be defined in order to answer the
customer’s question.
Task Two: Develop a list of questions that must be answered before you can begin
fulfilling the customer needs. Email those questions to the customer. Be sure
to ask him about his current problem and his future needs. Obviously he felt
like he needed to upgrade, so you want to ask him why.
Task Three: Research the problem based on what you know from him.
Task Four: Write a description of what the problem is. Be very specific and
reassure him that while he is frustrated, there is a fix.
Task Five: Develop a step by step list of THREE options he could take to resolve
this problem. Use screenshots support all three options. Be sure to write the
proposal in complete sentences. Be nice! You want him to return and not
badmouth you to all of his gamer geek friends!
Task Six: Create a package to send back to him that explains what he is doing
wrong and how to rectify the situation. (Note: There is a specific answer to
this problem, but it isn’t an easy one.) Include in your package maybe an
alternative to what he actually did (adding the RAM) to deal with being able to
do a lot of processor heavy things.
Task Seven: Create a complete
proposal that outlines what you can do for the customer. Include drawings and
images, price quotes, and other items as applicable.
Check
off each of the labs as you complete them below. Turn this in with your lab
reports.
|
Requirement |
Completed |
Filled Out Lab Sheet |
Not Attempted (0 on labs for unit) |
|
Lab 4-1 Installing RAM |
|
|
|
|
Lab 4-2 Understanding the Config.sys File |
|
|
|
|
Lab
4-3 Using ReadyBoost in |
|
|
|
|
Lab 4-4 Loading mouse drivers in DOS |
|
|
|
|
Lab 4-5 Planning and Pricing Memory |
|
|
|
|
Lab 4-6 Using MSD to view memory |
|
|
|
|
Lab 4-7 DDR SDRAM |
|
|
|
|
Lab 4-8 Memory Management in Windows XP |
|
|
|
|
Lab 4-9 Memory Management in Windows NT |
|
|
|
|
Lab 4-10 Memory Management in Windows 98 |
|
|
|
LAB 4-1 INSTALLING
RAM
À
Windows 98
À
Toolkit
À
Grounding strap
À
Grounding mat
À
DOS floppy
1. Check out a grounding strap and toolkit from me.
2. Clear your workstation area and shut down and unplug
the computer.
3. Ground yourself and remove the cover.
4. Locate the DIMM banks on your system board.
5. On either end of the DIMM, gently pull the latches
open and press down on them until you see the DIMM chip begin to move.
6. Gently and evenly, pull the DIMM chip straight up and
free from the system board.
7. Repeat these steps until you have completely emptied
the system board.
8. Plug in and restart the computer. What happens?
1. Locate the DIMM banks on your system board.
2. Gently and evenly slide the DIMM into one of the slots
on the bank.
3. Firmly and evenly press on the top edge of the DIMM with
your thumbs until it slides into place. (The latches should close when the DIMM
is properly installed. If they won’t close, reseat the DIMMS and try again.)
4. Plug in the power cord.
5. Power on your lab workstation.
6. Enter the CMOS Setup program.
7. Verify that the Setup program recognizes the correct
amount of memory.
8. Save the changes and reboot the workstation.
9. Allow your lab workstation to boot into Windows 9x.
10. Right-click the My Computer icon.
11. Select Properties from the shortcut menu.
12. On the General tab, locate the Computer heading.
13. Verify that Windows 9x is using all of the installed
memory.

SIMMS install much the same as DIMMS with a few exceptions.
1. The SIMM modules must be installed in pairs.
2. The first module must be in the first SIMM slot. The slot
should be marked SIMM1.
3. Both SIMMs should be the same size and speed.
4. The DIMMs are installed by lining them up with the
slot perpendicularly and pushing straight down. A SIMM is installed by sliding
it into the slot at an angle, sliding it in, then straightening it until it
clicks into space (see below).

Remove one stick of RAM and loosen the
other memory module on a system board and boot the PC. What error do you get?
In the following
section, write the full description of each type of RAM; be sure to include the
most common usages for each type of memory, typical memory speed, and a brief
description of the physical characteristics. You will find the definitions online!
Just Google it! Finding and copying the information will help you memorize it;
once you are out in the field, you will be expected to know this information
from memory.
|
Module Type |
Description |
Speeds |
Sizes (in MB or GB) |
Special Features |
|
SRAM |
|
|
|
|
|
DRAM |
|
|
|
|
|
DIMM |
|
|
|
|
|
Parity RAM |
|
|
|
|
|
Nonparity RAM |
|
|
|
|
|
|
|
|
|
|
|
FPM RAM |
|
|
|
|
|
Flash Memory |
|
|
|
|
|
SDRAM |
|
|
|
|
|
DDR |
|
|
|
|
|
Thumb drives |
|
|
|
|
|
COAST |
|
|
|
|
|
RDRAM |
|
|
|
|
|
DDR2 |
|
|
|
|
|
DDR3 |
|
|
|
|
Lab 4-2 Examining the CONFIG.SYS
1. Start your lab workstation in MS-DOS.
2. At the command prompt in the root directory, type EDIT CONFIG.SYS and press Enter. Your lab workstation should respond by launching the EDIT program and opening the CONFIG.SYS file.
3. On the following lines copy the contents of your CONFIG.SYS; then next to each command, write how your lab workstation should respond. Every CONFIG.SYS can be different; the purpose of this exercise is to teach you how to interpret the commands that you find in the CONFIG.SYS file on your workstation. You will find the command definitions online at http://support.microsoft.com/?kbid=232557
|
Command |
Syntax |
Description |
|
BUFFERS |
BUFFERS=40 |
This
command tells DOS how many buffers to maintain when transferring data to and
from secondary storage. |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
Circle True or False.
1. When you install memory into a Pentium-class system board that uses 72-pin SIMMs, the memory must always be installed in pairs. True / False
2. Conventional memory includes the first 128K of RAM. True / False
3.
4. EDO RAM is faster than FPM RAM. True / False
5. Flash memory is commonly used as a cache for desktop PCs. True / False
6. If
the following line were added to your CONFIG.SYS file, what would it tell your
computer to do? DEVICE=C:\DOS\HIMEM.SYS
7. What
would the following command tell your PC to do? EDIT AUTOEXEC.BAT
8. If
the following line were added to your CONFIG.SYS file, what would it tell your
computer to do? Dos=high,umb
What is conventional memory?—Conventional memory, or base memory, is the first 640K of RAM.
What is upper memory?—Upper memory includes memory addresses starting at 641K and going up to 1024K.
What is extended memory?—Memory addresses above 1024K are referred to as residing in extended memory.
What is expanded memory?—Expanded memory is memory that falls outside the linear memory addressing scheme. Note that expanded memory normally is accessed via upper memory. Refer to your textbook for more information about expanded memory.
What is virtual memory?—Virtual memory is an area of secondary storage that is set aside to be used as an area of RAM. Note that because it is secondary storage the access time is considerably slower than that of RAM.
What is ECC?—ECC (Error checking and correction) is a chip set feature on the system board that checks the integrity of data stored on DIMMs and can correct single-bit errors in a byte. More advanced ECC schemas can detect, but not correct, double-bit errors in a byte.
Table 4-1
Microsoft
Windows 95 and Windows 98 example
|
Memory
Type |
Total |
Used |
Free |
|
--------------- |
------ |
------ |
----- |
|
Conventional |
640k |
52k |
588k |
|
Upper |
0k |
0k |
0k |
|
Reserved |
384k |
384k |
0k |
|
Extended
(XMS) |
31,744k |
168k |
31,576k |
|
--------------- |
------ |
------ |
------ |
|
Total
memory |
31,768k |
168k |
31,576k |
|
|
|
|
|
|
Total
under 1 MB |
640k |
52k |
588k |
Total Expanded (EMS)
32M (33,046,528 bytes)
Free Expanded (
Largest executable program
size 588K (602,512 bytes)
Largest free upper memory block
0K (0 bytes)
MS-DOS is resident in the high memory area.
Windows 2000
and Windows XP example
655360 bytes total conventional memory
655360 bytes available to MS-DOS
633872 largest executable program size
1048576 bytes total contiguous extended
memory
0 bytes available contiguous extended
memory
941056 bytes available XMS memory
MS-DOS resident in High Memory Area
mem /f - This would display the
amount of conventional memory free.
Lab 4-3 Turn ReadyBoost on or off for a storage
device
Windows
ReadyBoost can use storage space on some removable media devices, such as USB
flash drives, to speed up your computer. When you insert a compatible device,
the AutoPlay dialog box will offer you the option to speed up your system using
Windows ReadyBoost.
|
|
|
|||||||||||||||||||||
The objective of this lab is to make you familiar with some common methods of memory management available in DOS. After completing this lab exercise, you will be able to:
_ Load TSRs from AUTOEXEC.BAT.
_ Use the MEM command to view your workstation’s current memory configuration.
1. Allow your lab workstation to boot to DOS.
2. Insert the TSR disk provided by your instructor. The program is called addit.
3. Use the COPY command to copy the TSR and all related files from the disk to the root directory of your lab workstation.
4. Make C:\ your current directory. What is the name of the TSR you just copied over? ____________________
5. Type EDIT AUTOEXEC.BAT and press Enter.
6. Add the following to your AUTOEXEC.BAT file: LH C:\tsr.tsr. (Note: The TSR.TSR should be replaced with the name of the TSR on the disk.)
7. Press the Alt key.
8. Use the down arrow [↓] to select Save from the File menu.
9. Press the Alt key.
10. Use the down arrow [↓] to select Exit from the File menu.
11. Reboot your lab workstation.
12. To verify that the TSR loaded, attempt to use its function.
1. Allow your lab workstation to boot to DOS.
2. Type MEM at
the command prompt and press Enter.
3. Compare the information provided by the MEM command to Table 4-1.
Table
4-1
Microsoft
Windows 95 and Windows 98 example
|
Memory
Type |
Total |
Used |
Free |
|
--------------- |
------ |
------ |
----- |
|
Conventional |
640k |
52k |
588k |
|
Upper |
0k |
0k |
0k |
|
Reserved |
384k |
384k |
0k |
|
Extended
(XMS) |
31,744k |
168k |
31,576k |
|
--------------- |
------ |
------ |
------ |
|
Total
memory |
31,768k |
168k |
31,576k |
|
|
|
|
|
|
Total
under 1 MB |
640k |
52k |
588k |
Total Expanded
(EMS)
32M (33,046,528 bytes)
Free Expanded (
Largest
executable program size 588K (602,512
bytes)
Largest free upper memory block
0K (0 bytes)
MS-DOS is resident in the high memory area.
Windows
2000 and Windows XP example
655360 bytes total conventional memory
655360 bytes available to MS-DOS
633872 largest executable program size
1048576 bytes total contiguous extended
memory
0 bytes available contiguous extended memory
941056 bytes available XMS memory
MS-DOS resident in High Memory Area
mem /f - This would
display the amount of conventional memory free.
Circle True or False.
1. TSR stands for terminate safety return. True / False
2. TSRs are programs that stay in memory even when they are not being used. True / False
3. TSRs can be loaded into memory only via the CONFIG.SYS. True / False
4. You can use the MEM command to view the amount of available hard drive space.
1. True / False
5. The HIMEM.SYS file is used primarily to test conventional memory. True / False
6. If the following line were added to your AUTOEXEC.BAT file, what would it tell your computer to do?

What is a TSR?—A TSR is any program or device driver that resides in memory even though it is not active. TSR stands for terminate and stay resident.
What is HIMEM.SYS?—HIMEM.SYS is a device driver used to manage expanded memory in the DOS environment. If HIMEM.SYS fails to load, reboot the PC and check your CONFIG.SYS to verify that the path is specified correctly.
Lab 4-5 Planning and Pricing Memory
Look up the following system boards, a notebook, and a
netbook on the internet and answer the questions below. (Hint: Go to
www.motherboards.org).
eVGA nForce 680i
Biostar G-31D-M7
Gigabyte GA-MA790XT
EEEPC 9000
Dell VOSTRO 1520 Notebook
The motherboard on your computer that you
are using
What is the maximum amount of memory the banks on your
system board can accommodate? Look in a computer catalog, such as Computer
Shopper, or on the Internet and determine how much it costs to fill the
banks to full capacity. Don’t forget to match the speed of the modules, and
plan to use only the size modules your computer can accommodate.
|
Motherboard |
Speeds mobo will accommodate |
Max amount of RAM |
Type of RAM |
Price per module |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
Lab
4-6: Using MSD to View Memory
Now reboot into
Windows XP
Windows XP does not
have MSD, it does however have a similar program.
Lab 4-7 DDR3-SDRAM
|
Official JEDEC
Specifications |
||
|
|
DDR2 |
DDR3 |
|
Rated
Speed |
|
|
|
Vdd/Vddq |
|
|
|
Internal
Banks |
|
|
|
Termination |
|
|
|
Topology |
|
|
|
Driver
Control |
|
|
|
Thermal
Sensor |
|
|
ACTIVITY
Configuring the Windows XP swap
file
Review Questions
Circle True or False.
Vista manages memory WAY
different from Windows XP using some of the new features of
Memory Management Technologies in
o Superfetch
o ReadyBoost
Superfetch works kind of like
pre-fetch works with CPU registers. It starts to learn the programs you use
more often and loads them into RAM. So if every time you boot up you open
iTunes,
As you know, ReadyBoost is a way
for users who need a short-term boost of RAM to “add RAM” by using a large(ish)
flash drive. Insert a flash drive into a USB 2.0 port and
You need to use a 1 GB USB 2.0
drive or higher and have at least 230 MB available.
So how do we optimize
Performance
Information and Tools
Rate and Improve Your Computer’s Performance
Adjust your visual effects


Complete this lab in Windows 98
Disabling the Windows 9x swap file
1. Allow your lab workstation to boot into
Windows 9x.
2. Right-click the My Computer icon.
3. Select Properties from the
shortcut menu.
4. Click the Performance tab, as
shown in Figure 4-3.

5. Click the Virtual Memory button.
6. Click the Let me specify my own virtual memory
settings option button.
7. Place a check mark in the Disable virtual memory
check box.
8. Click OK.
9. Click the Yes button on the confirmation
message.
10. Click the Close button.
11. Click Yes when you are prompted to restart
your computer.
12. Observe and describe the performance results:
Specifying a permanent swap file
1. Allow your lab workstation to boot into Windows 9x.
2. Right-click the My Computer icon.
3. Select Properties from the shortcut menu.
4. Click the Performance tab.
5. Click the Virtual Memory button.
6. Click the Let me specify my own virtual memory
settings option button.
7. Clear the check mark from the Disable virtual
memory check box.
8. Set the minimum swap file size to 150MB.
9. Set the maximum swap file size to 150MB.
10. Click OK.
11. Click the Yes button on the
confirmation message.
12. Click Yes when you are prompted
to restart your computer.
13. Observe and describe the performance
results:
4
Allowing Windows to manage its virtual memory
1. Allow your lab workstation to boot into Windows 9x.
2. Right-click the My Computer icon.
3. Select Properties from the shortcut menu.
4. Click the Performance tab.
5. Click the Virtual Memory button.
6. Click the Let Windows manage my virtual memory
settings option button, as
shown in Figure 4-4.

7. Click the OK button on the Virtual Memory
dialog box.
8. Click the Yes button if you receive a
confirmation message.
9. Click the Close button.
10. Click Yes when you are prompted to restart
your computer.
11. Observe and describe the results:
Lab Notes
What is Windows doing when it manages my virtual memory?—By default, Windows 9x will manage your virtual
memory. This means that it will size and resize your Swap file as it sees fit.
In most circumstances this is the recommended memory-management method.
What are multiple swap files?—Some
Microsoft operating systems, such as Windows NT, support multiple swap files to
improve the virtual memory management speed and capabilities. However,Windows
95 and Windows 98 do not support that configuration.
What is a memory conflict, and how does it occur?—A memory conflict occurs when two or more
applications attempt to use the same memory address or address range.
What is an illegal operation?—These
errors vary depending on the situation. You can find out exactly which
applications were involved by clicking the Details button. Many times these
errors are GPFs (General Protection Fault) and should be handled accordingly.
Review
Questions
Circle True or False.
RAM
Technologies
Look up the following RAM Technologies and describe the features of each.
|
Technology |
DRAM or SRAM |
Benefits |
Works with the
following processors |
Speed |
Special
features |
|
Double Data Rate |
|
|
|
|
|
|
Double Data Rate 2 |
|
|
|
|
|
|
Double Data Rate 3 |
|
|
|
|
|
|
Double Data Rate 4 (wowsa) |
|
|
|
|
|
|
Synchronous DRAM |
|
|
|
|
|
|
Rambus DRAM |
|
|
|
|
|
|
RIMM |
|
|
|
|
|
|
Dual Channel RAM |
|
|
|
|
|
|
|
|
|
|
|
|
|
Fast Page Mode RAM |
|
|
|
|
|
What are the differences among PC2100, PC2700, and PC23200 memory? Be CLEAR!
Why does this matter?
What is the difference between PC3200 and PC2-3200?
Are they interchangeable?
What can be the result of using cheap RAM?
What about mixing RAM? Can that be a problem?
Why? Explain clearly.