* soft lockup detector & virtualisation
@ 2012-02-16 23:15 Dave Jones
2012-02-17 1:39 ` john stultz
0 siblings, 1 reply; 3+ messages in thread
From: Dave Jones @ 2012-02-16 23:15 UTC (permalink / raw)
To: Linux Kernel
Lately I've noticed quite a few soft lockup bugs being reported.
In many of them, they're coming from inside virtual guests.
Is the softlockup detector fundamentally broken in this situation ?
If the host doesn't schedule the guest for whatever reason,
or the user suspends the VM and resumes it later ?
Here's the most recent example:
https://bugzilla.redhat.com/attachment.cgi?id=563767
In many of these, the code where it's "stuck" isn't anything
special, which is why I think the guest just hasn't had a
timeslice in 185 seconds.
Is there some way we can perhaps detect we're running virtualised,
and disable the detector automatically ?
thoughts ?
Dave
^ permalink raw reply [flat|nested] 3+ messages in thread
* Re: soft lockup detector & virtualisation
2012-02-16 23:15 soft lockup detector & virtualisation Dave Jones
@ 2012-02-17 1:39 ` john stultz
2012-02-17 1:57 ` Eric B Munson
0 siblings, 1 reply; 3+ messages in thread
From: john stultz @ 2012-02-17 1:39 UTC (permalink / raw)
To: Dave Jones, Linux Kernel; +Cc: Eric B Munson
On Thu, Feb 16, 2012 at 3:15 PM, Dave Jones <davej@redhat.com> wrote:
> Lately I've noticed quite a few soft lockup bugs being reported.
> In many of them, they're coming from inside virtual guests.
>
> Is the softlockup detector fundamentally broken in this situation ?
>
> If the host doesn't schedule the guest for whatever reason,
> or the user suspends the VM and resumes it later ?
>
> Here's the most recent example:
> https://bugzilla.redhat.com/attachment.cgi?id=563767
>
> In many of these, the code where it's "stuck" isn't anything
> special, which is why I think the guest just hasn't had a
> timeslice in 185 seconds.
>
> Is there some way we can perhaps detect we're running virtualised,
> and disable the detector automatically ?
I think Eric's work (See "Add check for suspended vm in softlockup
detector" sent out today) tries to address this issue.
thanks
-john
^ permalink raw reply [flat|nested] 3+ messages in thread
* Re: soft lockup detector & virtualisation
2012-02-17 1:39 ` john stultz
@ 2012-02-17 1:57 ` Eric B Munson
0 siblings, 0 replies; 3+ messages in thread
From: Eric B Munson @ 2012-02-17 1:57 UTC (permalink / raw)
To: john stultz; +Cc: Dave Jones, Linux Kernel
On Thu, 16 Feb 2012 17:39:38 -0800, john stultz wrote:
> On Thu, Feb 16, 2012 at 3:15 PM, Dave Jones <davej@redhat.com> wrote:
>> Lately I've noticed quite a few soft lockup bugs being reported.
>> In many of them, they're coming from inside virtual guests.
>>
>> Is the softlockup detector fundamentally broken in this situation ?
>>
>> If the host doesn't schedule the guest for whatever reason,
>> or the user suspends the VM and resumes it later ?
>>
>> Here's the most recent example:
>> https://bugzilla.redhat.com/attachment.cgi?id=563767
>>
>> In many of these, the code where it's "stuck" isn't anything
>> special, which is why I think the guest just hasn't had a
>> timeslice in 185 seconds.
>>
>> Is there some way we can perhaps detect we're running virtualised,
>> and disable the detector automatically ?
>
> I think Eric's work (See "Add check for suspended vm in softlockup
> detector" sent out today) tries to address this issue.
>
> thanks
> -john
The work I have been doing specifically handles the case where the
hypervisor suspends the guest. There is talk of extending that work to
handle preemption as well, which I think will cover your use case.
Eric
^ permalink raw reply [flat|nested] 3+ messages in thread
end of thread, other threads:[~2012-02-17 1:57 UTC | newest]
Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2012-02-16 23:15 soft lockup detector & virtualisation Dave Jones
2012-02-17 1:39 ` john stultz
2012-02-17 1:57 ` Eric B Munson
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox