diff options
author | Linus Torvalds <torvalds@linux-foundation.org> | 2010-09-13 14:34:27 -0700 |
---|---|---|
committer | Linus Torvalds <torvalds@linux-foundation.org> | 2010-09-13 14:34:27 -0700 |
commit | bfa88ea7ee9e6b4fd673e45a8cc0a8e0b7ef4761 (patch) | |
tree | 79e0ed272e8261e6859cb066c3e3a34fe345f329 /kernel | |
parent | 1d91686a475381443a5e00ff3a6ab1ee61d6af28 (diff) | |
parent | 0bf377bbb0bea6130f35613491887cc622e42a8b (diff) | |
download | op-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.c | 6 |
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 |