All of lore.kernel.org
 help / color / mirror / Atom feed
From: Anthony Liguori <anthony@codemonkey.ws>
To: qemu-devel@nongnu.org
Cc: Laurent Vivier <Laurent.Vivier@bull.net>
Subject: Re: [Qemu-devel] [PATCH 0/2] Open disk images with O_DIRECT
Date: Wed, 28 Nov 2007 08:58:58 -0600	[thread overview]
Message-ID: <474D8232.5070802@codemonkey.ws> (raw)
In-Reply-To: <20071128143402.GG4083@implementation.uk.xensource.com>

Samuel Thibault wrote:
> Daniel P. Berrange, le Wed 28 Nov 2007 14:27:39 +0000, a écrit :
>   
>> On Wed, Nov 28, 2007 at 03:02:50PM +0100, Laurent Vivier wrote:
>>     
>>> These patches allow to open file using O_DIRECT and bypass the host I/O cache.
>>>
>>> [PATCH 1/2] Add "directio" parameter to "-drive"
>>>
>>>     Using "directio=on" with "-drive" will open the disk image 
>>>     file using "O_DIRECT".
>>>       
>> I don't see the point in adding a config param for this. If it provides a
>> useful performance improvement (or other benefit) we should enable it by 
>> default all the time.
>>     
>
> That depends on the mileage of the user.  Sometimes it is useful since
> it avoids the duplication of page or buffer cache between the guest and
> the host, sometimes it is not because the guest is not so i/o friendly
> and hence using the host page/buffer cache is useful.
>   

In the very least, I think it should be named something more along the 
lines of "caching=off" or "buffering=off" since that's closer to what 
the hardware concept is without exposing implementation details to the user.

Regards,

Anthony Liguori

> Samuel
>
>
>
>   

  reply	other threads:[~2007-11-28 14:59 UTC|newest]

Thread overview: 12+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2007-11-28 14:02 [Qemu-devel] [PATCH 0/2] Open disk images with O_DIRECT Laurent Vivier
2007-11-28 14:02 ` [Qemu-devel] [PATCH 1/2] Add "directio" parameter to "-drive" Laurent Vivier
2007-11-28 14:02   ` [Qemu-devel] [PATCH 2/2] Direct IDE I/O Laurent Vivier
2007-11-28 14:24   ` [Qemu-devel] [PATCH 1/2] Add "directio" parameter to "-drive" Samuel Thibault
2007-11-28 15:00     ` Laurent Vivier
2007-11-28 15:08       ` Samuel Thibault
2007-11-29  9:40     ` Laurent Vivier
2007-11-28 14:27 ` [Qemu-devel] [PATCH 0/2] Open disk images with O_DIRECT Daniel P. Berrange
2007-11-28 14:34   ` Samuel Thibault
2007-11-28 14:58     ` Anthony Liguori [this message]
2007-11-28 15:08     ` Daniel P. Berrange
2007-11-28 15:17       ` Samuel Thibault

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=474D8232.5070802@codemonkey.ws \
    --to=anthony@codemonkey.ws \
    --cc=Laurent.Vivier@bull.net \
    --cc=qemu-devel@nongnu.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.