diff options
author | Paolo Valente <paolo.valente@linaro.org> | 2021-01-22 19:19:43 +0100 |
---|---|---|
committer | Jens Axboe <axboe@kernel.dk> | 2021-01-24 18:18:24 -0700 |
commit | b5f74ecacc3139ef873e69acc3aba28083ecc416 (patch) | |
tree | 8f370be89b909cd104670a7f19c8a805ee324ef3 /tools/perf/scripts/python/syscall-counts.py | |
parent | a33df75c6328bf40078b35f2040d8e54d574c357 (diff) |
block, bfq: use half slice_idle as a threshold to check short ttime
The value of the I/O plugging (idling) timeout is used also as the
think-time threshold to decide whether a process has a short think
time. In this respect, a good value of this timeout for rotational
drives is un the order of several ms. Yet, this is often too long a
time interval to be effective as a think-time threshold. This commit
mitigates this problem (by a lot, according to tests), by halving the
threshold.
Tested-by: Jan Kara <jack@suse.cz>
Signed-off-by: Paolo Valente <paolo.valente@linaro.org>
Signed-off-by: Jens Axboe <axboe@kernel.dk>
Diffstat (limited to 'tools/perf/scripts/python/syscall-counts.py')
0 files changed, 0 insertions, 0 deletions