Displaying 20 results from an estimated 300 matches similar to: "monitiring cpu usage via cgroup"
2011 Feb 13
1
Linux version that supports cgroup
Hi
Does Fedora release 14 (Laughlin) having Linux kernel
2.6.35.6-45.fc14.x86_64 support cgroup
at the kernel ?
thanks
Zvi Dubitzky
Email:dubi at il.ibm.com
2011 Apr 13
2
virsh shutdown
Hi
For some reason recent libvirt code (0.8.3 and even before) the 'virsh
shutdown <domain> ' is not effective .
It issues an ok message but the domians remains in a runnning state .
Only th e destroy works fine.
Any idea ?
thanks
Zvi Dubitzky
Email:dubi at il.ibm.com
2014 Jun 13
1
Re: libvirt issue while deploying a VM
Hi Martin
Here is some more info in the libvirt/qemu/instance...log file . Does it
help in resolving the issue of :
error : qemuMonitorIO:614 : internal>error End of file from monitor
In the libvirtd.log file I sent you could see clearly that the debug
option is active and this is the most detailed info available (or some
better option than log_leve=1 exists ?)
Thx
Zvi Dubitzky
2014 Jun 12
2
libvirt issue while deploying a VM
Using libvirt under openstack I encounter a problem when launching a VM
with multiple partitions (2 G image) ,
While a single partition can be launched successfully . The launch is
done with Openstack.
We are using in libvirtd.conf log_level=1 and
log_outputs="1:file:/var/log/libvirt/libvirtd.log"
we can see that in /var/log/libvirt/libvirtd.log appear the following
error
2015 Sep 24
1
Guest cpuacct counters and others location
Hi,
My piece of code ( C langage) uses cgroups to retrieve counters related to cpu and memory usage related to KVM guests hosted by the host where this code runs.
I noticed that depending on the O.S. running on the host , these counters are not found at the same location :
CentOS 7 :
ls /sys/fs/cgroup/cpuacct/machine.slice/machine-qemu\\x2drhel6.0.scope/vcpu0
cgroup.clone_children
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
2015 Oct 29
2
How to retrieve legacy cgroups location ?
Hi,
As told in "Control Groups Resource Management" libvirt page :
Legacy cgroups layout
Prior to libvirt 1.0.5, the cgroups layout created by libvirt was different from that described above, and did not allow for administrator customization. Libvirt used a fixed, 3-level hierarchy libvirt/{qemu,lxc}/$VMNAME which was rooted at the point in the hierarchy where libvirtd itself was
2011 Mar 16
1
using more than 1 core by a virtual machine
My virtual machine xml file has <vcpu>2</vcpu> clause while the host has
2 physical cpus (cores).
Is this enough to cause a VM running 2 endless loop threads to use the 2
cores ?
In my case the VM running reports (cat /roc/cpuinfo) that it has 2 vcpus
but it uses only 1 core (at a time) because
the 'top' at the host shows 100%cpu (out of total 200%) used by the
2011 Apr 25
1
virt-image issue
Hi
Does anybody work with the virt-image utility.
- I do not see where/how one specifies the pre-defned image or the CD
iso image to produce the image from
- what is the .xml file requested for ? I guess it is the output xml
file
I just used the command with an existing .xml file (thought the utility
will modify it according to the specified flags)
but got the error message :
"ERROR
2017 Feb 06
2
Real time threads don't work in libvirt containers under CentOS 7.3
We've been using libvirt based containers under CentOS 7 and everything
has been working fine. One application we run in our containers is ctdb,
which uses SCHED_FIFO (real time) threads. This has been working without
problems until our recent upgrade to CentOS 7.3. For some reason, ctdb
is no longer able to create real time threads, and I've tried a simple
program myself that
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
2011 Mar 26
0
libvirt-users Digest, Vol 15, Issue 25
Sorry, let me rephrase the question again:
I need define a user /password for sasl but want the authentication at
runtime
be automatic - no explicit promting the user while accessing a tcp socket
with some applications that need authentication (e.g libvirt)
I try : saslpasswd2 -c -p -a libvirt <user>
and it hangs (if i now press Enter it says : "invalid parameter
2011 Apr 24
0
vvirsh memtune
Hi
Does anybody use the 'virsh memtune' command and can he say what
combination
of libvirt version and libcgroup does he use
thanks
Zvi Dubitzky
Email:dubi at il.ibm.com
2023 Aug 10
4
RT/Linux SCHED_RR/_FIXED to combat latency?
Good morning!
We're experiencing rather very bad latency spikes on busy Linux
systems, for example if one machine is the jumphost (ssh -J) for a few
hundred connections, while at the same time handles CPU intensive
tasks.
Would RT/Linux SCHED_FIXED or SCHED_RR be of help in such a case, e.g.
put all ssh processes into the SCHED_FIXED scheduling class, with a
priority higher than the
2016 Oct 28
1
How do you set real time bandwidth for a container?
When I create a VM using libvirt, the VM comes up the path
/sys/fs/cgroup/cpu/cpu.rt_runtime_us set to something like 1000000. When
I create a container however, the path
/sys/fs/cgroup/cpu/cpu.rt_runtime_us is 0. This prevents my containers
from being able to run any real time applications. I have to explicitly
echo a value into this field in order to give the container some real
time
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
2023 Aug 10
1
RT/Linux SCHED_RR/_FIXED to combat latency?
On Thu, 10 Aug 2023, Cedric Blancher wrote:
>We're experiencing rather very bad latency spikes on busy Linux
>systems, for example if one machine is the jumphost (ssh -J) for a few
>hundred connections, while at the same time handles CPU intensive
>tasks.
>
>Would RT/Linux SCHED_FIXED or SCHED_RR be of help in such a case, e.g.
Did you already check the old and tried method
2010 Sep 08
0
kqemu
Hi
we have a Debian 64 bit system with qemu 0.9.1-10 ( uname -a =
2.6.26-2-amd64) installed . kvm is included and loaded to memory .
Still when we create a VM we sometimes get the following error message:
libvir: QEMU error : internal error unable to start guest: You do not have
enough space in '/dev/shm' for the 499 MB of QEMU virtual RAM.
To have more space available provided you
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
2011 Mar 14
0
cgroups limitations on Virtual machines
I have 2 VMs launched by : 'virsh create <xml file>' . Both VMs get 2
vcpus (out of total 2 cores of the host)
I then try bias their cpu cycle quota by manipulating the cpu_shares (
virsh schedinfo --set cpu_shares=<value> vm1/2 ) so that VM1 will get 3
times the cpu cycles VM2 gets.
(e.g : VM1 cpu_shares = 150 . VM2 cpu_shares = 50) .
There are no other VMs defined or