Memory Managment

Submitted by: Submitted by

Views: 58

Words: 1048

Pages: 5

Category: Science and Technology

Date Submitted: 03/19/2015 05:38 PM

Report This Essay

Memory Management

POS355

Memory Management

Memory management is quintessential to systems needing to multitask. This is necessary as the system needs to be able to allocate to running programs specific memory locations and then swap or remove designations based on what is running and needed at any particular time. Modern systems are running many different programs at a time and most are to keep the operating system functioning and secure. You then add on to that the needs of the user and the programs they will open and close. This make memory management even more important. The basic requirements of memory management are address mapping and relocation, protection and sharing, application organization and finally virtual memory organization.

In the first requirement, address mapping and relocation, you would start with the control block. This part of memory is where the process control information is held. All other information for the process is held in increasing address values from the control block. After the control block is the entry point for the program and the program instructions themselves. This section includes branch instruction and a reference to the data section of the allocated memory for the program that is running. That reference points to the next section which is the data. Then finally the stack. Essentially this all breaks down to locations for control information, stack execution and code entries. All of this requires the system running the process to know where to find these things and the order in which it can be found as well as relocating these, as processes are used, closed or sitting idle. The average Windows 7 system will run between 50 and 75 processes at any given time. Most of these are used in the overall running of the OS. Others are processes that are loaded at boot for specific programs such as the antivirus, local firewall and others that either the user or the program writer would like to see running immediately for...