0b15456
From 4a2b6aa7b2a873be78c27d2abe010cd7e73d9640 Mon Sep 17 00:00:00 2001
0b15456
From: =?UTF-8?q?Dan=20Hor=C3=A1k?= <dan@danny.cz>
0b15456
Date: Tue, 22 Jun 2010 13:33:36 +0200
0b15456
Subject: [PATCH 40/40] cpuplugd: set cpu_min to 1 by default
0b15456
0b15456
Description: cpuplugd: set cpu_min to 1 by default.
0b15456
Symptom:     With a cpu_min default value of 2, the "cpu ping pong" effect
0b15456
		may still be visible with low system load, i.e. expensive cpu
0b15456
		signaling may occur if the workload is spread on 2 under-worked
0b15456
		cpus.
0b15456
Problem:     The default value for cpu_min is 2.
0b15456
Solution:    Set the default value of cpu_min to 1.
0b15456
---
0b15456
 etc/sysconfig/cpuplugd |    6 ++----
0b15456
 1 files changed, 2 insertions(+), 4 deletions(-)
0b15456
0b15456
diff --git a/etc/sysconfig/cpuplugd b/etc/sysconfig/cpuplugd
0b15456
index c807232..efafa20 100644
0b15456
--- a/etc/sysconfig/cpuplugd
0b15456
+++ b/etc/sysconfig/cpuplugd
0b15456
@@ -6,13 +6,11 @@
0b15456
 # It does not contain shell environment variables.
0b15456
 
0b15456
 ## Type:	integer
0b15456
-## Default:	2
0b15456
+## Default:	1
0b15456
 #
0b15456
 # The minimum number of cpus. 
0b15456
-# This means in this example, that every time at least two cpus 
0b15456
-# will be available
0b15456
 #
0b15456
-CPU_MIN="2"
0b15456
+CPU_MIN="1"
0b15456
 
0b15456
 ## Type:	integer
0b15456
 ## Default:	2
0b15456
-- 
0b15456
1.6.6.1
0b15456