Displaying 20 results from an estimated 5000 matches similar to: "cgroup for VM - does it work properly?"
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
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
>>>
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
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
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 Mar 05
0
Re: cgroup for VM - does it work properly?
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 changing the cgroup settings? Are you trying to
directly modify cgroup files
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 Oct 24
1
Hard limit for the cpu usage of a VM
Hi ,
I was previously using xen and currently moved to KVM. I am using libvirt to manage these VMs. In den's credit scheduler , I had the ability to set a cap on the cpu usage for a VM. But I was not able to find a similar substitute in KVM. I find that we can use cgroups to provide shares for VM but that will be more like weight based and it doesn't set a hard cap for that VM. I tried
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
2013 Sep 03
2
No valid cgroup for machine...
Hello!
How do i get pass this error?
offlinehacker:~/ $ virsh --debug 0 -c lxc:/// create o1.xml
create: file(optdata): o1.xml
error: Failed to create domain from o1.xml
error: internal error: No valid cgroup for machine c1
My cgroups seem to be mounted:
cgroup on /sys/fs/cgroup/systemd type cgroup
2017 Oct 18
2
Can we disable write to /sys/fs/cgroup tree inside container ?
Hi all
Each lxc container on node have mounted tmpfs for cgroups tree:
[root-inside-lxc@tst1 ~]# mount | grep cgroups
cgroup on /sys/fs/cgroup/cpu,cpuacct type cgroup
(rw,nosuid,nodev,noexec,relatime,cpuacct,cpu)
cgroup on /sys/fs/cgroup/cpuset type cgroup
(rw,nosuid,nodev,noexec,relatime,cpuset)
cgroup on /sys/fs/cgroup/memory type cgroup
(rw,nosuid,nodev,noexec,relatime,memory)
cgroup on
2012 Aug 17
1
getCPUStats of a domain by a non-root user - libvirtError: Requested operation is not valid: cgroup CPUACCT controller is not mounted
Hello,
I'm trying to use libvirt as a non-root user to obtain statistics on the
CPU usage by VMs using the Python API. I'm performing basically the
following steps:
import libvirt
conn = libvirt.openReadOnly(None)
dom = conn.lookupByUUIDString('268e38ea-1bc7-41e4-c19e-8eff682e58e4')
dom.getCPUStats(True, 0)
However, they result in the following error:
libvir: QEMU Driver
2013 Jun 07
2
Re: cgroup error starting domains
On Thu, Jun 06, 2013 at 06:26:23PM +0200, Matteo Bernardini wrote:
> On 05/22/2013 11:01 AM, Matteo Bernardini wrote:
> > Hi,
> >
> > I've got a small problem using libvirt-1.0.5.1 (with the latest patch in
> > the v1.0.5-maint branch on git added).
> > I'm using slackware64-14.0 but the situation is exactly the same described
> > on a debian bug
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
2011 Jan 30
2
cgroup support
Hi,
I am setting up a system that enforces cgroup restrictions when a user logs in via SSH, and for all the services that are run by a particular user.
I am also running dovecot to give users IMAP/POP access to their mailboxes. However, to be part of a cgroup, PIDs must be explicitly added to the cgroup tasks file. So for now, all my processes are run with resource restrictions, except for
2013 May 22
2
cgroup error starting domains
Hi,
I've got a small problem using libvirt-1.0.5.1 (with the latest patch in
the v1.0.5-maint branch on git added).
I'm using slackware64-14.0 but the situation is exactly the same described
on a debian bug
http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=707201
When trying to start a domain I got
error: Failed to start domain debian-wheezy-xfce
error: Unable to initialize /machine
2013 Jun 07
2
Re: cgroup error starting domains
On Fri, Jun 07, 2013 at 01:07:01PM +0200, Matteo Bernardini wrote:
> Thanks Daniel for helping with this :)
>
> # cat /proc/mounts
[snip]
> cgroup /sys/fs/cgroup cgroup rw,relatime,bfqio,hugetlb,perf_event,blkio,net_cls,freezer,devices,memory,cpuacct,cpu,cpuset,clone_children
Ok so here you've mounted all the cgroups controllers at the same
place. This is really strongly
2008 Oct 21
3
[Question] power management related with cgroup based resource management
Hi, all
These days, I am interested in green IT area for low power OS
So, I have a question about it.
Is there any good idea or comments about power management related with
cgroup based resource management?
I have no idea about that, but it seems to be possible to find a good concept.
And I hope so
Is it some strange question? ^^
Regards,
Dong-Jae Kang
2020 Jan 18
3
USB-hotplugging fails with "failed to load cgroup BPF prog: Operation not permitted" on cgroups v2
Hi all,
I've disabled cgroups v1 on my system with the kernel boot option
"systemd.unified_cgroup_hierarchy=1". Since doing so, USB hotplugging
fails to work, seemingly due to a permissions problem with BPF. Please
note that the technique I'm going to describe worked just fine for
hotplugging USB devices to running domains until this change.
Attaching / detaching USB devices
2012 Dec 13
1
RHEL6 cgroup error after a few days of uptime
I have a RHEL6 that hosts many kvm virtual machines. It has been
working fine for a couple years. I apply errata updates about once a
week.
In the last couple weeks, I've ran into a bug where the virtual
machines start failing to start with a cgroup error message. If I
reboot the host (very disruptive) then things start working normaly
for a few days.
Can I configure qemu/libvirt not to use