Access over 20 million homework & study documents

Spend management class lectures_234449125-memory-management-lecture-7

Content type
User Generated
Subject
Business
Type
Note
Rating
Showing Page:
1/27

Sign up to view the full document!

lock_open Sign Up
Showing Page:
2/27

Sign up to view the full document!

lock_open Sign Up
Showing Page:
3/27

Sign up to view the full document!

lock_open Sign Up
End of Preview - Want to read all 27 pages?
Access Now
Unformatted Attachment Preview
Lecture
7:
Memory
Management
 CSE
120:
Principles
of
Opera>ng
Systems
 UC
San
Diego:
Summer
Session
I,
2009
 Frank
Uyeda
 Announcements
 •  PeerWise
ques>ons
due
tomorrow.
 •  Project
2
is
due
on
Friday.
 –  Milestone
on
Tuesday
night.
 •  Homework
3
is
due
next
Monday.
 2
 Goals
for
Today
 •  Mo>va>on
for
Memory
Management
 •  Understand
Paging
 –  How
to
translate
from
virtual
to
physical
address
 –  Determine
size,
structure
of
page
tables
 3
 Memory
Management
 •  Goals
of
memory
management
 –  Provide
a
convenient
abstrac>on
for
programming
 –  Allocate
scarce
memory
resources
among
compe>ng
 processes
 –  Maximize
performance
with
minimal
overhead
 •  Mechanisms
 –  Physical
and
virtual
addressing
 –  Techniques:
Par>>oning,
paging,
segmenta>on
 –  Page
table
management,
TLBs,
VM
tricks
 •  Policies
 –  Page
replacement
algorithms
 4
 In
the
beginning…..
 Physical
Memory
 •  Batch
programmed
systems
 –  Programs
use
physical
 addresses
directly
 –  OS
loads
job,
runs
it,
unloads
it
 –  Similar
to
what
nachos
does
 right
now

 Stack
 SP
 Heap
 Data
Segment
 




(you’ll? ...
Purchase document to see full attachment
User generated content is uploaded by users for the purposes of learning and should be used following Studypool's honor code & terms of service.

Anonymous
Just what I was looking for! Super helpful.

Studypool
4.7
Trustpilot
4.5
Sitejabber
4.4

Similar Documents