diff options
author | Jens Axboe <[email protected]> | 2022-09-22 11:41:51 -0600 |
---|---|---|
committer | Jens Axboe <[email protected]> | 2022-09-30 07:49:11 -0600 |
commit | 851eb780decb7180bcf09fad0035cba9aae669df (patch) | |
tree | d089afb600e24f9fdca9c0e2bbe2d2871b832b12 /tools/perf/scripts/python/bin/export-to-postgresql-report | |
parent | c0a7ba77e81b8440d10f38559a5e1d219ff7e87c (diff) |
nvme: enable batched completions of passthrough IO
Now that the normal passthrough end_io path doesn't need the request
anymore, we can kill the explicit blk_mq_free_request() and just pass
back RQ_END_IO_FREE instead. This enables the batched completion from
freeing batches of requests at the time.
This brings passthrough IO performance at least on par with bdev based
O_DIRECT with io_uring. With this and batche allocations, peak performance
goes from 110M IOPS to 122M IOPS. For IRQ based, passthrough is now also
about 10% faster than previously, going from ~61M to ~67M IOPS.
Reviewed-by: Anuj Gupta <[email protected]>
Reviewed-by: Sagi Grimberg <[email protected]>
Reviewed-by: Keith Busch <[email protected]>
Co-developed-by: Stefan Roesch <[email protected]>
Signed-off-by: Jens Axboe <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/bin/export-to-postgresql-report')
0 files changed, 0 insertions, 0 deletions