summaryrefslogtreecommitdiffstats
path: root/kernel
diff options
context:
space:
mode:
authorLinus Torvalds <torvalds@linux-foundation.org>2010-09-13 14:34:27 -0700
committerLinus Torvalds <torvalds@linux-foundation.org>2010-09-13 14:34:27 -0700
commitbfa88ea7ee9e6b4fd673e45a8cc0a8e0b7ef4761 (patch)
tree79e0ed272e8261e6859cb066c3e3a34fe345f329 /kernel
parent1d91686a475381443a5e00ff3a6ab1ee61d6af28 (diff)
parent0bf377bbb0bea6130f35613491887cc622e42a8b (diff)
downloadop-kernel-dev-bfa88ea7ee9e6b4fd673e45a8cc0a8e0b7ef4761.zip
op-kernel-dev-bfa88ea7ee9e6b4fd673e45a8cc0a8e0b7ef4761.tar.gz
Merge branch 'sched/urgent' of git://git.kernel.org/pub/scm/linux/kernel/git/tip/linux-2.6-tip
* 'sched/urgent' of git://git.kernel.org/pub/scm/linux/kernel/git/tip/linux-2.6-tip: sched: Improve latencies under load by decreasing minimum scheduling granularity
Diffstat (limited to 'kernel')
-rw-r--r--kernel/sched_fair.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/kernel/sched_fair.c b/kernel/sched_fair.c
index 9b5b4f8..a171138 100644
--- a/kernel/sched_fair.c
+++ b/kernel/sched_fair.c
@@ -54,13 +54,13 @@ enum sched_tunable_scaling sysctl_sched_tunable_scaling
* Minimal preemption granularity for CPU-bound tasks:
* (default: 2 msec * (1 + ilog(ncpus)), units: nanoseconds)
*/
-unsigned int sysctl_sched_min_granularity = 2000000ULL;
-unsigned int normalized_sysctl_sched_min_granularity = 2000000ULL;
+unsigned int sysctl_sched_min_granularity = 750000ULL;
+unsigned int normalized_sysctl_sched_min_granularity = 750000ULL;
/*
* is kept at sysctl_sched_latency / sysctl_sched_min_granularity
*/
-static unsigned int sched_nr_latency = 3;
+static unsigned int sched_nr_latency = 8;
/*
* After fork, child runs first. If set to 0 (default) then
OpenPOWER on IntegriCloud