From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1KqQ2o-0000fT-OI for qemu-devel@nongnu.org; Thu, 16 Oct 2008 06:25:26 -0400 Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1KqQ2m-0000eM-7B for qemu-devel@nongnu.org; Thu, 16 Oct 2008 06:25:25 -0400 Received: from [199.232.76.173] (port=48538 helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1KqQ2m-0000eJ-16 for qemu-devel@nongnu.org; Thu, 16 Oct 2008 06:25:24 -0400 Received: from ecfrec.frec.bull.fr ([129.183.4.8]:37766) by monty-python.gnu.org with esmtp (Exim 4.60) (envelope-from ) id 1KqQ2l-00012T-Ll for qemu-devel@nongnu.org; Thu, 16 Oct 2008 06:25:24 -0400 Subject: Re: [Qemu-devel] Re: [RFC] Disk integrity in QEMU From: Laurent Vivier In-Reply-To: <1224076205.4150.17.camel@frecb07144> References: <48EE38B9.2050106@codemonkey.ws> <20081013170610.GF21410@us.ibm.com> <6A99DBA5-D422-447D-BF9D-019FB394E6C6@lvivier.info> <20081013194328.GJ21410@us.ibm.com> <148FE536-F397-4F51-AE3F-C94E4F1F5D4E@lvivier.info> <20081013210509.GL21410@us.ibm.com> <1224076205.4150.17.camel@frecb07144> Content-Type: text/plain; charset=utf-8 Date: Thu, 16 Oct 2008 12:24:40 +0200 Message-Id: <1224152681.4168.5.camel@frecb07144> Mime-Version: 1.0 Content-Transfer-Encoding: quoted-printable 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: Chris Wright , Mark McLoughlin , Ryan Harper Hi, I've made a benchmark using a database: mysql and sysbench in OLTP mode. cache=3Doff seems to be the best choice in this case... mysql database http://sysbench.sourceforge.net sysbench --test=3Doltp 200,000 requests on 2,000,000 rows table. | total time | per-request stat (ms) | | (seconds) | min | avg | max | -----------------+------------+-------+-------+-------+ baremetal | 208.6237 | 2.5 | 16.7 | 942.6 | -----------------+------------+-------+-------+-------+ cache=3Don | 642.2962 | 2.5 | 51.4 | 326.9 | -----------------+------------+-------+-------+-------+ cache=3Don,O_DSYNC | 646.6570 | 2.7 | 51.7 | 347.0 | -----------------+------------+-------+-------+-------+ cache=3Doff | 635.4424 | 2.9 | 50.8 | 399.5 | -----------------+------------+-------+-------+-------+ Laurent --=20 ------------------ Laurent.Vivier@bull.net ------------------ "Tout ce qui est impossible reste =C3=A0 accomplir" Jules Verne "Things are only impossible until they're not" Jean-Luc Picard