Questions tagged [virtualization]

Virtualization is a group of software technologies that allow abstraction between layers of a system. This allows separation between the logical layers of the system, providing isolation, flexibility, and/or the ability to run more than one at a time. This differs from most traditional systems where the various layers are inherently tied.

Virtualization commonly refers to three distinct technologies: Hardware Virtualization, Software Virtualization, and User Experience Virtualization. (Most commonly the first, Hardware Virtualization)

Hardware (sometimes called Operating System virtualization) is the use of software to allow a piece of hardware to run multiple operating system images at the same time. Traditional servers have a 1:1 ratio (One operating system running on one piece of hardware) and virtualization allows 1:many, making efficient use of available hardware. With the use of the hypervisor many operating systems can be run on top of one piece of physical hardware.

There are three main types of hardware virtualization, hypervisor, paravirtualization, and emulation. The bare metal hypervisor, or type 1, itself runs directly on the computer hardware. Hypervisors are generally thought to be enterprise level solutions to virualization as they make the most efficient use of available hardware resources.

Paravirtualization, or type 2, installs on top of a pre-existing operating system. Type 2 solutions are not as efficient because resources are also going to the host operating system, therefore type 2s are possibly better for hobbyist or development. Paravirtualization also requires the guest operating systems to be aware of the virtualization system and be designed to work with it.

Emulation also runs atop an existing system like paravirtualization; unlike its more efficient siblings, every instruction issued by the guest operating system must be interpreted by the emulation system. Emulation is notably less efficient than the other two, however it can enable a guest operating system to run on a host processor that it completely different than it was intended for.

Application Virutalization allows applications, which normally require installation, to run on system where they not actually installed. The virtualization layer simulates the installed prerequisite components, allowing the application to run normally.

There are two main types of User Experience Virtualization: Presentation and Data Location. Presentation Virtualization is commonly implemented by running a program on one system and producing the GUI at another. This may be as simple as a VNC or Remote Desktop Connnection, or a more complicated Virtual Desktop Infrastructure. Data Location Virtualization allows users a consistent view of the logical location of data across multiple distinct systems. The primary advantage of these systems is allowing users to access data in a consistent manor regardless of the physical location of the user or data.

3610 questions
29
votes
4 answers

Best Practice: vCPUs per physical core

I am trying to find some documentation or best practice guides for virtualization with respect to provisioning vCPUs per physical core (of a CPU). If it matters, I am looking at vmWare for the virtualization implementation. For example, an Intel…
Dr. Watson
  • 393
  • 1
  • 3
  • 7
27
votes
4 answers

Will virtualizing a server mean another OS layer to patch and update, more work and greater risk?

I've done a search and have not found anything addressing issues regarding patching and system updates. I've got guidelines that say servers need to have necessary patches. If I have a VM host then is that an extra layer to patch and update - even…
27
votes
1 answer

KVM and Libvirt - How do I hotplug a new virtio disk?

I am trying to hot-add a file-based disk to a running KVM virtual server. I've created a new disk from scratch using the command dd of=/home/cloud/vps_59/test.img bs=1 seek=5G count=0 and I was hoping to get it hot-added to the guest by doing this…
26
votes
5 answers

Is there a reason to give a VM a round base-2 amount (2048MB, 4096MB, etc) of memory?

The title pretty much says it all, is there any advantage to giving a VM 2048MB of memory instead of rounding to base-10 and doing 2000MB?
Nate
  • 2,151
  • 6
  • 26
  • 41
26
votes
3 answers

How to run VMWare ESX or ESXi in a virtual machine?

Can VMWare ESX or ESXi be installed and used inside a virtual machine? It can be installed inside VMWare Workstation or Server, but then it doesn't work; the main symptoms are: It runs REALLY slowly. It lets you create VMs, but when powering up…
Massimo
  • 70,200
  • 57
  • 200
  • 323
26
votes
3 answers

How much overhead does x86/x64 virtualization have?

How much overhead does x86/x64 virtualization (I'll probably be using VirtualBox, possbly VMWare, definitely not paravirtualization) have for each of the following operations a Win64 host and Linux64 guest using Intel hardware…
dsimcha
  • 681
  • 1
  • 7
  • 12
26
votes
11 answers

Are there any good reasons for disabling hardware-assisted virtualization?

We've had a number of servers from Dell recently, all of which have had hardware-assisted virtualization disabled in the BIOS. As far as I know hardware-assisted virtualization is a good thing - so why would Dell disable it? Does it have a…
Tom Robinson
  • 775
  • 2
  • 11
  • 21
25
votes
10 answers

Running 100 virtual machines on a single VMWare host server

I've been using VMWare for many years, running dozens of production servers with very few issues. But I never tried hosting more than 20 VMs on a single physical host. Here is the idea: A stripped down version of Windows XP can live with 512MB of…
Dennis Kashkin
24
votes
6 answers

Can windows domain controller be virtualized?

Just the question on the title. There is any problem? Any experience on this?
FerranB
  • 1,372
  • 2
  • 18
  • 28
23
votes
1 answer

How to describe VMware performance requirements for our application to a VMware admin?

Often, an installation of our on-site, debian-stable based application runs in a virtual machine - typically in VMware ESXi. In the general case we do not have visibility into or influence over their virtualization environment and do not have access…
Peter V. Mørch
  • 852
  • 7
  • 15
23
votes
1 answer

Hosting a ZFS server as a virtual guest

I'm still new to ZFS. I've been using Nexenta but I'm thinking of switching to OpenIndiana or Solaris 11 Express. Right now, I'm at a point of considering virtualizing the ZFS server as a guest within either ESXi, Hyper-V or XenServer (I haven't…
osij2is
  • 3,885
  • 2
  • 24
  • 31
23
votes
17 answers

Virtualization Pitfalls/Lessons Learned

What are some pitfalls or lessons learned after converting existing hardware to a virtualized environment? Is there anything you tried to virtualize but will never do again?
Bob
  • 2,937
  • 5
  • 29
  • 32
22
votes
4 answers

How much contention is too much in VMware?

For a while now I've been trying to figure out why quite a few of our business-critical systems are getting reports of "slowness" ranging from mild to extreme. I've recently turned my eye to the VMware environment where all the servers in question…
Chuck Herrington
  • 525
  • 2
  • 7
  • 18
22
votes
4 answers

What are the benefits of "enterprise-level" virtualization?

For a company with modest virtualization needs - VirtualBox is currently doing fine at hosting a few light servers - what would some of the benefits be of moving to a more robust platform? I'm hoping to shortcut my research a bit - to get a short…
Ward - Trying Codidact
  • 12,899
  • 28
  • 46
  • 59
22
votes
5 answers

KVM: Which CPU features make VMs run better?

We are using Ubuntu 12.04 with the following parameters: Dell R910 Kernel 3.2.0-25-generic #40-Ubuntu SMP x86_64 x86_64 x86_64 GNU/Linux kvm 1:84+dfsg-0ubuntu16+1.0+noroms+0ubuntu13 qemu-kvm 1.0+noroms-0ubuntu13 qemu-common…