Monday 9 April 2012

Fragmentation


  • External Fragmentation – total memory space exists to satisfy a request, but it is not contiguous.
  • Internal Fragmentation – allocated memory may be slightly larger than requested memory; this size difference is memory internal to a partition, but not being used.
  • Reduce external fragmentation by compaction
  1. Shuffle memory contents to place all free memory together in one large block.
  2. Compaction is possible only if relocation is dynamic, and is done at execution time.
  3. I/O problem
*Latch job in memory while it is involved in I/O.
*Do I/O only into OS buffers.

No comments:

Post a Comment