Magellan Linux

Contents of /trunk/kernel26-alx/patches-2.6.21-r14/0021-2.6.21-hz-no_default_250.patch

Parent Directory Parent Directory | Revision Log Revision Log


Revision 447 - (show annotations) (download)
Tue Jan 22 17:55:52 2008 UTC (16 years, 9 months ago) by niro
File size: 1729 byte(s)
-2.6.21-alx-r14 - fixed some natsemi errors on wys terminals

1 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 | 16 ++++++++--------
7 1 file changed, 8 insertions(+), 8 deletions(-)
8
9 Index: linux-2.6.21-ck2/kernel/Kconfig.hz
10 ===================================================================
11 --- linux-2.6.21-ck2.orig/kernel/Kconfig.hz 2007-05-14 19:49:57.000000000 +1000
12 +++ linux-2.6.21-ck2/kernel/Kconfig.hz 2007-05-14 19:49:57.000000000 +1000
13 @@ -13,8 +13,7 @@ choice
14 contention and cacheline bounces as a result of timer interrupts.
15 Note that the timer interrupt occurs on each processor in an SMP
16 environment leading to NR_CPUS * HZ number of timer interrupts
17 - per second.
18 -
19 + per second.Laptops may also show improved battery life.
20
21 config HZ_100
22 bool "100 HZ"
23 @@ -23,13 +22,14 @@ choice
24 with lots of processors that may show reduced performance if
25 too many timer interrupts are occurring.
26
27 - config HZ_250
28 + config HZ_250_NODEFAULT
29 bool "250 HZ"
30 help
31 - 250 Hz is a good compromise choice allowing server performance
32 - while also showing good interactive responsiveness even
33 - on SMP and NUMA systems. If you are going to be using NTSC video
34 - or multimedia, selected 300Hz instead.
35 + 250 HZ is a lousy compromise choice allowing server interactivity
36 + while also showing desktop throughput and no extra power saving on
37 + laptops. Good for when you can't make up your mind.
38 +
39 + Recommend 100 or 1000 instead.
40
41 config HZ_300
42 bool "300 HZ"
43 @@ -50,7 +50,7 @@ endchoice
44 config HZ
45 int
46 default 100 if HZ_100
47 - default 250 if HZ_250
48 + default 250 if HZ_250_NODEFAULT
49 default 300 if HZ_300
50 default 1000 if HZ_1000
51