mirror of https://lore.kernel.org/lkml/
 help / color / mirror / Atom feed
From: Jeff Moyer <jmoyer@redhat.com>
To: Doug Neal <dneallkml@gmail.com>
Cc: linux-kernel@vger.kernel.org
Subject: Re: I/O scheduler deadlocks on Xen virtual block devices
Date: Thu, 02 Sep 2010 11:25:18 -0400	[thread overview]
Message-ID: <x49iq2odv6p.fsf@segfault.boston.devel.redhat.com> (raw)
In-Reply-To: <AANLkTimjuyHMkVPrjpPAe2sMwCAVnQjDigQkHmV4ZhAc@mail.gmail.com> (Doug Neal's message of "Thu, 2 Sep 2010 15:06:48 +0100")

Doug Neal <dneallkml@gmail.com> writes:

>>>>
>>>> Did you try these different I/O schedulers in the domU or on the dom0?
>>>> Does switching I/O schedulers in either place make the problem go away
>>>> when it happens?
>>>>
>>>
>>> In the domU, and the bug was present in all cases. The dom0 was using
>>> cfq. I'll run the tests again using each scheduler in the dom0 with
>>> domU set to noop and report back.
>>
>> While I think this is an interesting test, you need only test one I/O
>> scheduler in the dom0.  Also, I think you misunderstood the second
>> question.  I'd like to know if switching I/O schedulers while the system
>> is in this bad state helps get I/O going again.
>>
> Jeff,
>
> Issue confirmed in the following cases:
>
> dom0:domU
> noop:noop
> noop:deadline
> noop:anticipatory
> cfq:noop
> cfq:deadline
> cfq:anticipatory
> cfq:cfq
>
> I try switching schedulers in the domU during the lockup, the echo x >
> /sys/block/xvda/queue/scheduler command also hangs. In the dom0, no
> effect.

OK.  So, this means that the I/O is not hung up in the I/O scheduler.  I
don't have a whole lot of experience with the Xen I/O stack, but I think
that's where I'd start digging (especially if there's nothing in the
logs about command timed out).

I hope this was a somewhat helpful exercise.  Sorry I can't be of more
help.

Cheers!
Jeff

  reply	other threads:[~2010-09-02 15:27 UTC|newest]

Thread overview: 10+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2010-09-01 14:17 Doug Neal
2010-09-01 17:33 ` Jeff Moyer
2010-09-02  8:34   ` Doug Neal
2010-09-02 13:47     ` Jeff Moyer
2010-09-02 14:06       ` Doug Neal
2010-09-02 15:25         ` Jeff Moyer [this message]
2010-09-02 15:43           ` Doug Neal
2010-09-03 12:22 ` Pasi Kärkkäinen
2010-09-03 15:17   ` Jeremy Fitzhardinge
2010-09-06 12:44     ` Doug Neal

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=x49iq2odv6p.fsf@segfault.boston.devel.redhat.com \
    --to=jmoyer@redhat.com \
    --cc=dneallkml@gmail.com \
    --cc=linux-kernel@vger.kernel.org \
    /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 a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox

all inboxes | Powered by JetHome®