What global_quota option mean? What's its logic?

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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 to some description what below schedinfo options mean? Thanks.

[root@cpkvm ~]# virsh list

 Id    Name                           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 range mean?

[root@cpkvm ~]# 

[root@cpkvm ~]# virsh schedinfo 3 --set global_quota=25000

Scheduler      : posix

cpu_shares     : 154

vcpu_period    : 100000

vcpu_quota     : 12500

emulator_period: 100000

emulator_quota : -1

global_period  : 100000

global_quota   : 25000

iothread_period: 100000

iothread_quota : 25000

[root@cpkvm ~]#

_______________________________________________
libvirt-users mailing list
libvirt-users@xxxxxxxxxx
https://www.redhat.com/mailman/listinfo/libvirt-users

[Index of Archives]     [Virt Tools]     [Lib OS Info]     [Fedora Users]     [Fedora Desktop]     [Fedora SELinux]     [Yosemite News]     [KDE Users]

  Powered by Linux