From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1E7wsN-0004qn-Cs for qemu-devel@nongnu.org; Wed, 24 Aug 2005 11:09:16 -0400 Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1E7wsH-0004nO-ED for qemu-devel@nongnu.org; Wed, 24 Aug 2005 11:09:09 -0400 Received: from [199.232.76.173] (helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1E7wsG-0004mZ-R6 for qemu-devel@nongnu.org; Wed, 24 Aug 2005 11:09:08 -0400 Received: from [64.233.162.193] (helo=zproxy.gmail.com) by monty-python.gnu.org with esmtp (Exim 4.34) id 1E7wo6-0007Xj-TO for qemu-devel@nongnu.org; Wed, 24 Aug 2005 11:04:51 -0400 Received: by zproxy.gmail.com with SMTP id s18so65721nze for ; Wed, 24 Aug 2005 08:03:43 -0700 (PDT) Message-ID: <2ad73a0508240803d9d592d@mail.gmail.com> Date: Wed, 24 Aug 2005 12:03:43 -0300 From: =?ISO-8859-1?Q?Andr=E9_Braga?= Subject: Re: [Qemu-devel] DMA in Windows 2000/XP/2003 In-Reply-To: <430C6E7A.5030803@xtal.rwth-aachen.de> Mime-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable Content-Disposition: inline References: <430C6E7A.5030803@xtal.rwth-aachen.de> 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 Fortunately, it does make a difference. PIO is polling-base, whereas DMA is, lacking a better term (excuse my English), transaction-based. Since no CPU arbitration is needed, quite a few optimizations can be done because of this, like real, large block transfers. And if you happen to search the list archives, people have already reported significant gains when using these patches, so even if I'm talking bullocks empirical results do exist :) Cheers, A. --=20 "I invented the term Object-Oriented, and I can tell you I did not have C++ in mind" -Alan Kay 2005/8/24, Jan Marten Simons : > V=EDctor C=F3rcoles L=F3pez wrote: >=20 > > Hello developers. My English is not good. > > > > I see that DMA in Hard Disks in guest OS Windows 2000/XP/2003 is not > > avalaible, it run in PIO mode. > > > > How can activate UDMA mode for hard disk ? > > > I don't think you'd get any advantage of activating DMA inside the qemu > guest-OS, as qemu has to proxy all rw-access into a file anyway, unless > you pass an actual device/partition to qemu. Besides qemu is emulating > the complete pci bus, which cannot use features of actual hardware in > the machine (e.g. your hdd or features your chipset provide). I guess it > would be possible to emulate uDMA inside the vm, too, but it's likely to > even slowdown the emulation. >=20 > So long, > Jan