Skip to content

Commit bfa88ea

Browse files
committed
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
2 parents 1d91686 + 0bf377b commit bfa88ea

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

kernel/sched_fair.c

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -54,13 +54,13 @@ enum sched_tunable_scaling sysctl_sched_tunable_scaling
5454
* Minimal preemption granularity for CPU-bound tasks:
5555
* (default: 2 msec * (1 + ilog(ncpus)), units: nanoseconds)
5656
*/
57-
unsigned int sysctl_sched_min_granularity = 2000000ULL;
58-
unsigned int normalized_sysctl_sched_min_granularity = 2000000ULL;
57+
unsigned int sysctl_sched_min_granularity = 750000ULL;
58+
unsigned int normalized_sysctl_sched_min_granularity = 750000ULL;
5959

6060
/*
6161
* is kept at sysctl_sched_latency / sysctl_sched_min_granularity
6262
*/
63-
static unsigned int sched_nr_latency = 3;
63+
static unsigned int sched_nr_latency = 8;
6464

6565
/*
6666
* After fork, child runs first. If set to 0 (default) then

0 commit comments

Comments
 (0)