Magellan Linux

Annotation of /trunk/kernel26-alx/patches-2.6.17-r7/0015-2.6.17-hz-no_default_250.patch

Parent Directory Parent Directory | Revision Log Revision Log


Revision 199 - (hide annotations) (download)
Fri May 18 11:04:36 2007 UTC (17 years, 5 months ago) by niro
File size: 1440 byte(s)
-import

1 niro 199 Make 250 HZ a value that is not selected by default and give some better
2     recommendations in help.
3    
4     Signed-off-by: Con Kolivas <kernel@kolivas.org>
5    
6     kernel/Kconfig.hz | 15 +++++++++------
7     1 files changed, 9 insertions(+), 6 deletions(-)
8    
9     Index: linux-ck-dev/kernel/Kconfig.hz
10     ===================================================================
11     --- linux-ck-dev.orig/kernel/Kconfig.hz 2006-06-18 15:23:58.000000000 +1000
12     +++ linux-ck-dev/kernel/Kconfig.hz 2006-06-18 15:24:28.000000000 +1000
13     @@ -21,14 +21,17 @@ choice
14     help
15     100 HZ is a typical choice for servers, SMP and NUMA systems
16     with lots of processors that may show reduced performance if
17     - too many timer interrupts are occurring.
18     + too many timer interrupts are occurring. Laptops may also show
19     + improved battery life.
20    
21     - config HZ_250
22     + config HZ_250_NODEFAULT
23     bool "250 HZ"
24     help
25     - 250 HZ is a good compromise choice allowing server performance
26     - while also showing good interactive responsiveness even
27     - on SMP and NUMA systems.
28     + 250 HZ is a lousy compromise choice allowing server interactivity
29     + while also showing desktop throughput and no extra power saving on
30     + laptops. Good for when you can't make up your mind.
31     +
32     + Recommend 100 or 1000 instead.
33    
34     config HZ_1000
35     bool "1000 HZ"
36     @@ -41,6 +44,6 @@ endchoice
37     config HZ
38     int
39     default 100 if HZ_100
40     - default 250 if HZ_250
41     + default 250 if HZ_250_NODEFAULT
42     default 1000 if HZ_1000
43