Lecture8 - Chapter 8: Main Memory Operating System Concepts...

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

View Full Document Right Arrow Icon
Silberschatz, Galvin and Gagne ©2009 Operating System Concepts – 8 th Edition, Chapter 8: Main Memory
Background image of page 1

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

View Full DocumentRight Arrow Icon
8.2 Silberschatz, Galvin and Gagne ©2009 Operating System Concepts – 8 th Edition Chapter 8: Memory Management Memory management requirements Background Swapping Contiguous Memory Allocation Paging Structure of the Page Table Segmentation Examples: Intel Pentium architecture
Background image of page 2
8.3 Silberschatz, Galvin and Gagne ©2009 Operating System Concepts – 8 th Edition Objectives To provide a detailed description of various ways of organizing memory hardware To discuss various memory- management techniques, including paging
Background image of page 3

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

View Full DocumentRight Arrow Icon
8.4 Silberschatz, Galvin and Gagne ©2009 Operating System Concepts – 8 th Edition Memory Management Requirements Relocation Protection Sharing Logical organization Physical organization
Background image of page 4
8.5 Silberschatz, Galvin and Gagne ©2009 Operating System Concepts – 8 th Edition Requirements: Relocation The programmer does not know where the program will be placed in memory when it is executed, it may be swapped to disk and return to main memory at a different location (relocated) Memory references must be translated to the actual physical memory address
Background image of page 5

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

View Full DocumentRight Arrow Icon
8.6 Silberschatz, Galvin and Gagne ©2009 Operating System Concepts – 8 th Edition Requirements: 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
8.7 Silberschatz, Galvin and Gagne ©2009 Operating System Concepts – 8 th Edition Requirements: Sharing Allow several processes to access the same portion of memory Better to allow each process access to the same copy of the program rather than have their own separate copy
Background image of page 7

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

View Full DocumentRight Arrow Icon
8.8 Silberschatz, Galvin and Gagne ©2009 Operating System Concepts – 8 th Edition Requirements: Logical Organization Physically, the memory is organized as a linear sequence of bytes or words Programs are written in modules Modules can be written and compiled independently Different degrees of protection given to modules (read-only, execute-only) Share modules among processes
Background image of page 8
8.9 Silberschatz, Galvin and Gagne ©2009 Operating System Concepts – 8 th Edition Requirements: Physical Organization Memory is two levels: main and secondary At run time, programs (processes) move between these two levels Organization of the flow of information between these two levels is a major concern This flow is a major system concern Moving information between main and secondary is the essence of memory management
Background image of page 9

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

View Full DocumentRight Arrow Icon
8.10 Silberschatz, Galvin and Gagne ©2009 Operating System Concepts – 8 th Edition Background Hardware components From symbolic addresses to physical addresses Logical address space vs. physical address space Bringing code into memory: Static vs. dynamic linking Static vs. dynamic loading Shared libraries
Background image of page 10
8.11
Background image of page 11

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

View Full DocumentRight Arrow Icon
Image of page 12
This is the end of the preview. Sign up to access the rest of the document.

Page1 / 99

Lecture8 - Chapter 8: Main Memory Operating System Concepts...

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

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