Shared Flashcard Set

Details

memory management
final
16
Computer Science
Undergraduate 4
04/30/2007

Additional Computer Science Flashcards

 


 

Cards

Term
logical address vs physical address
Definition
Logical address generated by CPU

address seen by the memory unit—that is, the one loaded into the memory-address register of the memory-- is commonly referred to as a physical address
Term
Contiguous memory allocation vs. paging
Definition
-contiguous memory allocation, each process is contained in a single contiguous section of memory

-contiguous memory allocation suffers from external fragmentation,

-contiguous memory allocation uses base and limit register for mapping

-paging does not suffer from external fragmentation

-paging (accesses memory twice)

-paging allows the physical address space of a process to be noncontiguous, physical address space of process is scattered throughout memory

-paging avoids the considerable problem of fitting memory chunks of varying sizes onto the backing store
Term
External fragmentation VS internal fragmentation
Definition
-external fragmentation – as processes are loaded and removed from memory the free memory space is broken in to little pieces.

- 50 percent rule - as much as one-third of memory may be unusable because of external fragmentation

-internal fragmentation – more memory is allocated to a process than what the process originally requested
Term
base register
Definition
holds the smallest legal physical memory address
Term
limit register
Definition
specifies the size of the range
Term
logical address space
Definition
the set of all logical addresses generated by a program
Term
physical address space
Definition
the set of all physical addresses corresponding to these logical addresses
Term
MMU
Definition
handles all mapping from virtual to physical addresses
Term
compaction
Definition
one solution the external fragmentation The goal is to shuffle memory around as to place all free memory togethor
Term
transient operating-system code
Definition
size of operating system changes in memory to allow space for user land programs
Term
partitions
Definition
simplest method for allocating memory is to divide memory into several fixed-sized partitions.
Term
Hole
Definition
chunk of memory available for user program
Term
dynamic storage-allocation problem
Definition
concerns how to satisfy a request of size n from a list of free holes
Term
first-fit
Definition
allocate the first hole that is big enough
Term
best-fit
Definition
allocate the smallest hole that is big enough
Term
worst-fit
Definition
allocate the largest hole
Supporting users have an ad free experience!