

Study with the several resources on Docsity
Earn points by helping other students or get them with a premium plan
This page cannot be seen from the preview
Don't miss anything!


CS414: Operating Systems
Sun Tues Thurs (^) Fri
30 1
Deadlock Memory management PA#5 out
Memory management Virtual memory
No class – marty at conference
Virtual memory 6 8
13 15
(^20 ) protection, security PA#6 due, PA#7 out 27 29
protection, security
4
protection, security
File systems
File sys, I/O sys
File sys I/O sys 9 No class – marty at conference I/O sys,Mass-storage PA#5 due, PA#6 out
No class – Thanksgiving
14
Final exam 10:00-noon
6
Wrap-up PA#7 due
protection, security
protection, security 30
CS414: Operating Systems
CS414: Operating Systems
CS414: Operating Systems
Memory Management:
Memory Allocation Strategies
better utilization than worst-fit, and that first-fit is generally faster than best-fit
CS414: Operating Systems
Allocating Variable Partitions: Compaction
(Approach: Merge holes “every once in a while”)
CS414: Operating Systems
At load time, OS adjusts the addresses in a process to reflect its position in memory (Similar to when the linker determines where procedures go with a separate compilation.) Once a process is assigned a place in memory and starts executing it, the OS cannot move it.
Hardware adds relocation register (base) to logical address to get a physical address
CS414: Operating Systems
CS414: Operating Systems
out of memory to backing store
CS414: Operating Systems
combination of HW and SW is used to:
CS414: Operating Systems
Two Main Approaches for
Implementing Virtual Memory
lacking (as in segmentation): VM system in OS has little knowledge of logical segment instead of variable-sized chunk, fixed-sized unit of transfer (the page) memory manager selectively allocates pages to frames in memory and manages (moves, removes, reallocates) pages in memory
CS414: Operating Systems
We only want to keep those parts of a process in memory that are actually being used. Pages greatly simplify the hole- fitting problem. The logical memory of the process is contiguous, but pages need not be allocated contiguously in memory.