
































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!

































-^1304 SC
-^3405 SC
-^ no VMM and memory management on midtermno^ VMM
-^ Submission
-^ Submission
-^ Length
Memory
Management (
) (Review)
-^ Basic^ Memory
-^ Mono‐programming
without^ Swapping
or^ Paging
-^ Multiprogramming
with^ Fixed
Partitions
-^ Swapping
bl– Variable^ Partitions
-^ Virtual
-^ PagingP^ T bl–^ Page^ Table –^ Multi‐level
Page^ Tables
-^ TLB^ – Translation
Lookaside Buffers
-^ Page Replacement Algorithms–^ Page^ Replacement
Algorithms
-^ Optimal •^ FIFO •^ Second^ ChanceLRU•^ LRU •^ Clock^ Page
Replacement
-^ Working^ Set
Basic^ Memory
Management
Monoprogramming
without^
Swapping
or^ Paging
Three simple ways of organizing memory Three^ simple
ways^ of
organizing
memory
‐^ an^ operating
system
with^ one
user^ process
Multiprogramming
with^
Fixed Partitions
-^ Fixed^ memory
-^ separate
input^ queues
for^ each^ partition
-^ single input queue single^ input
queue
Memory
CPUInstruction^
MA
PhysicalAddress LogicalAddress^
Memory
InstructionAddress
MA^
MA+BA
10/3/^
CS^ 423g^ ‐^ Operating
Systems,^ Klara Nahrstedt^
Variable
Partitions
and^ Fragmentation
Monitor^
Job 1^
Job 2^
Job 3^
Job 4^
Free
1 Monitor
Job 1^
Job 3^
Job 4^
Free
2 Monitor
Job 1^
Job 3^
Job 4^
Free
2 Monitor
Job 1^
Job 3^
Job 4^
Free
Job 5 3 Monitor
Job 3^
Job 4^
Free
Job 5^
Job 6
4 Monitor
Job 3^
Free
Job 5^
Job 6
Job 7^
Job 8
55^ Memory
wasted^ by
External
Fragmentation
10/3/^
CS^ 423g^ ‐^ Operating
Systems,^ Klara Nahrstedt^
1 Page Table
Real Memory
Request Page 3
3 1 2 Memory^
1 2 Page TableVM Frame^234 1 2
3 4
3 4
Virtual Memory Stored on Disk
Disk
1 2
3 4
5 6
7 8
1 Page Table
Real Memory
Request Page 1
3 1 1 2 Memory^
1 2 Page TableVM Frame^1 1 2
3 4
3 4
1 2 Virtual Memory Stored on Disk
3 4
Disk
1 2
3 4
5 6
7 8