From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1F7Cvx-00066N-3c for qemu-devel@nongnu.org; Thu, 09 Feb 2006 09:38:09 -0500 Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1F7Cl1-0003mf-6U for qemu-devel@nongnu.org; Thu, 09 Feb 2006 09:26:53 -0500 Received: from [199.232.76.173] (helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1F7COv-0000fj-Hc for qemu-devel@nongnu.org; Thu, 09 Feb 2006 09:04:02 -0500 Received: from [203.190.192.17] (helo=wasp.net.au) by monty-python.gnu.org with esmtp (Exim 4.52) id 1F7CST-0005bj-FP for qemu-devel@nongnu.org; Thu, 09 Feb 2006 09:07:41 -0500 Message-ID: <43EB4BC9.3030002@wasp.net.au> Date: Thu, 09 Feb 2006 18:03:53 +0400 From: Brad Campbell MIME-Version: 1.0 Subject: Re: [Qemu-devel] [PATCH] -win2k-hack performance+DMA support References: <43E251A3.2070706@win4lin.com> In-Reply-To: <43E251A3.2070706@win4lin.com> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit 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 Leonardo E. Reiter wrote: > Attached is a patch which greatly speeds up disk writes when using > -win2k-hack to install Windows 2000. It only delays every 16th > interrupt, which after rigorous testing is still enough to overcome the > "Windows 2000 disk full" bug. If you are really adventurous you can try > it every 32nd time, but for me that caused problems during some > installations, so I thought it was too aggressive. > > This patch also adds -win2k-hack functionality to DMA writes, since DMA > now works in the latest CVS QEMU. > Using todays CVS, and kqemu in user mode only I tried to install Win2k-SP4 25 times all with disk full errors until I applied this patch. It would appear the installer will use DMA mode if it's available and therefore the existing win2k-hack does not work. Using this patch 5 out of 5 installs worked perfectly. Thanks Leo :) Regards, Brad -- "Human beings, who are almost unique in having the ability to learn from the experience of others, are also remarkable for their apparent disinclination to do so." -- Douglas Adams