[libvirt] [PATCH v6 0/7] Global domain cpu.cfs_period_us and cpu.cfs_quota_us setup

Alexander Burluka aburluka at virtuozzo.com
Thu Jan 28 14:40:44 UTC 2016


Ping

On 01/27/2016 07:17 PM, Alexander Burluka wrote:
> This patchset implements an ability to specify values for domain top level
> cpu.cfs_period_us and cpu.cfs_quota_us cgroups. These parameters are opt-in
> and named "global_period" and "global_quota".
>
> Introduction of these settings gives management applications further
> choice of controlling CPU usage.
>
> Changes in v2: add XML validation test
> Changes in v3: remove unneccessary cgroup copying
> Changes in v4: fix little rebase error
> Changes in v5: rebase to version 1.3.1
> Changes in v6: remove unnecessary check
>
> Alexander Burluka (7):
>    Add global period definitions
>    Add global quota parameter necessary definitions
>    Add error checking on global quota and period
>    Add global_period and global_quota XML validation test
>    Rename qemuSetupCgroupVcpuBW to qemuSetupBandwidthCgroup
>    Implement qemuSetupGlobalCpuCgroup
>    Implement handling of per-domain bandwidth settings
>
>   docs/schemas/domaincommon.rng                   |  10 +++
>   include/libvirt/libvirt-domain.h                |  32 ++++++++
>   src/conf/domain_conf.c                          |  37 +++++++++
>   src/conf/domain_conf.h                          |   2 +
>   src/qemu/qemu_cgroup.c                          |  68 ++++++++++++++--
>   src/qemu/qemu_cgroup.h                          |   7 +-
>   src/qemu/qemu_command.c                         |   3 +-
>   src/qemu/qemu_driver.c                          | 102 ++++++++++++++++++++++--
>   src/qemu/qemu_process.c                         |   4 +
>   tests/qemuxml2argvdata/qemuxml2argv-cputune.xml |   2 +
>   10 files changed, 251 insertions(+), 16 deletions(-)
>

-- 
Regards,
Alexander Burluka




More information about the libvir-list mailing list