From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1I1PCV-0001ry-UA for qemu-devel@nongnu.org; Thu, 21 Jun 2007 12:08:04 -0400 Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1I1PCR-0001rX-KK for qemu-devel@nongnu.org; Thu, 21 Jun 2007 12:08:02 -0400 Received: from [199.232.76.173] (helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1I1PCQ-0001rJ-NP for qemu-devel@nongnu.org; Thu, 21 Jun 2007 12:07:58 -0400 Received: from ns.bitdefender.com ([217.156.83.1] helo=mail.bitdefender.com) by monty-python.gnu.org with esmtps (TLS-1.0:DHE_RSA_AES_256_CBC_SHA1:32) (Exim 4.60) (envelope-from ) id 1I1PCM-0008Nd-76 for qemu-devel@nongnu.org; Thu, 21 Jun 2007 12:07:56 -0400 Date: Thu, 21 Jun 2007 19:07:41 +0300 From: Daniel Ionita Message-ID: <368381804.20070621190741@bitdefender.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Subject: [Qemu-devel] QEMU on windows timing problems Reply-To: Daniel Ionita , qemu-devel@nongnu.org List-Id: qemu-devel.nongnu.org List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: qemu-devel@nongnu.org Hello. I have a problem with time drifting inside the QEMU machine (running XP SP2). This is more visible as the load inside the VM increases (heavy hard-disk activity, almost 100% CPU usage). However, I need to control some actions inside the VM machine which depend on time. Any idea how I can increase QEMU's time resolution, to make it more exact? I need something on the order of seconds. For example, on the latest tests that I've done, in a total run of 7 minutes QEMU's clock lagged by 4 minutes (so it's ~50% slower than real time). Host machine x86, Windows, with kqemu installed. I mention that the problem is much worse when I run QEMU in a SMP environment, but it is fixable by setting process affinity to specific CPUs. Thanks a lot. -- Best regards, Daniel mailto:dionita@bitdefender.com