Received: from eggs.gnu.org ([140.186.70.92]:35935) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1QbvZr-0000Ba-8n for Qemu-devel@nongnu.org; Wed, 29 Jun 2011 10:17:16 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1QbvZp-00029e-SJ for Qemu-devel@nongnu.org; Wed, 29 Jun 2011 10:17:15 -0400 Received: from isrv.corpit.ru ([86.62.121.231]:52127) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1QbvZp-00028C-EL for Qemu-devel@nongnu.org; Wed, 29 Jun 2011 10:17:13 -0400 Message-ID: <4E0B33DE.5000706@msgid.tls.msk.ru> Date: Wed, 29 Jun 2011 18:17:02 +0400 From: Michael Tokarev MIME-Version: 1.0 References: <4E0B1399.4050807@redhat.com> <4E0B152B.1000201@codemonkey.ws> <4E0B1787.30709@redhat.com> <4E0B1943.4090400@codemonkey.ws> <4E0B1B62.9080309@redhat.com> In-Reply-To: <4E0B1B62.9080309@redhat.com> Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit Subject: Re: [Qemu-devel] Default cache mode List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: Kevin Wolf Cc: Qemu-devel@nongnu.org, Stefan Hajnoczi , Avi Kivity , Christoph Hellwig 29.06.2011 16:32, Kevin Wolf wrote: > Am 29.06.2011 14:23, schrieb Anthony Liguori: >> On 06/29/2011 07:16 AM, Kevin Wolf wrote: >>> No, people are also complaining about bad performance with raw. Which >>> isn't really surprising when you do a flush after each single write >>> request. O_SYNC is really much more than is needed in the average case. >> >> Which file system on the host? > > Honestly, I don't know. Usually the problem is resolved with setting a > different cache option, so nobody bothers to ask for details. I'd guess > that it's ext4 in most cases. Extremly poor performance also happens on raw devices -- be it lvm volumes or plain partitions, so that's w/o any filesystem. Sure, a filesystem adds quite noticeable overhead (because of mtime updates and that sort of things), but _just_ syncronous writes are enough to kill performance. /mjt