Monday, April 29, 2019

Operating system memory management Essay Example | Topics and Well Written Essays - 2500 words

Operating system memory management - Essay ExampleIt takes place in the pastime stepsThe mapping from whizz address space to another is termed as binding. For a program to go through it must be copied into main memory at a particular location. Many instructions call fixed addresses these must be bound to fixed locations in the memory. This binding of instructions and data to memory addresses high-powered loading involves loading routines into memory only when required. This is done during execution. Dynamic loading reduces the memory requirements of sizable programs. This is especially the case if there is a large set of infrequently used routines.Dynamic linking is oft used for libraries. Only a stub of the library is kept in the programs image. When a program calls one of these routines, the routine is loaded and linked into memory. All programs share the one copy of the same library routine. Dynamic linking requires the operating systems intervention as sharing between proc esses is required.Implementation is done through memory tables to throw track of both main memory i.e. real memory as well as realistic memory. Also there is a unit MMU(Memory management unit) that performs the following tasksSometimes there whitethorn be a shortage of main memory due to the size of various applications and also in virtually cases several active processes may need to share memory at the same time. In such cases partitioning of memory is done. Partitioning refers to systematic division of memory into blocks so that a process may be allocated to a block. This is of various types1. Fixed partition memory management This is the simplest memory management synopsis for multiprogrammed system. Here the memory is divided into fixed partitions. This is done when the system is initialized and wont be changed during the system operation. This again of cardinal typesSingle partition allocationHere the user is provided with a bare machine and has full verify of entire mem ory space. Its advantages areMaximum

No comments:

Post a Comment

Note: Only a member of this blog may post a comment.