diff options
author | 2022-10-19 22:28:02 +0200 | |
---|---|---|
committer | 2022-11-02 09:23:05 +0100 | |
commit | d38cc6fd1cafc3f834bb529f79bfc23089e9e54f (patch) | |
tree | 4bc5c8dfe26210473e957a84ab5e25f4678e078f /hw/usb/dev-hub.c | |
parent | Merge tag 'block-pull-request' of https://gitlab.com/stefanha/qemu into staging (diff) | |
download | qemu-d38cc6fd1cafc3f834bb529f79bfc23089e9e54f.tar.xz qemu-d38cc6fd1cafc3f834bb529f79bfc23089e9e54f.zip |
hw/nvme: reenable cqe batching
Commit 2e53b0b45024 ("hw/nvme: Use ioeventfd to handle doorbell
updates") had the unintended effect of disabling batching of CQEs.
This patch changes the sq/cq timers to bottom halfs and instead of
calling nvme_post_cqes() immediately (causing an interrupt per cqe), we
defer the call.
| iops
-----------------+------
baseline | 138k
+cqe batching | 233k
Fixes: 2e53b0b45024 ("hw/nvme: Use ioeventfd to handle doorbell updates")
Reviewed-by: Keith Busch <kbusch@kernel.org>
Reviewed-by: Jinhao Fan <fanjinhao21s@ict.ac.cn>
Signed-off-by: Klaus Jensen <k.jensen@samsung.com>
Diffstat (limited to 'hw/usb/dev-hub.c')
0 files changed, 0 insertions, 0 deletions