Skip to Content
PC Hardware in a Nutshell, 3rd Edition
book

PC Hardware in a Nutshell, 3rd Edition

by Robert Bruce Thompson, Barbara Fritchman Thompson
July 2003
Beginner to intermediate
874 pages
38h 13m
English
O'Reilly Media, Inc.
Content preview from PC Hardware in a Nutshell, 3rd Edition

Understanding Memory

This chapter focuses on general-purpose memory, where PCs store programs and data that are currently in use, the pipeline that supplies data to and receives results from the processor. General-purpose memory, called read-write memory or Random Access Memory ( RAM ), must be readable-from and writable-to. Two types of RAM are used on modern PCs:

Dynamic RAM (DRAM)

Dynamic RAM stores data for only a tiny fraction of a second before losing it. To maintain stored data, the system must constantly refresh DRAM, which exacts a performance penalty and limits its speed. Typical DRAM provides 60 ns access, but is inexpensive and consumes relatively little power.

Static RAM (SRAM)

Static RAM automatically maintains its contents as long as power is applied to it, without requiring refresh. SRAM provides access times an order of magnitude faster than DRAM, but is expensive and power-hungry.

PCs use a tiered memory architecture that takes advantage of these characteristics:

Main memory

The bulk of a PC’s memory uses DRAM and is called main memory. It is large—typically 64 MB to 512 MB or more—but too slow to keep up with a modern CPU. Main memory is where the CPU stores programs and data that it will soon need. Main memory functions as a buffer between the CPU and disk and stores tens to hundreds of megabytes.

Cache memory

Cache memory is a small amount of fast SRAM that buffers access between the CPU and main memory.

Modern PCs have two layers of cache memory:

Primary ...
Become an O’Reilly member and get unlimited access to this title plus top books and audiobooks from O’Reilly and nearly 200 top publishers, thousands of courses curated by job role, 150+ live events each month,
and much more.
Start your free trial

You might also like

Computers as Components, 3rd Edition

Computers as Components, 3rd Edition

Marilyn Wolf
Computer Busses

Computer Busses

William Buchanan

Publisher Resources

ISBN: 059600513XErrata Page