Received: from [140.186.70.92] (port=53193 helo=eggs.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1Ok3Yl-0001N6-Dv for qemu-devel@nongnu.org; Fri, 13 Aug 2010 19:21:12 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.69) (envelope-from ) id 1Ok3Yk-0001ZO-6y for qemu-devel@nongnu.org; Fri, 13 Aug 2010 19:21:11 -0400 Received: from adelie.canonical.com ([91.189.90.139]:45641) by eggs.gnu.org with esmtp (Exim 4.69) (envelope-from ) id 1Ok3Yj-0001ZC-T4 for qemu-devel@nongnu.org; Fri, 13 Aug 2010 19:21:10 -0400 Received: from loganberry.canonical.com ([91.189.90.37]) by adelie.canonical.com with esmtp (Exim 4.69 #1 (Debian)) id 1Ok3Yg-00085n-3M for ; Sat, 14 Aug 2010 00:21:06 +0100 Received: from loganberry.canonical.com (localhost [127.0.0.1]) by loganberry.canonical.com (Postfix) with ESMTP id 79FFD2E8829 for ; Sat, 14 Aug 2010 00:20:55 +0100 (BST) MIME-Version: 1.0 Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: quoted-printable Date: Fri, 13 Aug 2010 23:10:42 -0000 From: "Jamin W. Collins" Sender: bounces@canonical.com References: <20100422141538.26448.76102.malonedeb@wampee.canonical.com> Message-Id: <20100813231042.20919.83884.malone@soybean.canonical.com> Errors-To: bounces@canonical.com Subject: [Qemu-devel] [Bug 568445] Re: LVM backed drives should default to cache='none' Reply-To: Bug 568445 <568445@bugs.launchpad.net> List-Id: qemu-devel.nongnu.org List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: qemu-devel@nongnu.org @Anthony, I'm aware that I can manipulate the cache settings via libvirt's XML. That's currently what I've been doing, manually after every VM creation. However, my point is that qemu clearly recommends that caching not be used with disks stored on raw volumes. Additionally, virt-manager does not provide any means of disabling caching during or after VM creation. I disagree with your assertion regarding cached IO being faster with KVM. All of my tests indicate a multiple fold increase in performance with caching disabled. I fail to see how caching provides and more data integrity than no caching. Unless I'm mistaken, no caching provides more integrity by definition. Now, if no caching also provides a mutli-fold performance increase (which it does, as qemu's pages even indicate) why so much resistance to making it the default? -- = LVM backed drives should default to cache=3D'none' https://bugs.launchpad.net/bugs/568445 You received this bug notification because you are a member of qemu- devel-ml, which is subscribed to QEMU. Status in QEMU: Invalid Status in =E2=80=9Cvirt-manager=E2=80=9D package in Ubuntu: Triaged Bug description: Binary package hint: virt-manager KVM guests using LVM backed drives appear to experience fairly high iowait = times on the host system if the guest has even a moderate amount of disk I/= O. This translates to poor performance for the host and all guests running= on the host, and appears to be due to caching as KVM defaults to using wri= tethrough caching when nothing is specified. Explicitly disabling KVM's ca= ching appears to result in significantly better host and guest performance. This is recommended in at least a few places: http://www.mail-archive.com/libvir-list@redhat.com/msg17492.html http://permalink.gmane.org/gmane.comp.emulators.kvm.devel/48471 http://www.mail-archive.com/kvm@vger.kernel.org/msg30425.html http://virt.kernelnewbies.org/XenVsKVM