Displaying 2 results from an estimated 2 matches for "global_period".
Did you mean:
glob_period
2017 Nov 02
2
What global_quota option mean? What's its logic?
...State
----------------------------------------------------
3 kvmtestvm running
[root@cpkvm ~]# virsh schedinfo 3
Scheduler : posix
cpu_shares : 154
vcpu_period : 100000
vcpu_quota : -1
emulator_period: 100000
emulator_quota : -1
global_period : 100000
global_quota : -1
iothread_period: 100000
iothread_quota : -1
[root@cpkvm ~]# virsh schedinfo 3 --set global_quota=25
Scheduler : posix
error: invalid argument: value of 'global_quota' is out of range [1000,
18446744073709551]
[1000, 18446744073709551] - what this r...
2017 Nov 02
0
Re: What global_quota option mean? What's its logic?
...lues are relative to the _period, both in milliseconds and refer
to the cumulative CPU time available to all the processes/threads in a group.
See the documentation in the kernel:
https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git/tree/Documentation/scheduler/sched-bwc.txt
So with global_period being set to 100000, a value of 25000 would mean
that all the threads of the virtual machine would be limited to use at
most 25 % of 1 CPU.
>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 descr...