Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 74165
b: refs/heads/master
c: 722aab0
h: refs/heads/master
i:
  74163: e3459c8
v: v3
  • Loading branch information
Zou Nan hai authored and Ingo Molnar committed Nov 26, 2007
1 parent 7c75dac commit df890f3
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 7 deletions.
2 changes: 1 addition & 1 deletion [refs]
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
---
refs/heads/master: 58e1010da3c15e7bdf426b0a3d4b13dba1b7d055
refs/heads/master: 722aab0c3bbd7648d66790515c14d95d10a15bf3
12 changes: 6 additions & 6 deletions trunk/kernel/sched_fair.c
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@

/*
* Targeted preemption latency for CPU-bound tasks:
* (default: 20ms * ilog(ncpus), units: nanoseconds)
* (default: 20ms * (1 + ilog(ncpus)), units: nanoseconds)
*
* NOTE: this latency value is not the same as the concept of
* 'timeslice length' - timeslices in CFS are of variable length
Expand All @@ -36,14 +36,14 @@ unsigned int sysctl_sched_latency = 20000000ULL;

/*
* Minimal preemption granularity for CPU-bound tasks:
* (default: 1 msec * ilog(ncpus), units: nanoseconds)
* (default: 4 msec * (1 + ilog(ncpus)), units: nanoseconds)
*/
unsigned int sysctl_sched_min_granularity = 1000000ULL;
unsigned int sysctl_sched_min_granularity = 4000000ULL;

/*
* is kept at sysctl_sched_latency / sysctl_sched_min_granularity
*/
static unsigned int sched_nr_latency = 20;
static unsigned int sched_nr_latency = 5;

/*
* After fork, child runs first. (default) If set to 0 then
Expand All @@ -61,7 +61,7 @@ unsigned int __read_mostly sysctl_sched_compat_yield;

/*
* SCHED_BATCH wake-up granularity.
* (default: 10 msec * ilog(ncpus), units: nanoseconds)
* (default: 10 msec * (1 + ilog(ncpus)), units: nanoseconds)
*
* This option delays the preemption effects of decoupled workloads
* and reduces their over-scheduling. Synchronous workloads will still
Expand All @@ -71,7 +71,7 @@ unsigned int sysctl_sched_batch_wakeup_granularity = 10000000UL;

/*
* SCHED_OTHER wake-up granularity.
* (default: 10 msec * ilog(ncpus), units: nanoseconds)
* (default: 10 msec * (1 + ilog(ncpus)), units: nanoseconds)
*
* This option delays the preemption effects of decoupled workloads
* and reduces their over-scheduling. Synchronous workloads will still
Expand Down

0 comments on commit df890f3

Please sign in to comment.