[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [PATCH] hw/nvme: reenable cqe batching
From: |
Jinhao Fan |
Subject: |
Re: [PATCH] hw/nvme: reenable cqe batching |
Date: |
Fri, 21 Oct 2022 10:37:58 +0800 |
at 7:35 PM, Klaus Jensen <its@irrelevant.dk> wrote:
> 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.
This change is definitely desired.
>
> | iops
> -----------------+------
> baseline | 138k
> +cqe batching | 233k
What is the queue depth config for this test?