diff options
| author | anarkia1976 <stefano.villa1976@gmail.com> | 2013-10-10 08:03:53 +0200 |
|---|---|---|
| committer | Moyster <oysterized@gmail.com> | 2016-09-01 12:07:03 +0200 |
| commit | 8d76f9871bab9647ea739f114b6b262a15d7ce60 (patch) | |
| tree | 8994228d30b6cbaff4fd5ba02e012db0d9e1fbcd | |
| parent | d26799e42c25e0ba61bdb948115be0787555ddb6 (diff) | |
block: cfq: tuning and burning
| -rw-r--r-- | block/cfq-iosched.c | 16 |
1 files changed, 8 insertions, 8 deletions
diff --git a/block/cfq-iosched.c b/block/cfq-iosched.c index 1080d6778..369f2179e 100644 --- a/block/cfq-iosched.c +++ b/block/cfq-iosched.c @@ -21,18 +21,18 @@ * tunables */ /* max queue in one round of service */ -static const int cfq_quantum = 8; -static const int cfq_fifo_expire[2] = { HZ / 4, HZ / 8 }; +static const int cfq_quantum = 4; +static const int cfq_fifo_expire[2] = {42, 11}; /* maximum backwards seek, in KiB */ -static const int cfq_back_max = 16 * 1024; +static const int cfq_back_max = 12582912; /* penalty of a backwards seek */ -static const int cfq_back_penalty = 2; -static const int cfq_slice_sync = HZ / 10; -static int cfq_slice_async = HZ / 25; +static const int cfq_back_penalty = 1; +static const int cfq_slice_sync = HZ / 8; +static int cfq_slice_async = 7; static const int cfq_slice_async_rq = 2; static int cfq_slice_idle = 0; -static int cfq_group_idle = HZ / 125; -static const int cfq_target_latency = HZ * 3/10; /* 300 ms */ +static int cfq_group_idle = 0; +static const int cfq_target_latency = 300; /* 300 ms */ static const int cfq_hist_divisor = 4; /* |
