Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1LvwHu-0006wV-O5 for qemu-devel@nongnu.org; Mon, 20 Apr 2009 12:24:06 -0400 Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1LvwHq-0006qr-Pw for qemu-devel@nongnu.org; Mon, 20 Apr 2009 12:24:06 -0400 Received: from [199.232.76.173] (port=49371 helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1LvwHq-0006qi-KV for qemu-devel@nongnu.org; Mon, 20 Apr 2009 12:24:02 -0400 Received: from bay0-omc1-s15.bay0.hotmail.com ([65.54.246.87]:51977) by monty-python.gnu.org with esmtp (Exim 4.60) (envelope-from ) id 1LvwHq-0003Bu-8Z for qemu-devel@nongnu.org; Mon, 20 Apr 2009 12:24:02 -0400 Message-ID: From: "Wil" Date: Mon, 20 Apr 2009 17:24:03 +0100 Message-ID: MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Subject: [Qemu-devel] win2k3 freeze possible kqemu rtc bug Reply-To: 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 Cc: nodenet@hotmail.com I've been running some tests with qemu using win2k3 as a guest. I've tried multiple versions and configurations and thought I would report my findings as best as possible. Qemu 0.9.1 / kqemu 1.3.0pre11 with / without -kernel-kqemu (32 and 64 bit qemu - different kernels and machines were used) Qemu 0.10.2 / kqemu 1.4.0pre1 with / without -kernel-kqemu (32 and 64 bit qemu under same kernel and machine and also a different kernel / machine) The above combinations all seem to freeze (process consumes all available CPU) after a few hours or days depending on how much load I place on the machine. I'm running test scripts to place a load on the guest. The guest has domain/iis/exchange/sql express 2005 installed. I did try Qemu 0.10.2 with -no-kqemu and without the kqemu module loaded, it did seem to run ok. I can't be certain though as I was forced to abort the test as I had other things to do. In general 0.10.2 was freezing quicker than 0.9.1 and timewise at least (as opposed amount of work done) 0.10.2 without kqemu worked significantly longer. Enabling the win2k3 ntp client seemed to cause a freeze a lot sooner sometimes even before 1st logon I've come to believe the key issue may be SQL 2005 Express SP3 which uses an rtc timer with 1024Hz freq. I believe this service pack was only released recently. I did try increasing the rtc max user freq sysctl variable to 1024 which did not seem to help. Without the rtc-hack option in 0.10.2 the clock was loosing something like 4 secs every minute. An interesting point is that I migrated the guest to vbox and during my first test it also froze up after a few hours. I believe the reason for this however was because I forgot to unload the kqemu module, as once I unloaded it the problem went away. Vbox however has an issue with high cpu idle due to the above rtc freq (not sure if that's relevant of course). Hopefully there is enough information to investigate as I'm sure it would improve the general reliability or qemu/kqemu if it can be fixed. Will Wiseman