!17 Set 'guest-manager-multi-thread' to 'true' in default configuration file
From: @jxy_git Reviewed-by: @wm-wm-wm Signed-off-by: @wm-wm-wm
This commit is contained in:
commit
42044602c9
@ -0,0 +1,26 @@
|
|||||||
|
From 48f8987596642b9a8adf17b307ff658b35c3f779 Mon Sep 17 00:00:00 2001
|
||||||
|
From: wangdi <wangdi@kylinos.cn>
|
||||||
|
Date: Fri, 24 Mar 2023 16:36:54 +0800
|
||||||
|
Subject: [PATCH] fill default value true for guest-manager-multi-thread in
|
||||||
|
momd.conf
|
||||||
|
|
||||||
|
---
|
||||||
|
doc/mom-balloon+ksm.conf | 2 +-
|
||||||
|
1 file changed, 1 insertion(+), 1 deletion(-)
|
||||||
|
|
||||||
|
diff --git a/doc/mom-balloon+ksm.conf b/doc/mom-balloon+ksm.conf
|
||||||
|
index 4456da7..23d54eb 100644
|
||||||
|
--- a/doc/mom-balloon+ksm.conf
|
||||||
|
+++ b/doc/mom-balloon+ksm.conf
|
||||||
|
@@ -61,7 +61,7 @@ policy-dir:
|
||||||
|
# advantage of those guarantees, and do the monitoring using a single thread.
|
||||||
|
# If set to false, disable the current behaviour and configure MOM to monitor
|
||||||
|
# all the VMs using only one thread.
|
||||||
|
-guest-manager-multi-thread:
|
||||||
|
+guest-manager-multi-thread: true
|
||||||
|
|
||||||
|
[logging]
|
||||||
|
# Set the destination for program log messages. This can be either 'stdio' or
|
||||||
|
--
|
||||||
|
2.39.1
|
||||||
|
|
||||||
12
mom.spec
12
mom.spec
@ -5,16 +5,16 @@
|
|||||||
|
|
||||||
Name: mom
|
Name: mom
|
||||||
Version: 0.6.2
|
Version: 0.6.2
|
||||||
Release: 2
|
Release: 3
|
||||||
Summary: Dynamically manage system resources on virtualization hosts
|
Summary: Dynamically manage system resources on virtualization hosts
|
||||||
|
|
||||||
License: GPLv2
|
License: GPLv2
|
||||||
URL: https://www.ovirt.org
|
URL: https://www.ovirt.org
|
||||||
Source: https://resources.ovirt.org/pub/src/mom/mom-0.6.2.tar.gz
|
Source: https://resources.ovirt.org/pub/src/mom/mom-0.6.2.tar.gz
|
||||||
|
Patch1: 0001-fill-default-value-true-for-guest-manager-multi-thre.patch
|
||||||
BuildArch: noarch
|
BuildArch: noarch
|
||||||
|
|
||||||
BuildRequires: python3-devel
|
BuildRequires: python3-devel
|
||||||
BuildRequires: python3-six
|
BuildRequires: python3-six
|
||||||
|
|
||||||
Requires(post): systemd
|
Requires(post): systemd
|
||||||
Requires(preun): systemd
|
Requires(preun): systemd
|
||||||
Requires(postun): systemd
|
Requires(postun): systemd
|
||||||
@ -27,7 +27,6 @@ Requires: python3-libvirt
|
|||||||
Requires: python3-six
|
Requires: python3-six
|
||||||
Requires: procps
|
Requires: procps
|
||||||
|
|
||||||
|
|
||||||
%description
|
%description
|
||||||
MOM is a policy-driven tool that can be used to manage overcommitment on KVM
|
MOM is a policy-driven tool that can be used to manage overcommitment on KVM
|
||||||
hosts. Using libvirt, MOM keeps track of active virtual machines on a host. At
|
hosts. Using libvirt, MOM keeps track of active virtual machines on a host. At
|
||||||
@ -42,7 +41,7 @@ MOM supports control of memory ballooning and KSM but the architecture is
|
|||||||
designed to accommodate new mechanisms such as cgroups.
|
designed to accommodate new mechanisms such as cgroups.
|
||||||
|
|
||||||
%prep
|
%prep
|
||||||
%setup -q -n mom-0.6.2
|
%autosetup -p1 -n mom-%{version}
|
||||||
|
|
||||||
%build
|
%build
|
||||||
%configure \
|
%configure \
|
||||||
@ -87,6 +86,9 @@ make check %{?_smp_mflags}
|
|||||||
%{python3_sitelib}/mom/
|
%{python3_sitelib}/mom/
|
||||||
|
|
||||||
%changelog
|
%changelog
|
||||||
|
* Wed May 24 2023 jiangxinyu <jiangxinyu@kylinos.cn> - 0.6.2-3
|
||||||
|
- Set 'guest-manager-multi-thread' to 'true' in default configuration file
|
||||||
|
|
||||||
* Mon Mar 13 2023 wangdi <wangdi@kylinos.cn> - 0.6.2-2
|
* Mon Mar 13 2023 wangdi <wangdi@kylinos.cn> - 0.6.2-2
|
||||||
- Fix wrong python3 intepreter path
|
- Fix wrong python3 intepreter path
|
||||||
|
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user