From 07d2d53792c0ced4d72f3ebcb014c9092d1c0594 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E8=B0=A2=E8=87=B4=E9=82=A6=20=28XIE=20Zhibang=29?= Date: Fri, 17 Jun 2022 18:24:37 +0800 Subject: [PATCH] virtual-guest: Decrease the swappiness MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit "It is based on the generally applicable throughput-performance profile, but also decreases the swappiness of virtual memory." Signed-off-by: 谢致邦 (XIE Zhibang) --- profiles/virtual-guest/tuned.conf | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/profiles/virtual-guest/tuned.conf b/profiles/virtual-guest/tuned.conf index 28b85c9..5e505ba 100644 --- a/profiles/virtual-guest/tuned.conf +++ b/profiles/virtual-guest/tuned.conf @@ -19,4 +19,4 @@ vm.dirty_ratio = 30 # Filesystem I/O is usually much more efficient than swapping, so try to keep # swapping low. It's usually safe to go even lower than this on systems with # server-grade storage. -vm.swappiness = 30 +vm.swappiness = 5