[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [Qemu-devel] irqfd for QEMU NVMe
From: |
Stefan Hajnoczi |
Subject: |
Re: [Qemu-devel] irqfd for QEMU NVMe |
Date: |
Mon, 11 Sep 2017 15:44:14 +0100 |
User-agent: |
Mutt/1.8.3 (2017-05-23) |
On Fri, Sep 08, 2017 at 04:17:32PM -0500, Huaicheng Li wrote:
> I'm writing to ask if it's possible to use irqfd mechanism in QEMU's NVMe
> virtual controller implementation. My search results show that back in
> 2015, there is a discussion on improving QEMU NVMe performance by utilizing
> eventfd for guest-to-host notification, thus i guess irqfd should also work
> ? If so, could you briefly describe how to do that and how much can we save
> for the host-to-guest notification path by using irqfd?
You'd could benchmark it to find out but I have a vague memory that the
ioctl() is actually faster for injecting interrupts than irqfd.
Stefan