public inbox for kvm@vger.kernel.org
 help / color / mirror / Atom feed
From: Anthony Liguori <anthony@codemonkey.ws>
To: Kevin Wolf <kwolf@redhat.com>
Cc: Chris Wright <chrisw@redhat.com>,
	qemu-devel@nongnu.org, kvm@vger.kernel.org
Subject: Re: [Qemu-devel] Re: KVM call minutes for Sept 14
Date: Wed, 15 Sep 2010 07:26:54 -0500	[thread overview]
Message-ID: <4C90BB8E.1020201@codemonkey.ws> (raw)
In-Reply-To: <4C908418.9070301@redhat.com>

On 09/15/2010 03:30 AM, Kevin Wolf wrote:
> Am 14.09.2010 17:11, schrieb Anthony Liguori:
>    
>> On 09/14/2010 09:47 AM, Chris Wright wrote:
>>      
>>> 0.13
>>> - if all goes well...tomorrow
>>>
>>>        
>> To tag, it may be thursday for announcement.  I need to run a regression
>> run tonight.
>>
>>      
>>> qed/qcow2
>>> - increase concurrency, performance
>>>
>>>        
>> To achieve performance, a block driver must: 1) support concurrent
>> request handling 2) not hold the qemu_mutex for prolonged periods of time.
>>
>> QED never does (2) and supports (1) in all circumstances except cluster
>> allocation today.
>>
>> qcow2 can do (1) for the data read/write portions of an I/O request.
>> All metadata read/write is serialized.  It also does (2) for all
>> metadata operations and for CoW operations.
>>
>> These are implementation details though.  The real claim of QED is that
>> by having fewer IO ops required to satisfy a request, it achieves better
>> performance especially since it achieves zero syncs in the cluster
>> allocation path.  qcow2 has two syncs in the cluster allocation path
>> today.  One sync is due to the refcount table.  Another sync is due to
>> the fact that it doesn't require fsck support.
>>      
> The refcount table sync is the sync that allows not doing an fsck. For a
> simple cluster allocation (no L2 allocation, no COW), we only have one
> sync (which is still one sync too much in this path, so we must move it).
>    

Don't you have to write both a reference count entry and update the L2 
entry?  Both calls would be bdrv_pwrite_sync, no?

Regards,

Anthony Liguori

> Kevin
>    


  reply	other threads:[~2010-09-15 12:26 UTC|newest]

Thread overview: 9+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2010-09-14 14:47 KVM call minutes for Sept 14 Chris Wright
2010-09-14 15:11 ` Anthony Liguori
2010-09-15  8:30   ` [Qemu-devel] " Kevin Wolf
2010-09-15 12:26     ` Anthony Liguori [this message]
2010-09-15 12:38       ` Kevin Wolf
2010-09-15 13:21         ` Anthony Liguori
2010-09-15 13:30           ` Kevin Wolf
2010-09-15 13:52             ` Anthony Liguori
2010-09-15 13:57               ` Kevin Wolf

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=4C90BB8E.1020201@codemonkey.ws \
    --to=anthony@codemonkey.ws \
    --cc=chrisw@redhat.com \
    --cc=kvm@vger.kernel.org \
    --cc=kwolf@redhat.com \
    --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 a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox