Resource ManagementIt is defined as “the effective allotment and de-allotment of the processor cores, memory pages, and various types of bandwidth to computations that complete for those resources by an operating system.
“It includes both preventing the resource from resource leaks and dealing with the resource contention.Resource Leaks: Resource Leaks is a problem in sequential computing. These are often minor problems generally that does not crash the program, but they cause the system to slow down.Resource Contention: Resource contention is an issue in concurrent computing. It is a conflict in accessing a shared resource such as random access memory, disk storage, cache memory, internal buses or external network devices. SThe various roles of an operating system include “sharing nicely”. An operating system manages resources in a way that these resources are efficiently shared between different programs that want to use them. Continuously executing multiple programs share the use of main memory, take turns using the CPU and they compete for an opportunity to use input and output devices.
There are 4 main resources controlled by an operating system:· Memory · Processor · Devices· InformationMemory: Memory Management module organizes the memory allocation and effective utilization of memory. It involves paging mechanism, segmentation etc.Processor: Processor management involves effective utilization of processor like multi-programming. Processor management module keeps track of the status of each process and selects the processes from a ready list to be run. It suspends running process when it runs out of allotted time.Device: Device management helps to use the devices in most efficient manner. Devices can be dedicated or shared access type.
Information: It is concerned with the logical management of information. The file system deals with collections of unstructured and uninterrupted information at the operating systems level.