17_Main_Memory_II_2spp

17_Main_Memory_II_2spp - CSC 4103 - Operating Systems Fall...

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

View Full Document Right Arrow Icon
1 CSC 4103 - Operating Systems Fall 2009 Tevfik Ko ! ar Louisiana State University October 27 th , 2009 Lecture - XVII Main Memory 2 Roadmap • Paging Address Translation Scheme Shared Pages • Segmentation Address Translation Scheme Shared Segments
Background image of page 1

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

View Full DocumentRight Arrow Icon
16 Paging - noncontiguous • Physical address space of a process can be noncontiguous • Divide physical memory into fixed-sized blocks called frames (size is power of 2, between 512 bytes and 8192 bytes) • Divide logical memory into blocks of same size called pages . • Keep track of all free frames • To run a program of size n pages, need to find n free frames and load program • Set up a page table to translate logical to physical 17 Address Translation Scheme • Address generated by CPU is divided into: Page number (p) – used as an index into a page table which contains base address of each page in physical memory Page offset (d) – combined with base address to define the physical memory address that is sent to the memory unit
Background image of page 2
18 Address Translation Architecture 19 Paging Example
Background image of page 3

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

View Full DocumentRight Arrow Icon
Paging Example 21 Free Frames Before allocation After allocation
Background image of page 4
Image of page 5
This is the end of the preview. Sign up to access the rest of the document.

Page1 / 11

17_Main_Memory_II_2spp - CSC 4103 - Operating Systems Fall...

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

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