Memory Management: Main Memory and Techniques - Docsity.com, Slides of Operating Systems

This document from docsity.com covers chapter 8 of computer organization, focusing on main memory and memory management techniques such as swapping, contiguous memory allocation, paging, segmentation, and the intel pentium's support for both. It also discusses the concept of logical and physical address spaces.

Typology: Slides

2012/2013

Uploaded on 04/25/2013

baidehi
baidehi 🇮🇳

4.4

(14)

101 documents

1 / 8

Toggle sidebar

This page cannot be seen from the preview

Don't miss anything!

bg1
Lecture 15
Chapter 8: Main Memory
Docsity.com
pf3
pf4
pf5
pf8

Partial preview of the text

Download Memory Management: Main Memory and Techniques - Docsity.com and more Slides Operating Systems in PDF only on Docsity!

Lecture 15

Chapter 8: Main Memory

Chapter 8: Memory Management

• Background

• Swapping

• Contiguous Memory Allocation

• Paging

• Structure of the Page Table

• Segmentation

• Example: The Intel Pentium

Background

  • Program must be brought (from disk) into memory

and placed within a process for it to be run

  • Main memory and registers are only storage CPU

can access directly

  • Register access in one CPU clock (or less)
  • Main memory can take many cycles
  • Cache sits between main memory and CPU registers
  • Protection of memory required to ensure correct

operation

Base and Limit Registers

  • A pair of base and limit registers define

the logical address space

Multistep Processing of a User Program

Logical vs. Physical Address Space

  • The concept of a logical address space that is bound to a separate physical address space is central to proper memory management - Logical address - generated by the CPU; - also referred to as virtual address - Physical address - address seen by the memory unit
  • They are the same in compile-time and load-time address-binding schemes;
  • They differ in execution-time address-binding scheme