Thursday, January 15, 2009

Memory Management

Static memory relocation: can run anywhere in the memory, modify addresses statically at load time.
Positives: simple and no hardware required
Negatives: not able to increase space while running, no protection

Dynamic relocation: hardware (MMU, management unit) translates logical address to physical addresses. Base + Bounds registers. Base:start location, Bounds: max location

Paging: is a memory-management scheme that permits the physical address pace of process to be noncontiguous. divide memory into fixed-sized pages, typical 4k or 8k. Page table is a data structure.

TLB(translation look-aside buffer): small, fast lookup hardware cache.

No comments:

Post a Comment