Set guest-manager-multi-thread to true in default configuration file
This commit is contained in:
parent
ee769782c0
commit
66ac7db34a
@ -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
|
||||
|
||||
9
mom.spec
9
mom.spec
@ -5,7 +5,7 @@
|
||||
|
||||
Name: mom
|
||||
Version: 0.6.2
|
||||
Release: 2
|
||||
Release: 3
|
||||
Summary: Dynamically manage system resources on virtualization hosts
|
||||
|
||||
License: GPLv2
|
||||
@ -27,6 +27,8 @@ Requires: python3-libvirt
|
||||
Requires: python3-six
|
||||
Requires: procps
|
||||
|
||||
Patch1: 0001-fill-default-value-true-for-guest-manager-multi-thre.patch
|
||||
|
||||
|
||||
%description
|
||||
MOM is a policy-driven tool that can be used to manage overcommitment on KVM
|
||||
@ -42,7 +44,7 @@ MOM supports control of memory ballooning and KSM but the architecture is
|
||||
designed to accommodate new mechanisms such as cgroups.
|
||||
|
||||
%prep
|
||||
%setup -q -n mom-0.6.2
|
||||
%autosetup -p1 -n mom-0.6.2
|
||||
|
||||
%build
|
||||
%configure \
|
||||
@ -87,6 +89,9 @@ make check %{?_smp_mflags}
|
||||
%{python3_sitelib}/mom/
|
||||
|
||||
%changelog
|
||||
* Fri Mar 24 2023 wangdi <wangdi@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
|
||||
- Fix wrong python3 intepreter path
|
||||
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user