05-01-2019
Providing virtual machine priority in kvm based virtual machines
Hi All,
Is there any way I can prioritize my VMs when there is resource crunch in host machine so that some VMs will be allocated more vcpu, more memory than other VMs in kvm/qemu hypervisor based virtual machines?
Lets say in my cloud environment my Ubuntu 16 compute hosts are running some development and production VMs. When there is resource crunch, I want my production VMs to utilize more vcpu and memory than development VMs. Here the host machine should decide which VMs to give priority in terms of resource allocation so as to increase or decrease vcpu, memory of the hosted VMs.
Tried with virsh command line to set vcpucount. However it needs to reboot the VM to effect the config change which I do not want for my VMs.
I can think of changing nice value of the qemu process (using nice/renice/chrp command options) for my VM instances, but not sure whether it will work properly or not when the actual resource crunch happens as nice is just a scheduler hint to the linux kernel.
Similar question is posted in stackoverflow under "understanding-kvm-cpu-scheduler-algorithm" subject line.
Please let me know is there any linux command line utility or tool available to increase or decrease resource of the VMs based on the resource utilization in host.
thank you for your replies and pointers.
regards,
Sanjay
This User Gave Thanks to SanjayK For This Post:
9 More Discussions You Might Find Interesting
1. Solaris
Do we have any Virtual Data Center software as we have Virtual Machine?
I want to practice everything of Solaris practically but i don't have resources like data center which includes Servers, Data storages, switches, and other things. (2 Replies)
Discussion started by: karman0931
2 Replies
2. Linux
My setup consists of a hardware node, which hosts several virtual machines (OpenVZ, to be precise). The hardware node has two network interfaces (<ifA>, <ifB>) connected to different subnets (<networkA>, <networkB>). I want to route the traffic of certain VEs over <ifB> while routing the other VEs... (0 Replies)
Discussion started by: bakunin
0 Replies
3. Red Hat
Hi All,
I have RHEL 5u4 physical system with 2 Qlogic fc cards. It hosts 2 KVM virtual machines which are also running RHEL 5u4 OS. After all these I have created a virutal HBA (refered in google) successfully on the base OS. But the same is not visible to guest OS.
My question here is,
... (1 Reply)
Discussion started by: Vichu
1 Replies
4. Virtualization and Cloud Computing
I have virtual machines in the vmware environment that run either windows or linux that loose conncetivity and every time i have to change their vlan to vm network and latter join them to original vlan to gain connectivity.
Advice (0 Replies)
Discussion started by: amwai
0 Replies
5. Solaris
Trying to set or modify the randomly set hostID of a Solaris 10 virtual/guest machine that I installed on a Windows-XP host machine (using Virtual Box 4.1.12).
I was able to set/modify the hostname of the Solaris 10 virtual/guest machine during installation as well as via the Virtual Box... (4 Replies)
Discussion started by: Matt_VB
4 Replies
6. Ubuntu
Hello,
I installed two virtual machines ubuntu10 on VM VirtualBox .
Please, what are the steps to make a ping from one of these two machines on the other (the configurations )?
Thank you. (4 Replies)
Discussion started by: chercheur111
4 Replies
7. UNIX and Linux Applications
Help with Install KVM and Create Virtual Machines VMWare In PC.
I want to lean KVM bios Logical Volume Management by KVM and other problem fix remotely.So,I want to practice on my PC.It,s Possible then how?
Thank you (0 Replies)
Discussion started by: domaingood
0 Replies
8. Red Hat
My RHEL virtual Machine Does not have Virtual Machine Manager Desktop Tool
Hi,
I don't seem to have the Virtual Machine Manager Desktop tool set up on my RHEL6 Machine. The Linux machine runs off VMWare player and I'm not sure whether it is a VMWare software issue or a problem with the RHEL6... (2 Replies)
Discussion started by: accipiter1
2 Replies
9. AIX
Hi There,
I have zero information and zero knowledge for IBM virtual machine except Amazon cloud and VMware ESXi (Only Linux OS available).
Anyone could provide me the following answer -
Can IBM VM been deploy on X86 and X64 (Intel Chip)?
If answer is yes any chance to deploy AIX OS... (13 Replies)
Discussion started by: chenyung
13 Replies
LEARN ABOUT NETBSD
virtio
VIRTIO(4) BSD Kernel Interfaces Manual VIRTIO(4)
NAME
virtio -- Para-virtualized I/O in a virtual machine
SYNOPSIS
virtio* at pci? dev ? function ?
ld* at virtio?
vioif* at virtio?
viomb* at virtio?
DESCRIPTION
virtio defines an interface for efficient, standard and extensible I/O between the hypervisor and the virtual machine. The virtio device
driver represents an emulated PCI device that the hypervisor makes available to the virtual machine.
virtio driver itself provides the core infrastructure to communicate with the hypervisor (called virtqueues) and supports the following
devices:
ld(4) A Disk device.
vioif(4)
An Ethernet device.
viomb(4)
A pseudo-device to release memory back to the hypervisor.
SEE ALSO
ld(4), pci(4), vioif(4), viomb(4)
Rusty Russell, IBM Corporation, Virtio PCI Card Specification, http://ozlabs.org/~rusty/virtio-spec/.
HISTORY
The virtio driver first appeared in NetBSD 6.0.
BSD
November 5, 2011 BSD