Operating system has lot of important properties to do. The functions of operating system like Multiprogramming will allow the proper utilization of hardware. To increase the performance of dedicated server these kind of properties will be very useful. Dedicated servers will have various flavors of operating system like centos,ubuntu,windows etc. Silicon House offers fully managed dedicated servers with rock solid network speed.
Batch processing is a technique in which an Operating System collects the programs and data together in a batch before processing starts. An operating system does the following activities related to batch processing:
1. The OS defines a job which has predefined sequence of commands, programs and data as a single unit.
2. The OS keeps a number a jobs in memory and executes them without any manual information.
3. Jobs are processed in the order of submission, i.e., first come first served method.
4. When a job completes its execution, its memory is released and the output for the job gets copied into an output spool for later printing or processing.
1. Batch processing takes much of the work of the operator to the computer.
2. Increased performance as a new job get started as soon as the previous job is finished, without any manual intervention.
1. Difficult to debug programs.
2. A job could enter an infinite loop.
3. Due to lack of protection scheme, one batch job can affect other pending jobs.
Multitasking is one of the property of operating system where multiple jobs are executed by the CPU simultaneously by switching between them. This swtiching occurs so quickly so the user will not realize the delay in it. An OS does the following activities related to multitasking:
1. The user gives instructions to the operating system or to a program directly, and receives an immediate response.
2. The OS handles multitasking in the way that it can handle multiple operations /executes multiple programs at a time.
3. Multitasking Operating Systems are also known as Time-sharing systems.
4. These Operating Systems were developed to provide interactive use of a computer system at a reasonable cost.
5. A time-shared operating system uses the concept of CPU scheduling and multiprogramming to provide each user with a small portion of a time-shared CPU.
6. Each user has at least one separate program in memory.
7. A program that is loaded into memory and is executing is commonly referred to as a process.
8. When a process executes, it typically executes for only a very short time before it either finishes or needs to perform I/O.
9. Since interactive I/O typically runs at slower speeds, it may take a long time to complete. During this time, a CPU can be utilized by another process.
10.The operating system allows the users to share the computer simultaneously. Since each action or command in a time-shared system tends to be short, only a little CPU time is needed for each user.
11. As the system switches CPU rapidly from one user/program to the next, each user is given the impression that he has his own CPU, whereas actually one CPU is being shared among many users.
Sharing the processor, when two or more programs reside in memory at the same time,is referred as multiprogramming. Multiprogramming assumes a single shared processor. Multiprogramming increases CPU utilization by organizing jobs so that the CPU always has one to execute.
An OS does the following activities related to multiprogramming.
1. The operating system keeps several jobs in memory at a time.
2. This set of jobs is a subset of the jobs kept in the job pool.
3. The operating system picks and begins to execute one of the jobs in the memory.
4. Multiprogramming operating systems monitor the state of all active programs and system resources using memory management programs to ensures that the CPU is never idle, unless there are no jobs to process.
1. High and efficient CPU utilization.
2. User feels that many programs are allotted CPU almost simultaneously.
1. CPU scheduling is required.
2. To accommodate many jobs in memory, memory management is required.
Interactivity refers to the ability of users to interact with a computer system. An Operating system does the following activities related to interactivity:
1. Provides the user an interface to interact with the system.
2. Manages input devices to take inputs from the user. For example, keyboard.
3. Manages output devices to show outputs to the user. For example, Monitor.
The response time of the OS needs to be short, since the user submits and waits for the result.
Real-time systems are usually dedicated, embedded systems. An operating system does the following activities related to real-time system activity.
1. In such systems, Operating Systems typically read from and react to sensor data.
2. The Operating system must guarantee response to events within fixed periods of time to ensure correct performance.
A distributed environment refers to multiple independent CPUs or processors in a computer system. An operating system does the following activities related to distributed environment:
1. The OS distributes computation logics among several physical processors.
2. The processors do not share memory or a clock. Instead, each processor has its own local memory.
3. The OS manages the communications between the processors. They communicate with each other through various communication lines.
Spooling is an acronym for simultaneous peripheral operations on line. Spooling refers to putting data of various I/O jobs in a buffer. This buffer is a special area in memory or hard disk which is accessible to I/O devices.
An operating system does the following activities related to distributed environment:
1. Handles I/O device data spooling as devices have different data access rates.
2. Maintains the spooling buffer which provides a waiting station where data can rest while the slower device catches up.
3. Maintains parallel computation because of spooling process as a computer can perform I/O in parallel fashion. It becomes possible to have the computer read data from a tape, write data to disk and to write out to a tape printer while it is doing its computing task.
1. The spooling operation uses a disk as a very large buffer.
2. Spooling is capable of overlapping I/O operation for one job with processor operations for another job.