Functions of Operating System
The following operating systems are:- Process Management
- Main-Memory Management
Management - file
Input or Output Systems Management
- Secondary - Storage Management
Process Management
Whenever a program is executing, the program completion process called anyone any process requiring certain resources. Resources within the processor time, memory, and input or output devices keep files of any process These resources are assigned by the operating system when the process is being run.
There are two types of processes -
processes of operating system processes and user system. When the system executes the code of the operating system processes, while user processes to execute the user's code. CPU does all these processes are executed simultaneously divide. In the context of process management -
the operating system is responsible for the following functions create and delete user and system processes, the suspend and resume processes, the process to provide for communication, to provide a mechanism for process synchronization, deadlock for Handling etc. providing mechanisms.
Main - Memory Management
In any modern computer system to edit any operation is an important part of Men-memory because the main memory is the place from where the CPU and I / Q devices can access data faster. Large array of words or bytes of main-memory can be called, in which each word or byte has its own address. Out the instructions - fetch cycle time of the CPU can read out the instructions from main-memory. And data - fetch any operation in any modern computer system to edit the important role of Men-memory is the main memory because it is the place from where the CPU and I / Q devices can access data faster. Large array of words or bytes of main-memory can be called, in which each word or byte has its own address. Out the instructions - fetch cycle time of the CPU can read out the instructions from main-memory. And data fetch cycle time of the CPU, Men- Memory data read / write is. Even through DMA The input / output operations are also main-memory Reid Wright. So we can say that a very large main-memory storage device, which can address the CPU can access directly. For example, if the disk is to process the data stored in the first data to be transferred from disk into memory Men-. Out the instructions for transferring data to process this surely must be present in memory, which (CPU) can be performed by.
The program to execute any program is loaded into memory, but it must be per-programmed Absolute address is mapped. When the program executes, the program mains out the instructions and data - from memory accesses. Lastly, the program is terminated, then Maine - goes blank space of memory, which is available for the next program. So the next program to be executed is loaded. It may be the maximum use of the CPU to the memory used to store programs together have more than one. The different management techniques used. These memory management techniques to choose any technology in computer system hardware design has to suit. Memory management in the context of the operating system is responsible for the following tasks -
Which part of the process by which memory is currently being used.
Reachable memory space when the process to decide which will be loaded into the memory.
Allocate required memory space and do De allocate.
0 Comments