RHEL Engineering is moving the tracking of its product development work on RHEL 6 through RHEL 9 to Red Hat Jira (issues.redhat.com). If you're a Red Hat customer, please continue to file support cases via the Red Hat customer portal. If you're not, please head to the "RHEL project" in Red Hat Jira and file new tickets here. Individual Bugzilla bugs in the statuses "NEW", "ASSIGNED", and "POST" are being migrated throughout September 2023. Bugs of Red Hat partners with an assigned Engineering Partner Manager (EPM) are migrated in late September as per pre-agreed dates. Bugs against components "kernel", "kernel-rt", and "kpatch" are only migrated if still in "NEW" or "ASSIGNED". If you cannot log in to RH Jira, please consult article #7032570. That failing, please send an e-mail to the RH Jira admins at rh-issues@redhat.com to troubleshoot your issue as a user management inquiry. The email creates a ServiceNow ticket with Red Hat. Individual Bugzilla bugs that are migrated will be moved to status "CLOSED", resolution "MIGRATED", and set with "MigratedToJIRA" in "Keywords". The link to the successor Jira issue will be found under "Links", have a little "two-footprint" icon next to it, and direct you to the "RHEL project" in Red Hat Jira (issue links are of type "https://issues.redhat.com/browse/RHEL-XXXX", where "X" is a digit). This same link will be available in a blue banner at the top of the page informing you that that bug has been migrated.
Bug 571171 - Change the block IO host implementation to aio
Summary: Change the block IO host implementation to aio
Keywords:
Status: CLOSED NOTABUG
Alias: None
Product: Red Hat Enterprise Linux 7
Classification: Red Hat
Component: qemu-kvm
Version: 7.0
Hardware: All
OS: Linux
low
medium
Target Milestone: beta
: 7.0
Assignee: Kevin Wolf
QA Contact:
URL:
Whiteboard:
Depends On: 589985 615309 689830
Blocks: 580954
TreeView+ depends on / blocked
 
Reported: 2010-03-07 11:41 UTC by Dor Laor
Modified: 2013-03-15 12:05 UTC (History)
14 users (show)

Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed: 2013-03-15 12:05:24 UTC
Target Upstream Version:
Embargoed:


Attachments (Terms of Use)

Description Dor Laor 2010-03-07 11:41:56 UTC
Currently we do not using configure with --enable-linux-aio and we should switch to that since Shak has performance results that state it is better than aio=threads.

Comment 1 RHEL Program Management 2010-03-07 12:13:45 UTC
This request was evaluated by Red Hat Product Management for inclusion in a Red
Hat Enterprise Linux major release.  Product Management has requested further
review of this request by Red Hat Engineering, for potential inclusion in a Red
Hat Enterprise Linux Major release.  This request is not yet committed for
inclusion.

Comment 2 chellwig@redhat.com 2010-03-07 12:45:35 UTC
Note that Linux aio support gets automatically built if we find libaio and it's headers.  So what needs to be done here it pull libaio-devel in as a build requirement.

Also note that we'll need a clone of this bug for libvirt to enable aio=native on the qemu command line,

Comment 3 Dor Laor 2010-03-07 13:26:33 UTC
(In reply to comment #2)
> Note that Linux aio support gets automatically built if we find libaio and it's
> headers.  So what needs to be done here it pull libaio-devel in as a build
> requirement.

That's a rpm dependency change

> 
> Also note that we'll need a clone of this bug for libvirt to enable aio=native
> on the qemu command line,    

Isn't the above sufficient? Alternatively we can change the default ourselves in qemu.

Comment 4 chellwig@redhat.com 2010-05-07 11:06:39 UTC
Given that this recently came up on irc, what's the status?  Do we still want to change the default aio backend, and if yes do that in libvirt or by patching qemu?

Comment 5 Dor Laor 2010-05-09 14:40:16 UTC
(In reply to comment #4)
> Given that this recently came up on irc, what's the status?  Do we still want
> to change the default aio backend, and if yes do that in libvirt or by patching
> qemu?    

I think we rather change the default in qemu, there are far too many folks try qemu directly. It's the same like cache=off in the past.

Comment 6 chellwig@redhat.com 2010-05-09 17:10:10 UTC
If we're doing this as a RHEL only patch it's easy given that both raw block device (disk/lvm) and nfs support proper AIO.  If we want to do this upstream we also need to special case regular files on various local filesystems, especially if they are thinly provisioned.

Dor, is this okay as a RHEL-only patch?

Comment 7 Dor Laor 2010-05-10 09:01:41 UTC
If you can change upstream default for our use cases it will be even better. If not, rhel-only will do too. Adding Anthony to the BZ

Comment 16 chellwig@redhat.com 2011-06-07 11:29:04 UTC
Reassigning to RHEL7, as we're unlikely to get the upstream fix in in time.

Comment 18 Paolo Bonzini 2013-03-15 12:05:24 UTC
A non-issue for RHEL, since we always go through libvirt.  If the default has to change, the change has to be in libvirt.


Note You need to log in before you can comment on or make changes to this bug.