From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1IzGwS-0002lh-HK for qemu-devel@nongnu.org; Mon, 03 Dec 2007 14:26:56 -0500 Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1IzGwR-0002lH-4X for qemu-devel@nongnu.org; Mon, 03 Dec 2007 14:26:56 -0500 Received: from [199.232.76.173] (helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1IzGwQ-0002lE-Vr for qemu-devel@nongnu.org; Mon, 03 Dec 2007 14:26:55 -0500 Received: from smtp.citrix.com ([66.165.176.89]) by monty-python.gnu.org with esmtp (Exim 4.60) (envelope-from ) id 1IzGwQ-00016k-Cp for qemu-devel@nongnu.org; Mon, 03 Dec 2007 14:26:54 -0500 Date: Mon, 3 Dec 2007 20:26:48 +0100 From: Samuel Thibault Subject: Re: [Qemu-devel] [PATCH 2/2 v2] Direct IDE I/O Message-ID: <20071203192648.GD3797@implementation> References: <11966765602186@bull.net> <1196677804.5275.5.camel@frecb07144> <200712031539.49285.paul@codesourcery.com> MIME-Version: 1.0 Content-Type: text/plain; charset=iso-8859-1 Content-Disposition: inline Content-Transfer-Encoding: 8bit In-Reply-To: <200712031539.49285.paul@codesourcery.com> 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: Markus Hitter Paul Brook, le Mon 03 Dec 2007 15:39:48 +0000, a écrit : > I think host caching is still useful enough to be enabled by default, and > provides a significant performance increase in several cases. > > - The guest typically has a relatively small quantity of RAM, compared to a > modern machine. Allowing the host OS to act as a demand-based L2 cache > allows this to be used without having to dedicate excessive quantities of ram > to qemu. > - I've seen reports that it significantly speeds up the windows installer. > - Host cache is persistent between multiple qemu runs. f you're doing anything > that requires frequent guest reboots (e.g. kernel debugging) this is going to > be a huge win. > - You're running a host OS that has limited or no caching (e.g. DOS). Yes, and in other cases (e.g. real-production KVM/Xen servers), this is just cache duplication. > I'd hope that the host OS would have cache use heuristics that would help > limit cache pollution. How could it? It can't detect that the guest also has a buffer/page cache. Samuel