summaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python
diff options
context:
space:
mode:
authorChao Yu <yuchao0@huawei.com>2018-01-08 18:48:33 +0800
committerJaegeuk Kim <jaegeuk@kernel.org>2018-02-07 18:05:48 -0800
commitd4f19f6266abaf573312c78723e09fb6498980ab (patch)
tree90901ee725aa368247207c0c4552cd3a5a8f4450 /tools/perf/scripts/python
parentb78e9302e2e358d45ea4377bf2c20d045f1c3b8a (diff)
f2fs: avoid high cpu usage in discard thread
We take very long time to finish generic/476, this is because we will check consistence of all discard entries in global rb tree while traversing all different granularity pending lists, even when the list is empty, in order to avoid that unneeded overhead, we have to skip the check when coming up an empty list. generic/476 time consumption: cost Before patch & w/o consistence check 57s Before patch & w/ consistence check 1426s After patch 78s Signed-off-by: Chao Yu <yuchao0@huawei.com> Signed-off-by: Jaegeuk Kim <jaegeuk@kernel.org>
Diffstat (limited to 'tools/perf/scripts/python')
0 files changed, 0 insertions, 0 deletions