Skip to main content

OS its Resource Manager and its Function

 Operating system as resource manager: 

·         A computer system usually has many hardware and software resources such as processor , memory, disk printer, I/O devices etc.

·         The task of resources management becomes essential in multi-user operating system where different user compute for the same resource.

 

Operating system manages resources in two ways :

1.       Time multiplexing :it defines the sharing of resources on the basis of fixed time slices. For example, the operating system allocate the resources, such as CPUto program A for fixed time slice.

2.       Space timing: it defines the concurrent sharing of resources among different programs.for example, sharing of hard disk and main memory is space multiplexing.

  FUNCTION OF OPERATING SYSTEM  

The primary function of an operating system is to provide an environment for excecution of users program . the various function of operating system are:

1.       process management

2.       main memory management

3.       secondary storage management

4.       file management

5.       I/Omanagement

6.       Protection and security

7.       Networking

8.       Command interpretation

1.Process management:

·         The process management refers to assignment of processor to different task being performed by the computer system.

·         The operating system responsible for the following activities in connection with process management :

1.       Creating and deleting both user and system processes.

2.       Suspending and resuming processes.

3.       Providing mechanisms for process synchronization such as semphores.

4.       Providing mechanism for process communication

5.       Providing mechanism for deadlock handling. Deadlock is a condition in which the number of processes wait infinity for some shared resource.

Comments

  1. Thank you for sharing this blog. With companies hiring employees across branches, cities, and even countries – it's no longer possible to manage resources manually. Businesses have to look beyond spreadsheets for resource allocation. To manage the project in good manner, we need a resource manager software.

    ReplyDelete

Post a Comment

Popular posts from this blog

Suspend a process

  Suspend a process A process is an active program. It can also be said as a program that is under execution. It is more than the program code as it includes the program counter, process stack, registers, program code etc. Compared to this, the program code is only the text section. A process passes through different states as it executes. These states may be different in different operating systems. However, the common process states are explained below with the help of a diagram − New This is the state when the process has just been created. It is the initial state in the process life cycle. Ready In the ready state, the process is waiting to be assigned the processor by the short term scheduler, so it can run. This state is immediately after the new state for the process. Ready Suspended The processes in ready suspended state are in secondary memory. They were initially in the ready state in main memory but lack of memory forced them to be suspended and gets placed in the second...

Scheduler

  Scheduler   Scheduling Objectives Here, are important objectives of Process scheduling Maximize the number of interactive users within acceptable response times. Achieve a balance between response and utilization. Avoid indefinite postponement and enforce priorities. It also should give reference to the processes holding the key resources  Process Scheduling handles the selection of a process for the processor on the basis of a scheduling algorithm and also the removal of a process from the processor. It is an important part of multiprogramming in operating system. Process scheduling involves short-term scheduling, medium-term scheduling and long-term scheduling. Details about these are given as follows − Long-Term Scheduling Long-term scheduling involves selecting the processes from the storage pool in the secondary memory and loading them into the ready queue in the main memory for execution. This is handled by the long-term scheduler or job scheduler. The long-term s...

Exokernel architecture

Exokernel architecture Most of us know what kernels are and how do they work to make programmers’ lives easier. But, how many of us know what exokernels are? I hope you will be able to get a brief introduction on this terminology through this blog. Let’s start with a brief introduction on kernel. What is a kernel? A kernel is the foundational layer of an operating system that functions at a basic level, communicating with hardware and managing resources, such as CPU and the memory. It works as an interface between the user application and the hardware. There   are two main types of kernel 1. Micro kernel 2. Monolithic Kernel 1.  Monolithic architecture 2.      Layerd archtecture . 3.       Virtual machine architecture 4.       Exokernel architecture 5.      Client server architecture   6.       Micro kernel architecture Now let’s head into our main focus. What is an Exokern...

Defination of OS(operating system) and its concepts

    What do you mean by operating system?     Definition :  An operating system is a program that act as an interface between the user of a computer and the                                      Computer hardware. Operating system is a first program that gets loaded into the memory through a process called booting. Concepts of operating system : ·                       The purpose of operating system is to provide an environment in which a user can execute program in a convenient and efficient manner. ·                       Operating system is an integrated set of program that ma...