Skip to Content
Operating System Concepts Essentials
book

Operating System Concepts Essentials

by Peter Baer Galvin, Abraham Silberschatz, Greg Gagne
November 2010
Beginner
744 pages
23h 48m
English
Wiley
Content preview from Operating System Concepts Essentials

Chapter 7. Main Memory

In Chapter 5, we showed how the CPU can be shared by a set of processes. As a result of CPU scheduling, we can improve both the utilization of the CPU and the speed of the computer's response to its users. To realize this increase in performance, however, we must keep several processes in memory; that is, we must share memory.

In this chapter, we discuss various ways to manage memory. The memory-management algorithms vary from a primitive bare-machine approach to paging and segmentation strategies. Each approach has its own advantages and disadvantages. Selection of a memory-management method for a specific system depends on many factors, especially on the hardware design of the system. As we shall see, many algorithms require hardware support, although recent designs have closely integrated the hardware and operating system.

Background

As we saw in Chapter 1, memory is central to the operation of a modern computer system. Memory consists of a large array of words or bytes, each with its own address. The CPU fetches instructions from memory according to the value of the program counter. These instructions may cause additional loading from and storing to specific ...

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

Operating System Concepts Essentials, Second Edition

Operating System Concepts Essentials, Second Edition

Abraham Silberschatz, Peter B. Galvin, Greg Gagne
Operating System Concepts, 9th Edition

Operating System Concepts, 9th Edition

Abraham Silberschatz, Peter B. Galvin, Greg Gagne
Operating System Concepts, 8th Edition

Operating System Concepts, 8th Edition

ABRAHAM SILBERSCHATZ, PETER BAER GALVIN, GREG GAGNE

Publisher Resources

ISBN: 9780470889206Purchase book