![]() ![]() The operating system deallocated memory from processes as required.it nodes what memory parts are in use by the processes and which are empty. ![]() All the memory is tracked by the operating system i.e.This can be done using best fit, first fit and worst fit algorithms. The operating system assigns memory to the processes as required.The activities performed by the operating system for memory management are − It deals with memory and the moving of processes from disk to primary memory for execution and back again. Memory management plays an important part in operating system. The processes that are waiting for the I/O device are kept in the device queue. The processes that are ready to execute in the main memory are kept in the ready queue. When the processes enter the system, they are put into the job queue. There are many scheduling queues that are used to handle processes in process management. The different algorithms used for process scheduling are FCFS (first come first served), SJF (shortest job first), priority scheduling, round robin scheduling etc. The operating system is responsible for managing the processes i.e assigning the processor to a process at a time. The major operations of the operating system are process management, memory management, device management and file management. Operating system by itself does not provide any function but it provides an atmosphere in which different applications and programs can do useful work. An operating system is a construct that allows the user application programs to interact with the system hardware.
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |