From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1Mivpe-0007Yr-Ra for qemu-devel@nongnu.org; Wed, 02 Sep 2009 15:49:27 -0400 Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1MivpY-0007Sm-Ue for qemu-devel@nongnu.org; Wed, 02 Sep 2009 15:49:25 -0400 Received: from [199.232.76.173] (port=44412 helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1MivpY-0007Sa-GQ for qemu-devel@nongnu.org; Wed, 02 Sep 2009 15:49:20 -0400 Received: from verein.lst.de ([213.95.11.210]:56243) by monty-python.gnu.org with esmtps (TLS-1.0:DHE_RSA_3DES_EDE_CBC_SHA1:24) (Exim 4.60) (envelope-from ) id 1MivpX-0007Eu-Kk for qemu-devel@nongnu.org; Wed, 02 Sep 2009 15:49:20 -0400 Date: Wed, 2 Sep 2009 21:49:12 +0200 From: Christoph Hellwig Subject: Re: [Qemu-devel] [PATCH 1/4] block: add enable_write_cache flag Message-ID: <20090902194912.GA490@lst.de> References: <20090831201627.GA4811@lst.de> <20090831201651.GA4874@lst.de> <20090831220950.GB24318@shareable.org> <20090831221622.GA8834@lst.de> <4A9C5463.4090904@codemonkey.ws> <20090902035337.GA18844@lst.de> <4A9E6F90.8060609@codemonkey.ws> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <4A9E6F90.8060609@codemonkey.ws> List-Id: qemu-devel.nongnu.org List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: Anthony Liguori Cc: Christoph Hellwig , qemu-devel@nongnu.org On Wed, Sep 02, 2009 at 08:13:52AM -0500, Anthony Liguori wrote: > >performance should be kind of a worst case. All these patches are > >with Linux 2.6.31-rc8 + my various barrier fixes on guest and host, > >using ext3 with barrier=1 on both. > > > > Does barrier=0 make a performance difference? IOW, would the typical > default ext3 deployment show worse behavior? Note for this tyical ext3 deployment the barrier patches are kinda useless, because we still don't have any data integrity guarantees at all. Anyway, here are the numbers with barrier=0 on host and guest: data=writeback, no write cache advertised: 9m37.890s, 9m38.303s, 9m38.423s, 9m38.861s, 9m39.599s data=writeback, write cache advertized (and backed by fdatasync): 9m39.649s, 9m39.772s, 9m40.149s, 9m41.737s, 9m41.996s