On 5/23/2015 4:21 AM, Stephen Hemminger wrote: > On Thu, 21 May 2015 16:55:57 +0800 > Cunming Liang <cunming.liang at intel.com> wrote: > >> This patch does below: >> - Create VFIO eventfds for each interrupt vector (move to next) >> - Assign per interrupt vector's eventfd to VFIO by ioctl >> >> Signed-off-by: Danny Zhou <danny.zhou at intel.com> >> Signed-off-by: Cunming Liang <cunming.liang at intel.com> > One non-trivial performance related change here would be to set SMP > affinity of the receive IRQ to the CPU that is handling that receive queue. > Not sure the full API to do this, but ideally you should not have the > receive interrupt occurring on one CPU then having to cause scheduler > to wakeup receive thread on another CPU. > That's a good point. The previous thought was to configure irq affinity by script from outside. I haven't found some API to do that well, the well known way is by sysfs.
- [dpdk-dev] [PATCH v8 01/11] eal/linux: add ... Stephen Hemminger
- [dpdk-dev] [PATCH v8 01/11] eal/linux: add ... Neil Horman
- [dpdk-dev] [PATCH v8 01/11] eal/linux: add ... Liang, Cunming
- [dpdk-dev] [PATCH v8 02/11] eal/linux: add rte_epoll_wai... Cunming Liang
- [dpdk-dev] [PATCH v8 02/11] eal/linux: add rte_epol... Stephen Hemminger
- [dpdk-dev] [PATCH v8 02/11] eal/linux: add rte_epol... Liang, Cunming
- [dpdk-dev] [PATCH v8 03/11] eal/linux: add API to set rx... Cunming Liang
- [dpdk-dev] [PATCH v8 04/11] eal/linux: fix comments typo... Cunming Liang
- [dpdk-dev] [PATCH v8 05/11] eal/linux: add interrupt vec... Cunming Liang
- [dpdk-dev] [PATCH v8 05/11] eal/linux: add interrup... Stephen Hemminger
- [dpdk-dev] [PATCH v8 05/11] eal/linux: add inte... Liang, Cunming
- [dpdk-dev] [PATCH v8 06/11] eal/linux: standalone intr e... Cunming Liang
- [dpdk-dev] [PATCH v8 07/11] eal/bsd: dummy for new intr ... Cunming Liang
- [dpdk-dev] [PATCH v8 08/11] ethdev: add rx intr enable, ... Cunming Liang
- [dpdk-dev] [PATCH v8 08/11] ethdev: add rx intr ena... Stephen Hemminger
- [dpdk-dev] [PATCH v8 08/11] ethdev: add rx intr ena... Stephen Hemminger
- [dpdk-dev] [PATCH v8 08/11] ethdev: add rx intr ena... Liang, Cunming
- [dpdk-dev] [PATCH v8 09/11] ixgbe: enable rx queue inter... Cunming Liang
- [dpdk-dev] [PATCH v8 10/11] igb: enable rx queue interru... Cunming Liang
- [dpdk-dev] [PATCH v8 11/11] l3fwd-power: enable one-shot... Cunming Liang
- [dpdk-dev] [PATCH v9 00/12] Interrupt mode PMD Cunming Liang