public inbox for linux-s390@vger.kernel.org
 help / color / mirror / Atom feed
* [RFC PATCH 0/2] qemu: ioeventfd for virtio-ccw.
@ 2013-02-21 13:13 Cornelia Huck
  2013-02-21 13:13 ` [RFC PATCH 1/2] linux-headers: Update with ioeventfd changes Cornelia Huck
  2013-02-21 13:13 ` [RFC PATCH 2/2] virtio-ccw: Wire up ioeventfd Cornelia Huck
  0 siblings, 2 replies; 3+ messages in thread
From: Cornelia Huck @ 2013-02-21 13:13 UTC (permalink / raw)
  To: qemu-devel; +Cc: KVM, linux-s390

This patch series makes use of the s390 ioeventfd implementation
to speed up virtio-ccw a bit.

We hook up virtio notifications via diagnose 500 as ioeventfds,
specifying a subchannel id and virtqueue index combination.

ioeventfds are used by default for all virtio devices; there's
an ioeventfd property that can be used to turn ioeventfd usage
off for a device (similar to virtio-pci).

A simple dd on a virtio-blk device
   dd if=/dev/vda of=/dev/null iflag=direct bs=4k count=10000
is now twice as fast :)

(Patches are against master.)

Cornelia Huck (2):
  linux-headers: Update with ioeventfd changes.
  virtio-ccw: Wire up ioeventfd.

 hw/s390x/css.c            |   2 +-
 hw/s390x/css.h            |   1 +
 hw/s390x/virtio-ccw.c     | 114 ++++++++++++++++++++++++++++++++++++++++++++++
 hw/s390x/virtio-ccw.h     |   7 +++
 linux-headers/linux/kvm.h |   4 +-
 target-s390x/cpu.h        |  16 +++++++
 target-s390x/kvm.c        |  27 +++++++++++
 7 files changed, 169 insertions(+), 2 deletions(-)

-- 
1.7.12.4

^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2013-02-21 13:13 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2013-02-21 13:13 [RFC PATCH 0/2] qemu: ioeventfd for virtio-ccw Cornelia Huck
2013-02-21 13:13 ` [RFC PATCH 1/2] linux-headers: Update with ioeventfd changes Cornelia Huck
2013-02-21 13:13 ` [RFC PATCH 2/2] virtio-ccw: Wire up ioeventfd Cornelia Huck

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox