Re: [Qemu-devel] [RFC 0/7] qcow2: implement lazy refcounts optimization

2012-06-25 Thread Stefan Hajnoczi
On Mon, Jun 25, 2012 at 3:06 PM, Zhi Yong Wu wrote: > On Fri, Jun 22, 2012 at 11:08 PM, Stefan Hajnoczi > wrote: >> This series aims to improve qcow2 performance with cache=writethrough and >> cache=directsync.  In particular it reduces the impact of metadata updates >> for > What does cache=dir

Re: [Qemu-devel] [RFC 0/7] qcow2: implement lazy refcounts optimization

2012-06-25 Thread Zhi Yong Wu
On Fri, Jun 22, 2012 at 11:08 PM, Stefan Hajnoczi wrote: > This series aims to improve qcow2 performance with cache=writethrough and > cache=directsync.  In particular it reduces the impact of metadata updates for What does cache=directsync mean? what is the difference between them? > allocating w

[Qemu-devel] [RFC 0/7] qcow2: implement lazy refcounts optimization

2012-06-22 Thread Stefan Hajnoczi
This series aims to improve qcow2 performance with cache=writethrough and cache=directsync. In particular it reduces the impact of metadata updates for allocating writes. Allocating writes are expensive because they involve updating L2 tables and refcount blocks. In addition they can also cause