From mboxrd@z Thu Jan 1 00:00:00 1970 From: Marcelo Tosatti Subject: Re: Guest hangs after some stress tests Date: Fri, 25 May 2012 12:37:57 -0300 Message-ID: <20120525153756.GA11355@amt.cnet> References: <20120517200548.GA26391@redhat.com> <20120517201904.GB26391@redhat.com> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Cc: Sasha Levin , Avi Kivity , kvm@vger.kernel.org, Dave Jones To: Gleb Natapov Return-path: Received: from mx1.redhat.com ([209.132.183.28]:23794 "EHLO mx1.redhat.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1752246Ab2EYPpK (ORCPT ); Fri, 25 May 2012 11:45:10 -0400 Content-Disposition: inline In-Reply-To: <20120517201904.GB26391@redhat.com> Sender: kvm-owner@vger.kernel.org List-ID: On Thu, May 17, 2012 at 11:19:04PM +0300, Gleb Natapov wrote: > On Thu, May 17, 2012 at 10:14:35PM +0200, Sasha Levin wrote: > > On Thu, May 17, 2012 at 10:05 PM, Gleb Natapov wrote: > > > On Thu, May 17, 2012 at 09:49:08PM +0200, Sasha Levin wrote: > > >> Hi all, > > >> > > >> I've observed a guest hang after putting a little stress testing on > > >> it. It basically hangs in ~10 secs after running several trinity > > >> instances inside a KVM tools guest. > > >> > > > And do you set hypervisor bit in KVM tool? > > > > We're basically forwarding the cpuid of the host, so I assume that no? > You really should, but hang shouldn't happen anyway. > > -- > Gleb. If kvmclock is not enabled a number of problems arise (miscalibrated loops per jiffy, sched_clock using tsc's out of sync on smp). Should set the hypervisor cpuid bit (see 49ab56ac6e1b907b7da).