From: David Teigland <teigland@redhat.com>
To: lvm-devel@redhat.com
Subject: Performance regression between V2_02_177 and V2_02_180
Date: Wed, 30 Oct 2019 09:07:01 -0500 [thread overview]
Message-ID: <20191030140701.GA15378@redhat.com> (raw)
In-Reply-To: <1572428091306.94800@citrix.com>
On Wed, Oct 30, 2019 at 09:34:51AM +0000, Ben Sims wrote:
> I have not observed any contention directly but the comment in the commit
>
> "ca66d520326493311a3c7132b1bcee0807862301
>
> io: use sync io if aio fails
>
> io_setup() for aio may fail if a system has reached the
> aio request limit. In this case, fall back to using sync io..."
>
> implies that aio is a resource with a limit and open for contention. I
> observed heavy background aio traffic with perf probes from our virtual
> disk backends, I don't believe the io_submit calls in LVM are blocking
> as they are submitted with O_DIRECT and strace time to return is low.
OK, I thought you were referring to contention that would cause lvm's
async io to suffer, as opposed to simply being unavailable. If other
programs are consuming all of the available aio, then you can increase
/proc/sys/fs/aio-max-nr, which would hopefully make some available for
lvm.
> This may off course be academic if lvm moves to io_uring. Have there
> been any experiments in this area?
No, but it does sound interesting. I should check if the userspace
library for that has matured.
Dave
prev parent reply other threads:[~2019-10-30 14:07 UTC|newest]
Thread overview: 4+ messages / expand[flat|nested] mbox.gz Atom feed top
[not found] <1571324396950.37136@citrix.com>
2019-10-29 8:44 ` Performance regression between V2_02_177 and V2_02_180 Ben Sims
2019-10-29 14:58 ` David Teigland
2019-10-30 9:34 ` Ben Sims
2019-10-30 14:07 ` David Teigland [this message]
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20191030140701.GA15378@redhat.com \
--to=teigland@redhat.com \
--cc=lvm-devel@redhat.com \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.