From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1CnhBj-0003hy-08 for qemu-devel@nongnu.org; Sun, 09 Jan 2005 12:49:15 -0500 Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1CnhBi-0003hf-Gf for qemu-devel@nongnu.org; Sun, 09 Jan 2005 12:49:14 -0500 Received: from [199.232.76.173] (helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1CnhBi-0003hb-7O for qemu-devel@nongnu.org; Sun, 09 Jan 2005 12:49:14 -0500 Received: from [64.233.184.200] (helo=wproxy.gmail.com) by monty-python.gnu.org with esmtp (Exim 4.34) id 1CnguR-0008AG-W7 for qemu-devel@nongnu.org; Sun, 09 Jan 2005 12:31:24 -0500 Received: by wproxy.gmail.com with SMTP id 40so606629wri for ; Sun, 09 Jan 2005 09:31:23 -0800 (PST) Message-ID: Date: Sun, 9 Jan 2005 18:31:23 +0100 From: Magnus Damm Subject: Re: [Qemu-devel] Re: [PATCH] upgraded mmap patches In-Reply-To: Mime-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit References: Reply-To: Magnus Damm , 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 On Sun, 09 Jan 2005 21:39:42 +0500, Alexander E. Patrakov wrote: > Magnus Damm wrote: > > > Hi All, > > > > I have just finished upgrading the CONFIG_MMU_MAP (aka mmap) patches > > written by Piotrek. I have only tested to build the code with > > --target-list=i386-softmmu and only on x86 hosts running Linux. I am > > able to run Win XP SP2 as guest both with and without mmap > > acceleration with the patch. > > > > The changes are not many since the last release by Piotrek, I just > > made sure the code applied to CVS of today and yeah, I added some > > basic code to support quad-word memory access. It is totally untested > > and probably broken right now. Someone please look at part4 of the > > patch and verify that I read 32-bit words the right way. > > > > Sorry PowerPC folks, no ppc host support yet. I will port up the ppc > > host patches after someone has fixed so ppc compiles cleanly... > > > > The first three parts are simply upgraded versions of the files > > v1-part[1-3].patch.gz that Piotrek posted to the list around a month > > ago. Part4 contains changes by me. > > > > Enjoy, please report back to the list with problems and benchmarks! > > Is a new patched qemu really supposed to be much slower than the original in > the case when /proc/sys/vm/max_map_count doesn't contain a number that's > big enough to enable acceleration? I don't think so. I believe that the code should just fall back on the ordinary softmmu implementation in that case. But I do not know the code very well. Did you experience the same effect with the old version of the patches? Thanks. / magnus