The document discusses memory management techniques including paging and segmentation. Paging divides programs into fixed-size pages which are loaded into main memory frames on demand. Segmentation divides programs into logical segments that can grow independently. Virtual memory uses the hard disk to simulate additional RAM by paging segments between disk and main memory. The operating system manages virtual memory using policies for when pages are fetched from disk to memory and replaced in memory.
Convert to study guideBETA
Transform any presentation into a summarized study guide, highlighting the most important points and key insights.
2. Memory management scheme that supports user
view of memory.
A program is a collection of segments.
A segment is a logical unit such as
Main program,procedure,function.
Local variable,global variable.
4. Paging is transparent to the programmer.
Paging eliminates external fragmentation.
Segmentation is visible to the programmer.
Segmentation allows for growing data
structures,modularity,and support for sharing
and protection.
Each segment is broken into fixed size pages.
The segment entry points to a page table for that
segment.
7. o A method of using hard disk space to provide
extra memory.
o It simulates additional RAM.
o An address used by a programmer will be
called a virtual address ,and set such addresses
the address space.
o An address in main memory is called a location
or physical address and the set of such address
is called memory space.
9. An operating system or os is a software
program that enables the computer hardware.
To communicate and operate with the
computer software without a computer
operating system.
A computer and software programs would be
useless.
10. When to fetch the page from auxiliary memory to
main memory.
2 Approaches:
Demand paging only brings pages into
main memory when a reference is made to a
location on the page.
Prepaging brings in pages whose use is
anticipated.
11. Not all pages in main memory can be
selected for replacement.
Some frames are locked(cannot be
paged out)
12. Resident set:.
Set of a process pages which are
in main memory.
Os must manage the size and
allocation policies which effect the
resident set.