mirror of
https://mirrors.bfsu.edu.cn/git/linux.git
synced 2024-11-16 00:34:20 +08:00
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
This commit is contained in:
commit
bfa88ea7ee
@ -54,13 +54,13 @@ enum sched_tunable_scaling sysctl_sched_tunable_scaling
|
|||||||
* Minimal preemption granularity for CPU-bound tasks:
|
* Minimal preemption granularity for CPU-bound tasks:
|
||||||
* (default: 2 msec * (1 + ilog(ncpus)), units: nanoseconds)
|
* (default: 2 msec * (1 + ilog(ncpus)), units: nanoseconds)
|
||||||
*/
|
*/
|
||||||
unsigned int sysctl_sched_min_granularity = 2000000ULL;
|
unsigned int sysctl_sched_min_granularity = 750000ULL;
|
||||||
unsigned int normalized_sysctl_sched_min_granularity = 2000000ULL;
|
unsigned int normalized_sysctl_sched_min_granularity = 750000ULL;
|
||||||
|
|
||||||
/*
|
/*
|
||||||
* is kept at sysctl_sched_latency / sysctl_sched_min_granularity
|
* 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
|
* After fork, child runs first. If set to 0 (default) then
|
||||||
|
Loading…
Reference in New Issue
Block a user