diff options
author | Kai Krakow <[email protected]> | 2021-02-10 13:07:27 +0800 |
---|---|---|
committer | Jens Axboe <[email protected]> | 2021-02-10 08:06:00 -0700 |
commit | afe78ab46f638ecdf80a35b122ffc92c20d9ae5d (patch) | |
tree | 8c7f39e4bb4d89486a814c48002d4cd0eb843069 /tools/perf/scripts/python/exported-sql-viewer.py | |
parent | d797bd9897e3559eb48d68368550d637d32e468c (diff) |
bcache: Move journal work to new flush wq
This is potentially long running and not latency sensitive, let's get
it out of the way of other latency sensitive events.
As observed in the previous commit, the `system_wq` comes easily
congested by bcache, and this fixes a few more stalls I was observing
every once in a while.
Let's not make this `WQ_MEM_RECLAIM` as it showed to reduce performance
of boot and file system operations in my tests. Also, without
`WQ_MEM_RECLAIM`, I no longer see desktop stalls. This matches the
previous behavior as `system_wq` also does no memory reclaim:
> // workqueue.c:
> system_wq = alloc_workqueue("events", 0, 0);
Cc: Coly Li <[email protected]>
Cc: [email protected] # 5.4+
Signed-off-by: Kai Krakow <[email protected]>
Signed-off-by: Coly Li <[email protected]>
Signed-off-by: Jens Axboe <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/exported-sql-viewer.py')
0 files changed, 0 insertions, 0 deletions