summaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python/call-graph-from-postgresql.py
diff options
context:
space:
mode:
authorKent Overstreet <kent.overstreet@linux.dev>2023-01-18 08:23:40 -0500
committerKent Overstreet <kent.overstreet@linux.dev>2023-05-13 00:22:30 -0400
commit21d8a1695156ec52f93084f94c2f5124b9028686 (patch)
tree8228f99e15744c15831fe237219dc08e40db865d /tools/perf/scripts/python/call-graph-from-postgresql.py
parente94c1ea78329ed8c521d805d35edbeaceaee6317 (diff)
fs/aio: obey min_nr when doing wakeups
I've been observing workloads where IPIs due to wakeups in aio_complete() are ~15% of total CPU time in the profile. Most of those wakeups are unnecessary when completion batching is in use in io_getevents(). This plumbs min_nr through via the wait eventry, so that aio_complete() can avoid doing unnecessary wakeups. Signed-off-by: Kent Overstreet <kent.overstreet@linux.dev> Cc: Benjamin LaHaise <bcrl@kvack.org Cc: linux-aio@kvack.org Cc: linux-fsdevel@vger.kernel.org
Diffstat (limited to 'tools/perf/scripts/python/call-graph-from-postgresql.py')
0 files changed, 0 insertions, 0 deletions