-
- Downloads
virtio: harsher barriers for rpmsg.
We were cheating with our barriers; using the smp ones rather than the real device ones. That was fine, until rpmsg came along, which is used to talk to a real device (a non-SMP CPU). Unfortunately, just putting back the real barriers (reverting d57ed95d) causes a performance regression on virtio-pci. In particular, Amos reports netbench's TCP_RR over virtio_net CPU utilization increased up to 35% while throughput went down by up to 14%. By comparison, this branch is in the noise. Reference: https://lkml.org/lkml/2011/12/11/22 Signed-off-by:Rusty Russell <rusty@rustcorp.com.au>
Showing
- drivers/lguest/lguest_device.c 5 additions, 3 deletionsdrivers/lguest/lguest_device.c
- drivers/s390/kvm/kvm_virtio.c 1 addition, 1 deletiondrivers/s390/kvm/kvm_virtio.c
- drivers/virtio/virtio_mmio.c 2 additions, 2 deletionsdrivers/virtio/virtio_mmio.c
- drivers/virtio/virtio_pci.c 2 additions, 2 deletionsdrivers/virtio/virtio_pci.c
- drivers/virtio/virtio_ring.c 21 additions, 13 deletionsdrivers/virtio/virtio_ring.c
- include/linux/virtio_ring.h 1 addition, 0 deletionsinclude/linux/virtio_ring.h
- tools/virtio/linux/virtio.h 1 addition, 0 deletionstools/virtio/linux/virtio.h
- tools/virtio/virtio_test.c 2 additions, 1 deletiontools/virtio/virtio_test.c
Please register or sign in to comment