From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1KPINw-0001Q8-3W for qemu-devel@nongnu.org; Sat, 02 Aug 2008 10:47:08 -0400 Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1KPINu-0001Pf-MP for qemu-devel@nongnu.org; Sat, 02 Aug 2008 10:47:07 -0400 Received: from [199.232.76.173] (port=37621 helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1KPINu-0001Pc-HK for qemu-devel@nongnu.org; Sat, 02 Aug 2008 10:47:06 -0400 Received: from an-out-0708.google.com ([209.85.132.249]:56103) by monty-python.gnu.org with esmtp (Exim 4.60) (envelope-from ) id 1KPINu-0001yb-6L for qemu-devel@nongnu.org; Sat, 02 Aug 2008 10:47:06 -0400 Received: by an-out-0708.google.com with SMTP id d18so419098and.130 for ; Sat, 02 Aug 2008 07:47:05 -0700 (PDT) Message-ID: <48947346.5080605@codemonkey.ws> Date: Sat, 02 Aug 2008 09:46:30 -0500 From: Anthony Liguori MIME-Version: 1.0 Subject: Re: [Qemu-devel] [RFC][PATCH] Add HPET emulation to qemu (v2) References: <1217675114-17670-1-git-send-email-eak@us.ibm.com> <20080802113812.GD4535@implementation> In-Reply-To: <20080802113812.GD4535@implementation> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 8bit Reply-To: qemu-devel@nongnu.org List-Id: qemu-devel.nongnu.org List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: Samuel Thibault , qemu-devel@nongnu.org, Beth Kon , Alexander Graf , kvm@vger.kernel.org Samuel Thibault wrote: > Beth Kon, le Sat 02 Aug 2008 06:05:14 -0500, a écrit : > >> I was trying to reproduce the wakeup every 10ms that >> Samuel Thibault mentioned, thinking the HPET would improve it. >> But for an idle guest in both cases (with and without HPET), the >> number of wakeups per second was relatively low (28). >> > > I was referring to vl.c's timeout = 10; which makes the select call > use a timeout of 10ms. That said, "/* If all cpus are halted then wait > until the next IRQ */", so maybe that's why you get slower wakeups per > second. I'm still surprised because of the call to qemu_mod_timer in > pit_irq_timer_update which should setup at least a 100Hz timer with > linux guests (when they don't have HPET available). > The patch disables that when hpet is active. Regards, Anthony Liguori > Samuel > > >