qemu-e2k/hw
Jason Wang 851c2a75a6 virtio-pci: speedup MSI-X masking and unmasking
This patch tries to speed up the MSI-X masking and unmasking through
the mapping between vector and queues. With this patch it will there's
no need to go through all possible virtqueues, which may help to
reduce the time spent when doing MSI-X masking/unmasking a single
vector when more than hundreds or even thousands of virtqueues were
supported.

Tested with 80 queue pairs virito-net-pci by changing the smp affinity
in the background and doing netperf in the same time:

Before the patch:
5711.70 Gbits/sec
After the patch:
6830.98 Gbits/sec

About 19.6% improvements in throughput.

Cc: Michael S. Tsirkin <mst@redhat.com>
Signed-off-by: Jason Wang <jasowang@redhat.com>
Reviewed-by: Michael S. Tsirkin <mst@redhat.com>
Signed-off-by: Michael S. Tsirkin <mst@redhat.com>
2015-04-27 21:02:41 +02:00
..
9pfs
acpi hw/i386/acpi-build: move generic acpi building helpers into dedictated file 2015-04-27 20:49:45 +02:00
alpha alpha: memory: Replace memory_region_init_ram with memory_region_allocate_system_memory 2015-04-10 14:15:18 +01:00
arm arm: memory: Replace memory_region_init_ram with memory_region_allocate_system_memory 2015-04-08 17:30:36 +01:00
audio pcspk: Fix I/O port name 2015-04-04 09:45:59 +03:00
block virtio-blk: correctly dirty guest memory 2015-04-08 10:39:18 +01:00
bt
char sysbus: Make devices picking up backends unavailable with -device 2015-04-02 15:30:44 +02:00
core
cpu
cris cris: memory: Replace memory_region_init_ram with memory_region_allocate_system_memory 2015-04-11 20:03:57 +10:00
display
dma
gpio
i2c
i386 pc: add 2.4 machine types 2015-04-27 20:49:46 +02:00
ide AHCI: Protect cmd register 2015-03-27 15:48:11 -04:00
input
intc target-i386: clear bsp bit when designating bsp 2015-04-02 15:57:27 +02:00
ipack
isa hw: Mark devices picking up char backends actively FIXME 2015-04-02 15:30:28 +02:00
lm32 lm32: memory: Replace memory_region_init_ram with memory_region_allocate_system_memory 2015-04-10 14:12:20 +01:00
m68k
mem
microblaze
mips
misc
moxie
net virtio-net: fix the upper bound when trying to delete queues 2015-04-27 20:49:45 +02:00
nvram
openrisc
pci pci: Fix crash with illegal "-net nic, model=xxx" option 2015-04-13 12:11:44 +01:00
pci-bridge
pci-host mips: fix broken fulong2e machine 2015-04-17 12:11:48 +01:00
pcmcia
ppc ppc: spapr: add 2.4 machine type 2015-04-27 21:02:40 +02:00
s390x virtio-ccw: using VIRTIO_NO_VECTOR instead of 0 for invalid virtqueue 2015-04-27 21:02:41 +02:00
scsi
sd sysbus: Make devices picking up backends unavailable with -device 2015-04-02 15:30:44 +02:00
sh4
sparc
sparc64
ssi
timer
tpm
tricore
unicore32
usb
vfio
virtio virtio-pci: speedup MSI-X masking and unmasking 2015-04-27 21:02:41 +02:00
watchdog
xen xen: limit guest control of PCI command register 2015-04-09 23:37:21 +01:00
xenpv
xtensa
Makefile.objs