Displaying 20 results from an estimated 26 matches for "schedinfo".
2015 Jan 23
3
questions around using numatune/numa/schedinfo
...nts 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 initially hadn't
had cgroups mounted and running "virsh schedinfo <domain>" gave an error. So I
mounted "/sys/fs/cgroup/memory" and "/sys/fs/cgroup/cpu" and restarted libvirtd
but running "virsh schedinfo <domain>" still gives an error:
root@compute-1:~# virsh schedinfo 8
Scheduler : Unknown
error: Requested...
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 to describe me or refer...
2015 Jan 26
0
Re: questions around using numatune/numa/schedinfo
...troduced in qemu-2.1.0. As of libvirt, you'll need
libvirt-1.2.7 at least. Although the newer the better - there were
couple of fixes recently.
>
>
> Second, are there any instructions on how to set up cgroups? I
> initially hadn't had cgroups mounted and running "virsh schedinfo
> <domain>" gave an error. So I mounted "/sys/fs/cgroup/memory" and
> "/sys/fs/cgroup/cpu" and restarted libvirtd but running "virsh schedinfo
> <domain>" still gives an error:
>
> root@compute-1:~# virsh schedinfo 8
> Scheduler...
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
...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 (
http://libvirt.org/sources/virshcmdref/html/sect-schedinfo.html) is not yet
filled for this.
If anyone can explain these parameters, or point me to relevant code it
would be helpful!
Thanks
Yasser
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
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, both in milliseconds and refer
to the cumulative CPU time available to all the processes/threads...
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 is working ok
(I ca...
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
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 APIs virDomainGetSchedulerP...
2014 Mar 05
1
Re: cgroup for VM - does it work properly?
...oaded 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 (unsupported), or using the libvirt API
> (such as via virsh schedinfo)?
>
Via mounted virtualfs -
/sys/fs/cgroup/cpu/machine/<name-of-VM>/{emulator,vcpu0}/cpu.shares
--
--
Martin Pavlásek <mpavlase@redhat.com>
OpenStack QA Associate/Red Hat Czech/BRQ
irc: mpavlase
2011 Mar 27
0
libvirt-users Digest, Vol 15, Issue 26
...bvirt-0.8.8
> Message-ID:
> <OF06ABB03A.CFC8CAEA-ONC2257860.00546582-C2257860.00556403 at il.ibm.com>
> Content-Type: text/plain; charset="US-ASCII"
>
> 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...
2014 Mar 11
0
Re: cgroup for VM - does it work properly?
...t; will get twice the CPU scheduler time of the former. If the latter
>> VM is completely idle though, the former VM will not be capped in any
>> way.
>>
>> If you want absolute caps then you need to use period/quota settings.
>> Also you want todo this via the virsh schedinfo command, not accessing
>> cgroups directly.
>>
>> Regards,
>> Daniel
> Thanks Daniel for reply, nice example!
> In my case I've got quite weird results
>
> guest: dd if=/dev/zero of=/dev/null for simulating heavy load
> host: dd if=... same as guest (to...
2011 Jan 23
2
Cgroup
...", "/dev/net/tun",
]
/etc/cgconfig.conf
mount {
cpu = /dev/cgroup/cpu;
cpuacct = /dev/cgroup/cpuacct;
devices = /dev/cgroup/devices;
# memory = /dev/cgroup/memory;
blkio = /dev/cgroup/blkio;
}
When I'm running virsh, and want to change cpu shares I receive an error
virsh # schedinfo --set cpu.shares=2048 test
Scheduler : posix
error: internal error cannot find cgroup for domain test
Really I didn't have any group test in
$ ls /dev/cgroup/cpu/sysdefault/libvirt/qemu/
cgroup.clone_children cgroup.event_control cgroup.procs cpu.shares
notify_on_release tasks
It happ...
2011 Feb 09
0
Question about putting vm in blkio cgroup
Hello,
I have another question about cgroup in libvirt
I create a script that put vm in cgroup for limiting blkio
sudo cgcreate -f 750 -d 750 -a $user:$group -g blkio:$alias
pid=`pgrep $alias`
echo $pid > /dev/cgroup/blkio/$alias/tasks
$virsh schedinfo --set cpu_shares=$cpu $alias
echo "8:0 $disk_io" > /dev/cgroup/blkio/$alias/blkio.throttle.read_bps_device
echo "8:0 $disk_io" > /dev/cgroup/blkio/$alias/blkio.throttle.write_bps_device
For example I write:
8:0 10485760 to /dev/cgroup/blkio/$alias/blkio.throttle.*_bps_dev...
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 any other significant process running on
the host .
Each VM runs the same process (2 threads endless loop ).
Still...
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.
2014 Mar 05
0
Re: cgroup for VM - does it work properly?
...rom 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 (unsupported), or using the libvirt API
(such as via virsh schedinfo)?
--
Eric Blake eblake redhat com +1-919-301-3266
Libvirt virtualization library http://libvirt.org
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