[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [PATCH] hw/nvme: reenable cqe batching
From: |
Klaus Jensen |
Subject: |
Re: [PATCH] hw/nvme: reenable cqe batching |
Date: |
Tue, 1 Nov 2022 11:35:46 +0100 |
On Oct 20 13:35, Klaus Jensen wrote:
> From: Klaus Jensen <k.jensen@samsung.com>
>
> 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")
> Signed-off-by: Klaus Jensen <k.jensen@samsung.com>
Thanks for the reviews, applied to nvme-next!
signature.asc
Description: PGP signature
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- Re: [PATCH] hw/nvme: reenable cqe batching,
Klaus Jensen <=