wisemonkeys logo
FeedNotificationProfileManage Forms
FeedNotificationSearchSign in
wisemonkeys logo

Blogs

VIRTUAL MACHINE

profile
vanshika patel
Jul 11, 2023
0 Likes
0 Discussions
42 Reads

Virtual Machine abstracts the hardware of our personal computer such as CPU, disk drives, memory, NIC (Network Interface Card) etc, into many different execution environments as per our requirements, hence giving us a feel that each execution environment is a single computer. For example, VirtualBox.

When we run different processes on an operating system, it creates an illusion that each process is running on a different processor having its own virtual memory, with the help of CPU scheduling and virtual-memory techniques. There are additional features of a process that cannot be provided by the hardware alone like system calls and a file system. The virtual machine approach does not provide these additional functionalities but it only provides an interface that is same as basic hardware. Each process is provided with a virtual copy of the underlying computer system.

We can create a virtual machine for several reasons, all of which are fundamentally related to the ability to share the same basic hardware yet can also support different execution environments, i.e., different operating systems simultaneously.

The main drawback with the virtual-machine approach involves disk systems. Let us suppose that the physical machine has only three disk drives but wants to support seven virtual machines. Obviously, it cannot allocate a disk drive to each virtual machine, because virtual-machine software itself will need substantial disk space to provide virtual memory and spooling. The solution is to provide virtual disks. Users are thus given their own virtual machines. After which they can run any of the operating systems or software packages that are available on the underlying machine. The virtual-machine software is concerned with multi-programming multiple virtual machines onto a physical machine, but it does not need to consider any user-support software. This arrangement can provide a useful way to divide the problem of designing a multi-user interactive system, into two smaller pieces.

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.

 

 

Vanshika Patel-53003220133


Comments ()


Sign in

Read Next

Linux Memory Management

Blog banner

Memory Management

Blog banner

DATA WRANGLING

Blog banner

Evolution of Operating System

Blog banner

PYTHON

Blog banner

TEAMWORK

Blog banner

Ethical Hacking

Blog banner

Functions Of Operating Systems

Blog banner

The launch of UniMap by HERE

Blog banner

Linux -V Server Virtual Machine

Blog banner

WINDOWS I/ O

Blog banner

Evolution of the Microprocessor ~ Aditya Pai

Blog banner

How to use open SSL for web server - browser communication

Blog banner

Memory Management of Operating System(OS)

Blog banner

My Favorite Country

Blog banner

John Titor: The Time Traveler

Blog banner

Water Resources are about to exhaust...

Blog banner

Top 4 Places To Stay In Copenhagen

Blog banner

Data Science in Healthcare: Predicting Diseases

Blog banner

Game via listing method

Blog banner

Unlocking the Secrets: Basic Operations of Computer Forensic Laboratories

Blog banner

Sniffing: A Cyber Security Threat

Blog banner

Cyber Forensics on IOT Devices

Blog banner

Introduction to Data Science: Life Cycle & Applications

Blog banner

Data Visualization- Importance and tools (Tableau,Power BI, Matplotlib)

Blog banner

A Short History of GIS

Blog banner

Firewall

Blog banner

Mumbai local ......

Blog banner

Memory Management

Blog banner

Video games

Blog banner

1.1 basic elements

Blog banner

Real Time Scheduling

Blog banner

Gamer life

Blog banner

semaphores in os

Blog banner

Image Steganography: Hiding Secrets in Plain Sight

Blog banner

POSITIVE ATTITUDE IN LIFE

Blog banner

SQL Injection practice on DVWA

Blog banner

Principal of concurrency

Blog banner

Travel: Everything Everywhere!

Blog banner

Developments in Modern Operating Systems

Blog banner

OS Assignment 3

Blog banner

Memory input output management

Blog banner