From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from [140.186.70.92] (port=43699 helo=eggs.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1OVEgp-0006Fs-Cx for qemu-devel@nongnu.org; Sat, 03 Jul 2010 22:12:16 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.69) (envelope-from ) id 1OVEgo-0001yd-9L for qemu-devel@nongnu.org; Sat, 03 Jul 2010 22:12:15 -0400 Received: from mail-pv0-f173.google.com ([74.125.83.173]:65106) by eggs.gnu.org with esmtp (Exim 4.69) (envelope-from ) id 1OVEgo-0001yP-4i for qemu-devel@nongnu.org; Sat, 03 Jul 2010 22:12:14 -0400 Received: by pvg3 with SMTP id 3so1016651pvg.4 for ; Sat, 03 Jul 2010 19:12:12 -0700 (PDT) MIME-Version: 1.0 In-Reply-To: <87r5jkjfnt.fsf@kuiper.lan.informatimago.com> References: <87y6dsjhca.fsf@kuiper.lan.informatimago.com> <87r5jkjfnt.fsf@kuiper.lan.informatimago.com> From: Mulyadi Santosa Date: Sun, 4 Jul 2010 09:11:42 +0700 Message-ID: Subject: Re: [Qemu-devel] Re: Irregular response times Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable List-Id: qemu-devel.nongnu.org List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: "Pascal J. Bourguignon" Cc: qemu-devel@nongnu.org On Sun, Jul 4, 2010 at 06:42, Pascal J. Bourguignon wrote: > pjb@informatimago.com (Pascal J. Bourguignon) writes: > >> I've got various Qemu running linux (gentoo or debian, all running the >> same kernel). =A0On one of them, =A0I get very irregular response time. >> >> During a few seconds, it works normally. =A0Eg. thru a ssh connection, I >> can type commands at bash, and I get the character echoed right away. >> And then, for a few tens of seconds, it hangs, with no output and no >> way to interrupt it or whatever. =A0 The qemu process is in S state, >> waiting in poll_s WCHAN. Did you notice the qemu or kvm version? Also, is it happen in pure qemu or qemu utilizing kvm? or both? I somewhat "smell" buggy spurious interrupt handling..... try to set your processor to use constant clock frequency. And....few month ago, I learned quite funny tricks. Sometimes qemu/kvm window hangs if I place it on different workspace other than my current workspace in my GNOME desktop. Moving out focus from Qemu's workspace somehow make it hang for few seconds (qemu-kvm 0.10.6). So, the trick is, always place it on your current active workspace. --=20 regards, Mulyadi Santosa Freelance Linux trainer and consultant blog: the-hydra.blogspot.com training: mulyaditraining.blogspot.com