qemu-devel.nongnu.org archive mirror
 help / color / mirror / Atom feed
From: PANKAJ RAWAT <pankajr141@gmail.com>
To: qemu-devel <qemu-devel@nongnu.org>
Subject: [Qemu-devel] effect of cluster_size on qcow2 performance during expansion
Date: Thu, 23 Feb 2012 13:54:15 +0530	[thread overview]
Message-ID: <CABZruFAisb9a-xuY7ORWFv0LvV0FpDA8fjzmtHvft-X4KYVBbA@mail.gmail.com> (raw)

[-- 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 --]

             reply	other threads:[~2012-02-23  8:24 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2012-02-23  8:24 PANKAJ RAWAT [this message]
2012-02-23  9:17 ` [Qemu-devel] effect of cluster_size on qcow2 performance during expansion Stefan Hajnoczi

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=CABZruFAisb9a-xuY7ORWFv0LvV0FpDA8fjzmtHvft-X4KYVBbA@mail.gmail.com \
    --to=pankajr141@gmail.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;
as well as URLs for NNTP newsgroup(s).