1 |
Author: dsd |
2 |
Date: 2008-11-19 11:12:26 +0000 (Wed, 19 Nov 2008) |
3 |
New Revision: 1379 |
4 |
|
5 |
Added: |
6 |
genpatches-2.6/trunk/2.6.26/1800_sched-disable-hrtick.patch |
7 |
Modified: |
8 |
genpatches-2.6/trunk/2.6.26/0000_README |
9 |
Log: |
10 |
Disable high-resolution scheduler ticks to avoid performance regression, thanks to Kerin Millar in bug #247453 |
11 |
|
12 |
Modified: genpatches-2.6/trunk/2.6.26/0000_README |
13 |
=================================================================== |
14 |
--- genpatches-2.6/trunk/2.6.26/0000_README 2008-11-19 11:07:39 UTC (rev 1378) |
15 |
+++ genpatches-2.6/trunk/2.6.26/0000_README 2008-11-19 11:12:26 UTC (rev 1379) |
16 |
@@ -67,6 +67,10 @@ |
17 |
From: http://www.kernel.org |
18 |
Desc: Adds missing capability checks in drivers/net/wan/sbni.c -> sbni_ioctl() |
19 |
|
20 |
+Patch: 1800_sched-disable-hrtick.patch |
21 |
+From: http://bugs.gentoo.org/247453 |
22 |
+Desc: Disable high-resolution scheduler ticks to avoid performance regression |
23 |
+ |
24 |
Patch: 1900_UTC-timestamp-option.patch |
25 |
From: http://bugs.gentoo.org/233307 |
26 |
Desc: Fix to add UTC timestamp option |
27 |
|
28 |
Added: genpatches-2.6/trunk/2.6.26/1800_sched-disable-hrtick.patch |
29 |
=================================================================== |
30 |
--- genpatches-2.6/trunk/2.6.26/1800_sched-disable-hrtick.patch (rev 0) |
31 |
+++ genpatches-2.6/trunk/2.6.26/1800_sched-disable-hrtick.patch 2008-11-19 11:12:26 UTC (rev 1379) |
32 |
@@ -0,0 +1,32 @@ |
33 |
+From: Ingo Molnar <mingo@××××.hu> |
34 |
+Date: Mon, 20 Oct 2008 12:27:43 +0000 (+0200) |
35 |
+Subject: sched: disable the hrtick for now |
36 |
+X-Git-Tag: v2.6.28-rc1~43^2 |
37 |
+X-Git-Url: http://git.kernel.org/?p=linux%2Fkernel%2Fgit%2Ftorvalds%2Flinux-2.6.git;a=commitdiff_plain;h=0c4b83da58ec2e96ce9c44c211d6eac5f9dae478 |
38 |
+ |
39 |
+sched: disable the hrtick for now |
40 |
+ |
41 |
+David Miller reported that hrtick update overhead has tripled the |
42 |
+wakeup overhead on Sparc64. |
43 |
+ |
44 |
+That is too much - disable the HRTICK feature for now by default, |
45 |
+until a faster implementation is found. |
46 |
+ |
47 |
+Reported-by: David Miller <davem@×××××××××.net> |
48 |
+Acked-by: Peter Zijlstra <peterz@×××××××××.org> |
49 |
+Signed-off-by: Ingo Molnar <mingo@××××.hu> |
50 |
+--- |
51 |
+ |
52 |
+diff --git a/kernel/sched_features.h b/kernel/sched_features.h |
53 |
+index 7c9e8f4..fda0162 100644 |
54 |
+--- a/kernel/sched_features.h |
55 |
++++ b/kernel/sched_features.h |
56 |
+@@ -5,7 +5,7 @@ SCHED_FEAT(START_DEBIT, 1) |
57 |
+ SCHED_FEAT(AFFINE_WAKEUPS, 1) |
58 |
+ SCHED_FEAT(CACHE_HOT_BUDDY, 1) |
59 |
+ SCHED_FEAT(SYNC_WAKEUPS, 1) |
60 |
+-SCHED_FEAT(HRTICK, 1) |
61 |
++SCHED_FEAT(HRTICK, 0) |
62 |
+ SCHED_FEAT(DOUBLE_TICK, 0) |
63 |
+ SCHED_FEAT(ASYM_GRAN, 1) |
64 |
+ SCHED_FEAT(LB_BIAS, 1) |