[ckpatch][15/29] hz-no_default_250.patch

From: Con Kolivas
Date: Sun Jun 18 2006 - 03:32:33 EST


Make 250 HZ a value that is not selected by default and give some better
recommendations in help.

Signed-off-by: Con Kolivas <kernel@xxxxxxxxxxx>

kernel/Kconfig.hz | 15 +++++++++------
1 files changed, 9 insertions(+), 6 deletions(-)

Index: linux-ck-dev/kernel/Kconfig.hz
===================================================================
--- linux-ck-dev.orig/kernel/Kconfig.hz 2006-06-18 15:23:58.000000000 +1000
+++ linux-ck-dev/kernel/Kconfig.hz 2006-06-18 15:24:28.000000000 +1000
@@ -21,14 +21,17 @@ choice
help
100 HZ is a typical choice for servers, SMP and NUMA systems
with lots of processors that may show reduced performance if
- too many timer interrupts are occurring.
+ too many timer interrupts are occurring. Laptops may also show
+ improved battery life.

- config HZ_250
+ config HZ_250_NODEFAULT
bool "250 HZ"
help
- 250 HZ is a good compromise choice allowing server performance
- while also showing good interactive responsiveness even
- on SMP and NUMA systems.
+ 250 HZ is a lousy compromise choice allowing server interactivity
+ while also showing desktop throughput and no extra power saving on
+ laptops. Good for when you can't make up your mind.
+
+ Recommend 100 or 1000 instead.

config HZ_1000
bool "1000 HZ"
@@ -41,6 +44,6 @@ endchoice
config HZ
int
default 100 if HZ_100
- default 250 if HZ_250
+ default 250 if HZ_250_NODEFAULT
default 1000 if HZ_1000


--
-ck
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/