linux-stable/tools/virtio
Paolo Bonzini 948a8ac296 ringtest: poll for new buffers once before updating event index
Updating the event index has a memory barrier and causes more work
on the other side to actually signal the event.  It is unnecessary
if a new buffer has already appeared on the ring, so poll once before
doing the update.

The effect of this on the 0.9 ring implementation is pretty much
invisible, but on the new-style ring it provides a consistent 3%
performance improvement.

Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
Signed-off-by: Michael S. Tsirkin <mst@redhat.com>
2016-10-31 00:21:43 +02:00
..
asm tools/virtio: use virt_xxx barriers 2016-01-26 10:18:29 +02:00
linux tools/virtio: add dma stubs 2016-08-15 05:05:51 +03:00
ringtest ringtest: poll for new buffers once before updating event index 2016-10-31 00:21:43 +02:00
uapi/linux tools/virtio: more stubs 2014-12-15 23:49:19 +02:00
vhost_test
virtio-trace tools: Fix pthread flag for Makefile of trace-agent used by virtio-trace 2012-09-28 15:05:13 +09:30
.gitignore virtio tools: add .gitignore 2013-07-15 11:18:31 +09:30
Makefile tools/virtio: propagate V=X to kernel build 2015-09-16 12:48:07 +03:00
virtio_test.c tools/virtio: add virtio 1.0 in virtio_test 2014-12-15 23:49:22 +02:00
vringh_test.c tools/virtio: add virtio 1.0 in vringh_test 2014-12-15 23:49:22 +02:00