Re: kvm linux guest hanging for minutes at a time

Avi Kivity
2011-08-11T06:39:05Z

On 08/09/2011 06:33 PM, Nick wrote:
> Hi,
>
> Just joined this list, looking for leads to solve a similar-sounding problem
> (guest processes hanging for seconds or minutes when host IO load is high).
> I'll say more in a separate email, but I caught the end of this thread and
> wanted to ask about kvm-clock.
>
> Naively I'd have thought that using the wrong clock would not actually *cause*
> hangs like this. Or is that what you're implying?
>
>

Using the wrong clock easily causes hangs. The system schedules a
wakeup in 3 ms, wrong clock causes it to wakeup in 3 years, you get a
hang for (3 years - 3 ms).

--
I have a truly marvellous patch that fixes the bug which this
signature is too narrow to contain.