From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from [140.186.70.92] (port=41446 helo=eggs.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1OF5yy-00029y-3c for qemu-devel@nongnu.org; Thu, 20 May 2010 09:40:21 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.69) (envelope-from ) id 1OF5ys-0004oD-Eg for qemu-devel@nongnu.org; Thu, 20 May 2010 09:40:15 -0400 Received: from mail-qy0-f173.google.com ([209.85.221.173]:56688) by eggs.gnu.org with esmtp (Exim 4.69) (envelope-from ) id 1OF5ys-0004o7-Ab for qemu-devel@nongnu.org; Thu, 20 May 2010 09:40:10 -0400 Received: by qyk4 with SMTP id 4so4879366qyk.18 for ; Thu, 20 May 2010 06:40:09 -0700 (PDT) Message-ID: <4BF53BB6.5060402@codemonkey.ws> Date: Thu, 20 May 2010 08:40:06 -0500 From: Anthony Liguori MIME-Version: 1.0 Subject: Re: [Qemu-devel] [PATCH] QEMU: change default disk cache behavior References: <1274347924-9188-1-git-send-email-Jes.Sorensen@redhat.com> <4BF52B64.1020903@codemonkey.ws> <4BF53AEE.10207@redhat.com> In-Reply-To: <4BF53AEE.10207@redhat.com> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit List-Id: qemu-devel.nongnu.org List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: Jes Sorensen Cc: hch@infradead.org, aliguori@us.ibm.com, qemu-devel@nongnu.org, crobinso@redhat.com On 05/20/2010 08:36 AM, Jes Sorensen wrote: > On 05/20/10 14:30, Anthony Liguori wrote: > >> On 05/20/2010 04:32 AM, Jes.Sorensen@redhat.com wrote: >> >>> Therefore, here is a patch that does two things: >>> - default to "nocache" >>> - in case of failure with nocache, retry with "write-back" >>> >>> >> This sort of change requires performance data in a variety of >> circumstances to justify. >> >> And I strongly suspect that such a blanket change would be wrong but >> that a more targeted change like making cache=none default for physical >> devices would satisfy mostly everyone. >> > Is there any other thing than physical devices attached to the -drive > parameter? > Image files which are the overwhelming more common use-case. Regards, Anthony Liguori > If so, I can take a look at making it more generic when I am back from > holiday next week. > > Jes > >