Displaying 20 results from an estimated 100 matches similar to: "Hard limit for the cpu usage of a VM"
2011 Jul 02
2
Associating a statefile with an image
Hi ,
I am trying to perform offline migration (i.e) Create an incremental image using the qcow format, transfer the vm memory state to a state fie.Use the image and statefile together as a template. Now create a new vm using the template. I can successfully do it using the following commands :
Save phase :
stop
migrate "exec:gzip -c > STATEFILE.gz"
qemu-img
qemu-img create -b
2012 Feb 10
1
Unable to collect VM metrics for ESX using libvirt
Hi,
I am trying to connect to a server running esx and collect system metrics
like cpu usage, network and disk iops. I am able to establish the
connection successfully and obtain VM information such as ids, domain
names, config xml etc. But I am unable to collect statistics.
I am using the python interface and if I do ,
conn=libvirt.openAuth(uri, auth, 0)
dom-conn.lookupByID(id) // Where id is
2015 Jan 23
3
questions around using numatune/numa/schedinfo
Hi,
I'm running into some problems with libvirt and hoping someone can point me at
some instructions or maybe even help me out.
First, are there any requirements on qemu version in order to use the "numatune"
and/or "cpu/numa/cell" elements? Or do they use cgroups and not the native qemu
numa support?
Second, are there any instructions on how to set up cgroups? I
2017 Nov 02
2
What global_quota option mean? What's its logic?
Hi techs,
Could you please explain or refer me to documentation where I could find a
description of global_quota schedinfo option. Someone told me that it could
mean a cpu limitation in percents like:
global_quota : 25000 (does it mean cpu limit % set to 25 ?)
Is it true?
What other parameters mean in below output?
I didn't find any related documentation at libvirt.org.
Could you help me
2014 Mar 05
5
cgroup for VM - does it work properly?
Hi
I tried to restrict usage of some running VM by cpu.shares (i.e. set to
10 from original 1024) on loaded system and it seem doesn't work as I
expected... all running processes has same CPU usage (by htop) :-/
Does anyone has same experience?
Fedora 19, libvirt-1.0.5.9-1.fc19.x86_64
Thanks a lot
Martin
--
Martin Pavlásek <mpavlase@redhat.com>
OpenStack QA Associate/Red Hat
2014 Mar 05
1
Re: cgroup for VM - does it work properly?
On Thu 06 Mar 2014 00:42:27 CET, Eric Blake wrote:
> On 03/05/2014 04:32 PM, Martin Pavlásek wrote:
>> Hi
>>
>> I tried to restrict usage of some running VM by cpu.shares (i.e. set to
>> 10 from original 1024) on loaded system and it seem doesn't work as I
>> expected... all running processes has same CPU usage (by htop) :-/
>
> How exactly are you
2011 Jan 23
2
Cgroup
Hello,
I'm running Debian Sid with libvirt/qemu/kvm packages from experimental:
$ qemu --version
QEMU emulator version 0.13.0 (Debian 0.13.0+dfsg-2), Copyright (c)
2003-2008 Fabrice Bellard
$ kvm --version
QEMU emulator version 0.13.0 (qemu-kvm-0.13.0 Debian 0.13.0+dfsg-2),
Copyright (c) 2003-2008 Fabrice Bellard
$ libvirtd --version
libvirtd (libvirt) 0.8.6
/etc/libvirt/qemu.conf
2012 Dec 14
1
CFS BWC related question
Hi,
Seems this question is not related with libvirt directly, but I still want to ping this list to see if someone can be help.
The OS in my desktop box is Ubuntu 12.10, the kernel is 3.5.1. I installed the cgroup utility package with:#apt-get install cgroup-bin, but after I installed these packages successfully, I can't find cpu_quota/cpu_period controller in the /sys/fs/cgroup/cpu folder.
2011 Feb 15
2
monitiring cpu usage via cgroup
Hi
I was asking about the fedora 14 kernel if it is good enough for cgroup
usage because
I am trying to set a cgroup under cpu subsytem ( /dev/cgroup/cpu/group1/
) that have /cpu.rt_runtime_us of 100000
while cpu.rt_period_us has a value of 1000000 i.e a ratio of 1/10 . still
when I run a task (endless loop) in that group
(cgexec -g cpu,cpuset:group1 ./test) it gets all the cpu core time
2014 Feb 08
1
Failed to terminate process X with SIGKILL: Device or resource busy
Hi,
I'm using libvirt/kvm with openstack. When vm has CPU stall, the instance
can't be destroyed. I have asked the question on openstack user mailing
list and received no answers in weeks.
Here is one example:
# virsh destroy instance-00000085
error: Failed to destroy domain instance-00000085
error: Failed to terminate process 61222 with SIGKILL: Device or
resource busy
2015 Jan 26
0
Re: questions around using numatune/numa/schedinfo
On 23.01.2015 19:46, Chris Friesen wrote:
> Hi,
>
> I'm running into some problems with libvirt and hoping someone can point
> me at some instructions or maybe even help me out.
>
>
> First, are there any requirements on qemu version in order to use the
> "numatune" and/or "cpu/numa/cell" elements? Or do they use cgroups and
> not the native
2011 Feb 16
0
schedinfo
libvirt schedinfo :
------------------
What is the meaning of the 'cap' parameter in the schedinfo virsh
command (what are the units and range of values ) and what is
the 'weigth' parameter ?
Zvi Dubitzky
Email:dubi at il.ibm.com
2009 Jan 22
0
virsh schedinfo after reboot
Hi,
How can I add ''schedinfo'' to the domU configuration?
These parameters are default after reboot.
--
Regards,
Piotr Jasiukajtis | estibi | SCA OS0072
http://estseg.blogspot.com
2014 Nov 01
0
quick question on schedinfo
Hey everyone,
Can anyone explain the scedinfo parameters? I am wondering if I can use
this, (along with host side niceness scheduler tweaks) to cause vCPUs to
dominate the total time of the CPUs they are pinned to.
Here are the sched info parameters:
Scheduler : posix
cpu_shares : 0
vcpu_period : 0
vcpu_quota : 0
emulator_period: 0
emulator_quota : 0
The documentation (
2016 Sep 07
2
how to limit cpu usage for specified processes
Hi,
Is there some tool or method in centos that can limit cpu usage to some percentage for specified processes that consume large cpu resource?
I found cpulimit which is only able to limit one process. what I want is one tool that can limit several same processes' cpu usage. Thanks!
Regards
andrew
2011 Mar 27
0
virsh sechedinfo with libvirt-0.8.8
I have fedora14 installed with standard libvirt-0.8.3. I can start VM
using .xml files and also run: virsh schedinfo. the cgroup CPU
controller is mounted and active . In fact I have the path to the Virtual
machine : /dev/cgroup/cpu/libvirt/qemu/<vm name >
Now I upgraded to libvirt-0.8.8 from a tar ball ( configure , make , make
install) . I rebooted , new libvirtd started . virsh
2017 Nov 02
0
Re: What global_quota option mean? What's its logic?
On Thu, Nov 02, 2017 at 03:03:56PM +0200, Volo M. wrote:
>Hi techs,
>
>Could you please explain or refer me to documentation where I could find a
>description of global_quota schedinfo option. Someone told me that it could
>mean a cpu limitation in percents like:
>global_quota : 25000 (does it mean cpu limit % set to 25 ?)
>
The _quota values are relative to the _period,
2010 Jul 29
0
virDomainSetSchedulerParameters() does not support KVM?
Hi,
I have one RHEL 5.5 Xen box and one RHEL 5.5 KVM box. In the Xen box, the
following command works well:
$ virsh schedinfo RHELu3T
Scheduler : credit
weight : 256
cap : 0
But in KVM box, it can not work:
$ virsh schedinfo RHEL5u3
Scheduler : Unknown
error: this function is not supported by the hypervisor:
virDomainGetSchedulerType
Is it because that the libvirt
2011 Mar 27
0
libvirt-users Digest, Vol 15, Issue 26
I resolved topic 1 please diregard ( libvirtd.conf : Authentication /
auth_tcp="none") .
Please answer topic 2 as ver 0.8.8 claims cpu controller (cgroups) is not
mounted while it is
thanks
Zvi Dubitzky
Email:dubi at il.ibm.com
libvirt-users-bounces at redhat.com wrote on 27/03/2011 18:00:05:
> From: libvirt-users-request at redhat.com
> To: libvirt-users at redhat.com
2014 Mar 11
0
Re: cgroup for VM - does it work properly?
On Thu 06 Mar 2014 20:16:45 CET, Martin Pavlásek wrote:
> On 06/03/14 10:35, Daniel P. Berrange wrote:
>> On Thu, Mar 06, 2014 at 12:32:28AM +0100, Martin Pavlásek wrote:
>>> Hi
>>>
>>> I tried to restrict usage of some running VM by cpu.shares (i.e. set to
>>> 10 from original 1024) on loaded system and it seem doesn't work as I
>>>