All of lore.kernel.org
 help / color / mirror / Atom feed
* [Qemu-devel] effect of cluster_size on qcow2 performance during expansion
@ 2012-02-23  8:24 PANKAJ RAWAT
  2012-02-23  9:17 ` Stefan Hajnoczi
  0 siblings, 1 reply; 2+ messages in thread
From: PANKAJ RAWAT @ 2012-02-23  8:24 UTC (permalink / raw)
  To: qemu-devel

[-- Attachment #1: Type: text/plain, Size: 858 bytes --]

Hi all

I have been working on the qcow2 image format ,

In theory regarding  cluster size it is written that as the size of cluster
increase performance should increase.



But something surprising happen The performance is degrading as the size of
cluster increased from *64K* to *1M* or *2M*  ( during expansion of qcow2
image)



By expansion i mean that initially qcow2 image is small in size and size
increases when we perform any write operation on it.


Here are the reading taken through fio tool during write operation


*Cluster size : 32K    587Mb/sec (aggrb MB/sec)
*

*
*
*Cluster size : 64K    697Mb/sec** (aggrb MB/sec)*
*
Cluster size : 1M     440Mb/sec*  *(aggrb MB/sec)*

*
*
* Cluster size : 2M     289Mb/sec**  (aggrb MB/sec)*

as in above it can bee seen that the 64k is performing better

can any one tell why ?




-- 
*Pankaj Rawat*

[-- Attachment #2: Type: text/html, Size: 2064 bytes --]

^ permalink raw reply	[flat|nested] 2+ messages in thread

* Re: [Qemu-devel] effect of cluster_size on qcow2 performance during expansion
  2012-02-23  8:24 [Qemu-devel] effect of cluster_size on qcow2 performance during expansion PANKAJ RAWAT
@ 2012-02-23  9:17 ` Stefan Hajnoczi
  0 siblings, 0 replies; 2+ messages in thread
From: Stefan Hajnoczi @ 2012-02-23  9:17 UTC (permalink / raw)
  To: PANKAJ RAWAT; +Cc: qemu-devel

On Thu, Feb 23, 2012 at 8:24 AM, PANKAJ RAWAT <pankajr141@gmail.com> wrote:
> Here are the reading taken through fio tool during write operation
>
>
> Cluster size : 32K    587Mb/sec (aggrb MB/sec)
>
>
> Cluster size : 64K    697Mb/sec (aggrb MB/sec)
>
> Cluster size : 1M     440Mb/sec  (aggrb MB/sec)
>
>
> Cluster size : 2M     289Mb/sec  (aggrb MB/sec)
>
> as in above it can bee seen that the 64k is performing better
>
> can any one tell why ?

Yes.  Please see the other email thread you created on this topic.

Stefan

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2012-02-23  9:17 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2012-02-23  8:24 [Qemu-devel] effect of cluster_size on qcow2 performance during expansion PANKAJ RAWAT
2012-02-23  9:17 ` Stefan Hajnoczi

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.