lecture21-chapter7 - Operating Systems Operating Lecture...

Info iconThis preview shows pages 1–9. Sign up to view the full content.

View Full Document Right Arrow Icon
Operating Systems Operating Systems Lecture 21: Lecture 21: Memory Management Memory Management Anda Iamnitchi anda@cse.usf.edu 1
Background image of page 1

Info iconThis preview has intentionally blurred sections. Sign up to view the full version.

View Full DocumentRight Arrow Icon
Storage-Device Hierarchy Storage-Device Hierarchy Access speed Cost Storage size
Background image of page 2
Performance of Performance of Various Levels of Storage Various Levels of Storage
Background image of page 3

Info iconThis preview has intentionally blurred sections. Sign up to view the full version.

View Full DocumentRight Arrow Icon
Background Background Program must be brought from disk to memory and placed within a process to run Main memory and registers are the only storage that the CPU can access Register access in 1 CPU clock (or less), main memory takes many cycles Memory as an array of addresses
Background image of page 4
Addressing Addressing
Background image of page 5

Info iconThis preview has intentionally blurred sections. Sign up to view the full version.

View Full DocumentRight Arrow Icon
Memory Management Memory Management Requirements Requirements Relocation The programmer does not know where program will be placed in memory when executed (logical) memory references must be translated to the actual physical memory address Protection Processes should not be able to reference memory locations in another process without permission Impossible to check absolute addresses at compile time, must be checked at run time
Background image of page 6
Memory Management Memory Management Requirements (cont’) Requirements (cont’) Sharing Logical organization Memory is organized linearly (usually), programs are written in modules Modules can be written and compiled independently, different degrees of protection given to modules (read-only, execute-only) Physical organization Cannot leave the programmer with the responsibility to manage memory
Background image of page 7

Info iconThis preview has intentionally blurred sections. Sign up to view the full version.

View Full DocumentRight Arrow Icon
Partitioning An early method of managing memory
Background image of page 8
Image of page 9
This is the end of the preview. Sign up to access the rest of the document.

Page1 / 33

lecture21-chapter7 - Operating Systems Operating Lecture...

This preview shows document pages 1 - 9. Sign up to view the full document.

View Full Document Right Arrow Icon
Ask a homework question - tutors are online