lecture21-chapter7 - OperatingSystems Lecture21:...

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

View Full Document Right Arrow Icon
Operating Systems Lecture 21: 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 Access speed Cost Storage size
Background image of page 2
Performance of 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 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
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 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 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
An early method of managing memory Pre virtual memory Not used much now
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.

This note was uploaded on 02/18/2012 for the course COP 4600 taught by Professor Andaiamnitchi during the Fall '08 term at University of South Florida - Tampa.

Page1 / 36

lecture21-chapter7 - OperatingSystems Lecture21:...

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