]> git.proxmox.com Git - mirror_qemu.git/commit
iothread: enable AioContext polling by default
authorStefan Hajnoczi <stefanha@redhat.com>
Thu, 26 Jan 2017 17:01:19 +0000 (17:01 +0000)
committerStefan Hajnoczi <stefanha@redhat.com>
Fri, 3 Feb 2017 14:23:38 +0000 (14:23 +0000)
commitcdd7abfdba9287a289c404dfdcb02316f9ffee7d
tree1aa7d07d263b705c790a3c9a3d1a1fc5c9b273f9
parent4100a344eb3d50d88f9da85cae334afc47aee134
iothread: enable AioContext polling by default

IOThread AioContexts are likely to consist only of event sources like
virtqueue ioeventfds and LinuxAIO completion eventfds that are pollable
from userspace (without system calls).

We recently merged the AioContext polling feature but didn't enable it
by default yet.  I have gone back over the performance data on the
mailing list and picked a default polling value that gave good results.

Let's enable AioContext polling by default so users don't have another
switch they need to set manually.  If performance regressions are found
we can still disable this for the QEMU 2.9 release.

Cc: Paolo Bonzini <pbonzini@redhat.com>
Cc: Christian Borntraeger <borntraeger@de.ibm.com>
Cc: Karl Rister <krister@redhat.com>
Signed-off-by: Stefan Hajnoczi <stefanha@redhat.com>
Message-id: 20170126170119.27876-1-stefanha@redhat.com
Signed-off-by: Stefan Hajnoczi <stefanha@redhat.com>
iothread.c