Loading…
KVM Forum 2014 has ended
Wednesday, October 15 • 11:15am - 12:00pm
Towards Multi-Threaded Device Emulation in QEMU - Stefan Hajnoczi, Red Hat

Sign up or log in to save this to your schedule, view media, leave feedback and see who's attending!

Over the past year core parts of QEMU have been extended to support multi-threaded device emulation. This has enabled a rewrite of the experimental virtio-blk dataplane feature so that multi-threaded device emulation can become a fully-supported feature of QEMU. Although work is still ongoing, virtio-blk device emulation can now run in dedicated threads, called iothreads. These threads can be bound to host CPUs much in the same way that vCPUs can be bound. This makes it possible to achieve better scalability on multicore hosts where QEMU's legacy global mutex presents a bottleneck. This talk covers new thread-friendly infrastructure in QEMU and how it is used in virtio-blk. It also presents performance results showing the effect of multi-threaded device emulation. Finally, it outlines the remaining work and the new possibilities for multiqueue devices.

Speakers
SH

Stefan Hajnoczi

IBM's Linux Technology Center
Stefan Hajnoczi has contributed to QEMU since 2010. He currently co-maintains the QEMU block layer together with Kevin Wolf. Now at Red Hat and previously at IBM's Linux Technology Center, Stefan has worked on disk image formats, storage migration, and I/O performance optimization... Read More →


Wednesday October 15, 2014 11:15am - 12:00pm CEST
Room 3

Attendees (0)