Re: [Qemu-devel] [PATCH v2 2/3] qed: add zero write detection support

2011-12-08 Thread Stefan Hajnoczi
On Thu, Dec 8, 2011 at 2:29 PM, Mark Wu wrote: > I tried to optimize the zero detecting code with SSE instruction.   The idea > comes from Paolo's patch "migration: vectorize is_dup_page".  It's expected > to give us an noticeable improvement. But I didn't find any improvement in > the qemu-io tes

Re: [Qemu-devel] [PATCH v2 2/3] qed: add zero write detection support

2011-12-08 Thread Mark Wu
I tried to optimize the zero detecting code with SSE instruction. The idea comes from Paolo's patch "migration: vectorize is_dup_page". It's expected to give us an noticeable improvement. But I didn't find any improvement in the qemu-io test even though I increased the image size to 5GB. Th

[Qemu-devel] [PATCH v2 2/3] qed: add zero write detection support

2011-12-07 Thread Stefan Hajnoczi
The QED image format is able to efficiently represent clusters containing zeroes with a magic offset value. This patch implements zero write detection for allocating writes so that image streaming can copy over zero clusters from a backing file without expanding the image file unnecessarily. This