summaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python/stackcollapse.py
diff options
context:
space:
mode:
authorJens Axboe <axboe@kernel.dk>2020-09-08 09:11:32 -0600
committerJens Axboe <axboe@kernel.dk>2020-09-30 20:32:34 -0600
commite95eee2dee7862f267a169b10d384c82f71010ce (patch)
tree34005d63a26e5f6f09b9ecc581a7502f3be6e2e8 /tools/perf/scripts/python/stackcollapse.py
parente8c2bc1fb6c9495b71efe7af476a351ccfba73c4 (diff)
io_uring: cap SQ submit size for SQPOLL with multiple rings
In the spirit of fairness, cap the max number of SQ entries we'll submit for SQPOLL if we have multiple rings. If we don't do that, we could be submitting tons of entries for one ring, while others are waiting to get service. The value of 8 is somewhat arbitrarily chosen as something that allows a fair bit of batching, without using an excessive time per ring. Signed-off-by: Jens Axboe <axboe@kernel.dk>
Diffstat (limited to 'tools/perf/scripts/python/stackcollapse.py')
0 files changed, 0 insertions, 0 deletions