0% found this document useful (0 votes)
6 views

Chapter 1

Uploaded by

vikasmanjunath58
Copyright
© © All Rights Reserved
Available Formats
Download as PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
6 views

Chapter 1

Uploaded by

vikasmanjunath58
Copyright
© © All Rights Reserved
Available Formats
Download as PDF, TXT or read online on Scribd
You are on page 1/ 22

UNIT-I OPERATING SYSTEM-2024-25

UNIT I – INTRODUCTION TO OPERATING SYSTEM


Introduction: What operating systems do? - Definition - Types of Operating System
(Single user, simple batch system, Buffering & spooling, multiprogramming, time-
sharing, Real time system, distributed system, parallel computer systems) - Operating
System Components - Operating System Services - System Calls and its types - Operating
System Structure - Open-Source Operating Systems - Virtual machines - System boot

INTRODUCTION:

A computer system has many resources (hardware and software), which may be required
to complete a task. The commonly required resources are input/output devices, memory,
file storage space, CPU, etc. The operating system acts as a manager of the above
resources and allocates them to specific programs and users, whenever necessary to
perform a particular task. Therefore the operating system is the resource manager i.e. it
can manage the resource of a computer system internally. The resources are processor,
memory, files, and I/O devices. In simple terms, an operating system is an interface
between the computer user and the machine.

It is very important for you that every computer must have an operating system in order
to run other programs. The operating system mainly coordinates the use of the hardware
among the various system programs and application programs for various users.

An operating system acts similarly like government means an operating


system performs no useful function by itself; though it provides an environment
within which other programs can do useful work.

Below we have an abstract view of the components of the computer system:

ASHWINI.S. DIWAKAR, Assistant Professor SURANA COLLEGE


AUTONOMOUS
Department Of Computer Science
UNIT-I OPERATING SYSTEM-2024-25

In the above picture:

• The Computer Hardware contains a central processing unit(CPU), the memory,


and the input/output (I/O) devices and it provides the basic computing resources
for the system.
• The Application programs like spreadsheets, Web browsers, word
processors, etc. are used to define the ways in which these resources are used to
solve the computing problems of the users. And the System program mainly
consists of compilers, loaders, editors, OS, etc.
• The Operating System is mainly used to control the hardware and coordinate its
use among the various application programs for the different users.
• Basically, Computer System mainly consists of hardware, software, and data.

WHAT IS AN OPERATING SYSTEM?


An Operating System (OS) is a software that acts as an interface between computer
hardware components and the user. Every computer system must have at least one
operating system to run other programs. Applications like Browsers, MS Office, Notepad
Games, etc., need some environment to run and perform its tasks.
The OS helps you to communicate with the computer without knowing how to speak the
computer’s language. It is not possible for the user to use any computer or mobile
device without having an operating system.

Introduction to Operating System

Definition: An operating system is a program that controls the execution of application


programs and acts as an interface between the user of a computer and the computer
hardware.

ASHWINI.S. DIWAKAR, Assistant Professor SURANA COLLEGE


AUTONOMOUS
Department Of Computer Science
UNIT-I OPERATING SYSTEM-2024-25

OBJECTIVES OF OPERATING SYSTEM

1. Controlling and coordinating the use of system resources like cpu time, memory,
clock, io devices etc
2. Providing convenient environment for the user to access available resources.
3. To increase the productivity of processing resources.
4. To use the computer hardware in an efficient manner

STRUCTURE OF AN OPERATING SYSTEM

 OS is divided into the layers in which the lowest layer represents the hardware
part and the highest layer represents its user interface ( os)
 The two layers of OS are : KERNEL and the SHELL

KERNEL : Is the core of the OS. It controls the computer’s resources , alloting the
resources to the different users and tasks. It interacts directly with the hardware.

SHELL: this acts as a command interpreter for the kernel. This is the interface
between the user and the kernel.

ASHWINI.S. DIWAKAR, Assistant Professor SURANA COLLEGE


AUTONOMOUS
Department Of Computer Science
UNIT-I OPERATING SYSTEM-2024-25

COMPONENTS OF OPERATING SYSTEM

An operating system is a large and complex system created by combining small pieces.
These pieces are well-defined parts of a system that have carefully defined inputs,
outputs, and functions. Though most OSs differ in structure, most of them have similar
components.

FILE MAMANGEMENT

PROCESS MANAGEMENT

SECURITY MANAGEMENT

SECONDARY STORAGE MANAGEMNET

NETWORK MANAGEMENT

I/O DEVICE MANAGEMENT

1. File Management

A set of related information that represents programs, source forms, object forms, and
data is called a file. A data file can either be numeric, alphabetic, or alphanumeric.
Following are the features of file management:

➢ Creation and deletion of files and directories.


➢ Manipulation of files and directories.
➢ Maps files onto secondary storage.
➢ File backup on a stable storage media.

2. Process Management

The process management component is the way to manage the multiple processes
running simultaneously on the OS. Process management manages all the running
processes and makes sure that all of them run efficiently. It also uses the memory
allocated to them and shuts them down when required.

The execution of a process must be in a sequence such that at least one instruction
executes on behalf of the process. Following are the features of process management:

➢ Creation and deletion of processes.


➢ Suspending and resuming processes.
➢ Synchronizing processes
ASHWINI.S. DIWAKAR, Assistant Professor SURANA COLLEGE
AUTONOMOUS
Department Of Computer Science
UNIT-I OPERATING SYSTEM-2024-25

➢ Establishing communication with and between processes.

3. I/O Device Management

I/O device management hides the variations of some hardware devices from the user.
Following are the features of I/O device management:

➢ Buffers caching system


➢ Provides general device driver code
➢ Provides drivers for particular hardware devices.
➢ Helps know the individualities of a device.

4. Network Management

Network management administers and manages computer networks. Its services include
performance management, fault analysis, network provisioning, and service quality
management.

In a distributed system all processors have their personal local memory. It is a collection
of computers or processors that are connected through a communication network and
the processors communicate with the help of communication lines, like fiber optics or
telephone lines.

Network management helps connect the network fully or partially so that users can
design routing and connection strategies with no connection and security issues.

Following are the features of network management:

➢ It offers user access to the various resources that the network shares.
➢ We can access shared resources. These help speed-up computation and offer data
availability and reliability.
➢ We can access different computing resources that vary in size and function like
microprocessors, minicomputers, and many general-purpose computer systems
with the help of distributed systems.
5. Main memory management

Main Memory comprises large amounts of storage or byte where each storage and byte
has an address. In order to conduct the process of memory management a sequence of
reads or writes of specific memory addresses is used. We map it to absolute addresses
and load it inside the memory in order to execute a program.

Memory management is mainly based on the system’s hardware design as each algorithm
needs the support of a hardware. It ensures fast storage so that the CPU can access it
directly. It is costly and has a low storage capacity. Despite this, in order to execute a
program, the program needs to be in the main memory.

Following are the features of memory management:

➢ Keeps track of primary memory.


➢ Determines what part of the memory is in use and by whom.
➢ Decides which process should get the memory and what amount.
ASHWINI.S. DIWAKAR, Assistant Professor SURANA COLLEGE
AUTONOMOUS
Department Of Computer Science
UNIT-I OPERATING SYSTEM-2024-25

➢ Allocates memory on the request of a process.


➢ De-allocates memory when a process terminates.
6. Secondary-Storage Management

Programs help access data in the main memory during execution. The main memory is
too small and cannot store all the data and programs permanently. Thus, secondary
storage acts as a backup to the main memory. Assemblers and compilers are stored on
the disk until they are loaded into the memory and use the disk for processing.

Following are the features of secondary-storage management:

➢ Allocates storage
➢ Manages free space
➢ Disk scheduling
7. Security Management

It is necessary to protect the processes from each other’s activities. Security management
ensures that the operating files, memory, CPU, and other hardware resources have
proper authorization from the OS. No process can do its own I/O, this maintains the
integrity of peripheral devices.

OS IS MAINLY DESIGNED IN ORDER TO SERVE TWO BASIC PURPOSES

1. The operating system mainly controls the allocation and use of the computing
System’s resources among the various user and tasks.
2. It mainly provides an interface between the computer hardware and the
programmer that simplifies and makes feasible for coding, creation of application
programs and debugging

OPERATING SYSTEM SERVICES

Two Views of Operating System

1. User's View
2. System View

Operating System: User View

The user view of the computer refers to the interface being used. Such systems are
designed for one user to monopolize its resources, to maximize the work that the user is
performing. In these cases, the operating system is designed mostly for ease of use, with
some attention paid to performance, and none paid to resource utilization.

➢ USER INTERFACE
➢ PROGRAM EXECUTION
➢ I/O OPERATION
➢ FILE SYSTEM MANIPULATION
➢ ERROR DETECTION
➢ COMMUNICATION
ASHWINI.S. DIWAKAR, Assistant Professor SURANA COLLEGE
AUTONOMOUS
Department Of Computer Science
UNIT-I OPERATING SYSTEM-2024-25

Operating System: System View

The operating system can be viewed as a resource allocator also. A computer system
consists of many resources like - hardware and software - that must be managed
efficiently. The operating system acts as the manager of the resources, decides between
conflicting requests, controls the execution of programs, etc.

➢ RESOURCE MANAGEMENT
➢ PROTECTION AND SECURITY
➢ ACCOUNTING ( Memory space )

BATCH OPERATING SYSTEM

In the 1970s, Batch processing was very popular. In this technique, similar types of jobs
were batched together and executed in time. People were used to having a single
computer which was called a mainframe.

There are different users, and each user prepares their work in a standalone device, such
as punch cards in batch operating systems and sends them to a computer operator. The
various systems split and distribute similar tasks in batches to facilitate computing and
faster responses. A single operator takes similar jobs with similar needs and
requirements and then groups them into various batches. Similar kinds of jobs that share
similar needs and requirements. These types of operating systems are not used
nowadays.

The system put all of the jobs in a queue on the basis of first come first serve and then
executes the jobs one by one. The users collect their respective output when all the jobs
get executed.

The purpose of this operating system was mainly to transfer control from one job to
another as soon as the job was completed. It contained a small set of programs called the
resident monitor that always resided in one part of the main memory. The remaining part
is used for servicing job.

ASHWINI.S. DIWAKAR, Assistant Professor SURANA COLLEGE


AUTONOMOUS
Department Of Computer Science
UNIT-I OPERATING SYSTEM-2024-25

NOTE: WHAT IS PUNCH CARD

A punch card is a simple piece of paper stock that can hold data in the form of small,
punched holes, which are strategically positioned to be read by computers or machines.
It is an early computer programming relic that was used before the many data storage
advances relied upon today.

ADVANTAGES
➢ The overall time the system takes to execute all the programs will be reduced.

➢ Less time to execute all programs.


➢ These operating systems are shared between multiple users.
➢ Suitable for small-scale businesses.
➢ It can work in offline mode also.
➢ It can give specific time to the computer, and when a computer is idle can
process the jobs.
DISADVANTAGES
➢ Sometimes, manual interventions are required between two batches.

➢ The CPU utilization is low because the time taken in loading and unloading
batches is very high compared to execution time.
➢ Sometimes, jobs enter into an infinite loop due to some mistake.
ASHWINI.S. DIWAKAR, Assistant Professor SURANA COLLEGE
AUTONOMOUS
Department Of Computer Science
UNIT-I OPERATING SYSTEM-2024-25

➢ Meanwhile, if one job takes too much time, other jobs must wait.

MULTIPROGRAMMING OPERATING SYSTEM

Multiprogramming is an extension to batch processing where the CPU is always kept


busy. Each process needs two types of system time: CPU time and IO time.

In a multiprogramming environment, when a process does its I/O, The CPU can start the
execution of other processes. Therefore, multiprogramming improves the efficiency of
the system.

The operating system which can run multiple processes on a single processor is called a
multiprogramming operating system. There are different programs that want to get
executed. So these programs are kept in the ready queue. And are assigned to the CPU
one by one. If one process gets blocked, then other processes from the ready queue are
assigned to the CPU. The aim of this is optimal resource utilization and more CPU
utilization. In the below figure, different processes are there in RAM(main memory).
Some processes are waiting for the CPU, and process 2(which was previously executing)
is now doing I/O operations. So, CPU shifted to execute process.

ASHWINI.S. DIWAKAR, Assistant Professor SURANA COLLEGE


AUTONOMOUS
Department Of Computer Science
UNIT-I OPERATING SYSTEM-2024-25

ADVANTAGES OF MULTIPROGRAMMING OS

➢ Throughout the system, it increased as the CPU always had one program to
execute.
➢ Response time can also be reduced.

DISADVANTAGES OF MULTIPROGRAMMING OS
ASHWINI.S. DIWAKAR, Assistant Professor SURANA COLLEGE
AUTONOMOUS
Department Of Computer Science
UNIT-I OPERATING SYSTEM-2024-25

➢ Multiprogramming systems provide an environment in which various systems


resources are used efficiently, but they do not provide any user interaction with
the computer system.

TIME SHARING OPERATING SYSTEM

The Time-Sharing Operating System is a type of operating system in which the user can
perform more than one task and each task gets the same amount of time to execute. It is
also called a multitasking operating system.
It allows the user to perform more than one task at a time, each task getting the same amount
of time to execute. Hence, the name time sharing OS. Moreover, it is an extension of
multiprogramming systems. In multiprogramming systems, the aim is to make the maximum
use of the CPU. On the other hand, here the aim is to achieve the minimum response time of
CPU.
Therefore, all the tasks will run smoothly on the system. Hence, its name is also multitasking
operating system. Multiple jobs are running at the CPU time and also, they use the CPU
simultaneously. But, the switching between the tasks is very fast due to which the user feels
that all tasks are running at the same time.

WORKING OF TIME SHARING OPERATING SYSTEM

The operating system performs time sharing through CPU scheduling and
multiprogramming. Let us study closely the process in a time sharing system. It is as follows:

➢ It is the division of CPU time for each process when more than one task are given
by the user.
➢ A short duration of time is chosen for each process. Moreover, this time duration is
very small in the order of 10-100 milliseconds. This time duration is known as time
slot, time slice, or quantum.

ASHWINI.S. DIWAKAR, Assistant Professor SURANA COLLEGE


AUTONOMOUS
Department Of Computer Science
UNIT-I OPERATING SYSTEM-2024-25

➢ Suppose three processes namely, P1, P2, and P3 are running on the system. Now,
suppose that the quantum is 4 nanoseconds (ns). Now, they will execute in the
following manner.
➢ Process P1 will execute for 4 ns, as soon a sit gets over, process p2 starts executing
for a duration of 4 ns. Further, when p2 gets complete process P3 executes for 4ns.
This process continues till all the processes gets complete.
➢ In this way, only one process runs at a time but, the switching between the
processes is very fast. Hence, the user feels that all the processes are running at the
same time.

PARALLEL OPERATING SYSTEM

The parallel processing system is designed to speed up the execution process of programs
by dividing them into multiple segments and processing them simultaneously. These
systems are called multiprocessor systems or tightly coupled systems.

WHAT IS A PARALLEL OPERATING SYSTEM?

Parallel operating systems are designed to speed up the execution of programs by


dividing them into multiple segments. It is used for dealing with multiple processors
simultaneously by using computer resources which include a single computer with
multiple processors and several computers connected by a network to form a cluster of
parallel processing or a combination of both.

ASHWINI.S. DIWAKAR, Assistant Professor SURANA COLLEGE


AUTONOMOUS
Department Of Computer Science
UNIT-I OPERATING SYSTEM-2024-25

HOW DO PARALLEL OPERATING SYSTEMS WORK?

It is an evolution of serial processing wherein tasks are broken down into manageable
tasks that can be executed concurrently. Further, each part is broken down into a series
of instructions executed simultaneously on different CPUs. The working of the parallel
operating system is such that the CPU and its components are divided into smaller parts,
each having full speed and power. In a normal operating system, once an I/O device is
identified, it will use the CPU to transfer the information into the memory before
performing any operations on it, like processing and transmitting. By parallel operating
systems, however, more data can be transferred and processed simultaneously, resulting
in quicker data transfer.

ADVANTAGES OF PARALLEL OPERATING SYSTEM

➢ It saves time and allows the execution of applications simultaneously


➢ Solves the large complex problem of operating system
➢ Multiple resources can be used simultaneously
➢ Has a larger memory for the allocation of resources and tasks
➢ Faster as compared to another operating system

DISADVANTAGES OF PARALLEL OPERATING SYSTEM

➢ The architecture of the parallel operating system is complex


➢ High cost since more resources are used for synchronization, data transfer,
thread, and communication. In the case of clusters, better cooling techniques are
required.
ASHWINI.S. DIWAKAR, Assistant Professor SURANA COLLEGE
AUTONOMOUS
Department Of Computer Science
UNIT-I OPERATING SYSTEM-2024-25

➢ Huge power consumption.


➢ High maintenance.

EXAMPLES OF PARALLEL OPERATING SYSTEMS

➢ VMware
➢ Microsoft Hyper-V
➢ Red Hat enterprise
➢ Oracle VM

DISTRIBUTED OPERATING SYSTEM

A distributed operating system is one in which several computer systems connected through
a single communication channel. Moreover, these systems have their individual processors
and memory. Furthermore, these processors communicate through high-speed buses or
telephone lines. These individual systems that connect through a single channel are
considered as a single unit. We can also call them loosely coupled systems. The individual
components or systems of the network are nodes.

Advantages of Distributed OS

➢ The load on the system decreases.


➢ If one system stops it will not affect the other.
➢ The system shares a workload that makes calculations easy.
➢ The size of the system can be set according to requirements.

Disadvantages of Distributed OS

➢ The cost for set up is more.


➢ Failure of the main system will affect the whole system.
➢ Programming is complex.

ASHWINI.S. DIWAKAR, Assistant Professor SURANA COLLEGE


AUTONOMOUS
Department Of Computer Science
UNIT-I OPERATING SYSTEM-2024-25

Spooling in Operating System

Spooling is a process in which data is temporarily held to be used and executed by a


device, program, or system. Data is sent to and stored in memory or other volatile storage
until the program or computer requests it for execution.

SPOOL is an acronym for simultaneous peripheral operations online. Generally, the


spool is maintained on the computer's physical memory, buffers, or the I/O device-
specific interrupts. The spool is processed in ascending order, working based on a FIFO
(first-in, first-out) algorithm.

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 the distributed environment:

➢ Handles I/O device data spooling as devices have different data access rates.
➢ Maintains the spooling buffer, which provides a waiting station where data can
rest while the slower device catches up.
➢ Maintains parallel computation because of the spooling process as a computer can
perform I/O in parallel order. It becomes possible to have the computer read data
from a tape, write data to disk, and write out to a tape printer while it is doing its
computing task.

Example of Spooling

o The biggest example of Spooling is printing. The documents which are to be


printed are stored in the SPOOL and then added to the queue for printing. During
this time, many processes can perform their operations and use the CPU without
waiting while the printer executes the printing process on the documents one-by-
one.

o Many features can also be added to the Spooling printing process, like setting
priorities or notification when the printing process has been completed or
selecting the different types of paper to print on according to the user's choice.
ASHWINI.S. DIWAKAR, Assistant Professor SURANA COLLEGE
AUTONOMOUS
Department Of Computer Science
UNIT-I OPERATING SYSTEM-2024-25

Advantages of Spooling:

➢ Processes are not suspended for a long time.


➢ It can produce multiple copies of the output without running the process
again.

Disadvantages of Spooling:

➢ Need large amounts of disk space.


➢ Increase disk traffic.
➢ Not practical for real-time environment, because results are produce at a later
time.

Buffering in Operating System

The buffer is an area in the main memory used to store or hold the data temporarily.
In other words, buffer temporarily stores data transmitted from one place to another,
either between two devices or an application. The act of storing data temporarily in the
buffer is called buffering.

A buffer may be used when moving data between processes within a computer. Buffers
can be implemented in a fixed memory location in hardware or by using a virtual data
buffer in software, pointing at a location in the physical memory. In all cases, the data in
a data buffer are stored on a physical storage medium.

Most buffers are implemented in software, which typically uses the faster RAM to store
temporary data due to the much faster access time than hard disk drives. Buffers are
typically used when there is a difference between the rate of received data and the rate
of processed data, for example, in a printer spooler or online video streaming.

A buffer often adjusts timing by implementing a queue or FIFO algorithm in memory,


simultaneously writing data into the queue at one rate and reading it at another rate.

ADVANTAGES:
➢ It handles the speed mismatch between the producer and consumer of a data
stream.
➢ To adapt between devices that have different data – transfer sizes.

ASHWINI.S. DIWAKAR, Assistant Professor SURANA COLLEGE


AUTONOMOUS
Department Of Computer Science
UNIT-I OPERATING SYSTEM-2024-25

SYSTEM CALL

What is System Call in Operating System?


A system call is a mechanism that provides the interface between a process and the
operating system. It is a programmatic method in which a computer program requests a
service from the kernel of the OS.

System call offers the services of the operating system to the user programs via API
(Application Programming Interface). System calls are the only entry points for the
kernel system.

Example of System Call


For example if we need to write a program code to read data from one file, copy that
data into another file. The first information that the program requires is the name of the
two files, the input and output files.

In an interactive system, this type of program execution requires some system calls by
OS.

➢ First call is to write a prompting message on the screen


➢ Second, to read from the keyboard, the characters which define the two files.

ASHWINI.S. DIWAKAR, Assistant Professor SURANA COLLEGE


AUTONOMOUS
Department Of Computer Science
UNIT-I OPERATING SYSTEM-2024-25

HOW SYSTEM CALL WORKS?

Here are the steps for System Call in OS:

As you can see in the above-given System Call example diagram.

Step 1) The processes executed in the user mode till the time a system call interrupts it.

Step 2) After that, the system call is executed in the kernel-mode on a priority basis.

Step 3) Once system call execution is over, control returns to the user mode.,

Step 4) The execution of user processes resumed in Kernel mode.

Why do you need System Calls in OS?


Following are situations which need system calls in OS:

➢ Reading and writing from files demand system calls.


➢ If a file system wants to create or delete files, system calls are required.
➢ System calls are used for the creation and management of new processes.
➢ Network connections need system calls for sending and receiving packets.
➢ Access to hardware devices like scanner, printer, need a system call.

ASHWINI.S. DIWAKAR, Assistant Professor SURANA COLLEGE


AUTONOMOUS
Department Of Computer Science
UNIT-I OPERATING SYSTEM-2024-25

TYPES OF SYSTEM CALLS

There are commonly five types of system calls. These are as follows:

1. Process Control
2. File Management
3. Device Management
4. Information Maintenance
5. Communications

Process Control
This system calls perform the task of process creation, process termination, etc.

Functions:

➢ End and Abort


➢ Load and Execute
➢ Create Process and Terminate Process
➢ Wait and Signal Event
➢ Allocate and free memory

ASHWINI.S. DIWAKAR, Assistant Professor SURANA COLLEGE


AUTONOMOUS
Department Of Computer Science
UNIT-I OPERATING SYSTEM-2024-25

File Management
File management system calls handle file manipulation jobs like creating a file, reading,
and writing, etc.

Functions:

➢ Create a file
➢ Delete file
➢ Open and close file
➢ Read, write, and reposition
➢ Get and set file attributes

Device Management
Device management does the job of device manipulation like reading from device
buffers, writing into device buffers, etc.

Functions:

➢ Request and release device


➢ Logically attach/ detach devices
➢ Get and Set device attributes

Information Maintenance
It handles information and its transfer between the OS and the user program.

Functions:

➢ Get or set time and date


➢ Get process and device attributes

Communication:
These types of system calls are specially used for inter process communications.

Functions:

➢ Create, delete communications connections


➢ Send, receive message
➢ Help OS to transfer status information
➢ Attach or detach remote devices

ASHWINI.S. DIWAKAR, Assistant Professor SURANA COLLEGE


AUTONOMOUS
Department Of Computer Science
UNIT-I OPERATING SYSTEM-2024-25

VIRTUAL MACHINE
A virtual machine (VM) is a virtual environment which functions as a virtual computer
system with its own CPU, memory, network interface, and storage, created on a physical
hardware system.
VMs are isolated from the rest of the system, and multiple VMs can exist on a single piece
of hardware, like a server. That means, it as a simulated image of application software
and operating system which is executed on a host computer or a server.
It has its own operating system and software that will facilitate the resources to virtual
computers.

Definition: A Virtual Machine (VM) is a compute resource that uses software instead of
a physical computer to run programs and deploy apps. One or more virtual “guest”
machines run on a physical “host” machine.

ASHWINI.S. DIWAKAR, Assistant Professor SURANA COLLEGE


AUTONOMOUS
Department Of Computer Science
UNIT-I OPERATING SYSTEM-2024-25

Characteristics of virtual machines


The characteristics of the virtual machines are as follows −
• Multiple OS systems use the same hardware and partition resources
between virtual computers.
• Separate Security and configuration identity.
• Ability to move the virtual computers between the physical host computers
as holistically integrated files.
Advantages:
1. There are no protection problems because each virtual machine is
completely isolated from all other virtual machines.
2. Virtual machine can provide an instruction set architecture that differs from
real computers.
3. Easy maintenance, availability and convenient recovery.
Disadvantages:
1. When multiple virtual machines are simultaneously running on a host
computer, one virtual machine can be affected by other running virtual
machines, depending on the workload.
2. Virtual machines are not as efficient as a real one when accessing the
hardware.

ASHWINI.S. DIWAKAR, Assistant Professor SURANA COLLEGE


AUTONOMOUS
Department Of Computer Science

You might also like