Skip to content
Snippets Groups Projects
  • Stefan Hajnoczi's avatar
    cdd7abfd
    iothread: enable AioContext polling by default · cdd7abfd
    Stefan Hajnoczi authored
    
    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: default avatarStefan Hajnoczi <stefanha@redhat.com>
    Message-id: 20170126170119.27876-1-stefanha@redhat.com
    Signed-off-by: default avatarStefan Hajnoczi <stefanha@redhat.com>
    cdd7abfd
    History
    iothread: enable AioContext polling by default
    Stefan Hajnoczi authored
    
    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: default avatarStefan Hajnoczi <stefanha@redhat.com>
    Message-id: 20170126170119.27876-1-stefanha@redhat.com
    Signed-off-by: default avatarStefan Hajnoczi <stefanha@redhat.com>
iothread.c 8.34 KiB