Operating System as Resource Manager


WHAT IS OPERATING SYSTEM ?

•Operating System is a software, which makes a computer to actually work.
•
•It is the software that enables all the programs we use.
•
•The OS organizes and controls the hardware.
•
•OS acts as an interface between the application programs and the machine hardware.
•
•Examples: Windows, Linux, Unix and Mac OS, etc.



Why Resource Manager ?


*When a computer has multiple users, the need for managing and protecting the memory, I/O devices and other devices is even greater.
*The primary task of OS is to keep track of who is using which resource, to grant resource requests, to mediate conflicting requests from different programs etc.
*Users often need to share not only hardware, but information(File, Database) as well.

Which Includes in Resource Manager ?

Resource management includes multiplexing resources in 2 ways, they are
1. In Time
2. In Space

When Resource is Time Multiplexed

*“Who goes next and for how long”- is the main task for time resource manager in OS.
*Different programs or user take turns using it.
*Multiple programs will run by allocating the CPU through OS.
*When another program gets to use the CPU, the OS will choose.
*Sharing the printer is the ideal example for time multiplexing .

When Resource is Space Multiplexed

*Main memory is normally divided up among several running programs
*OS assume enough memory to hold multiple programs
*OS hold several programs in memory at once instead of completing one by one.
*The issues of fairness, protection and so on will solve by OS.
*Hard disk is another resource manager for space multiplexed.











Comments

Post a Comment