qemu-devel.nongnu.org archive mirror
 help / color / mirror / Atom feed
From: Laurent Vivier <Laurent@lvivier.info>
To: qemu-devel@nongnu.org
Cc: Chris Wright <chrisw@redhat.com>,
	Mark McLoughlin <markmc@redhat.com>,
	Ryan Harper <ryanh@us.ibm.com>
Subject: Re: [Qemu-devel] Re: [RFC] Disk integrity in QEMU
Date: Wed, 15 Oct 2008 15:10:05 +0200	[thread overview]
Message-ID: <1224076205.4150.17.camel@frecb07144> (raw)
In-Reply-To: <20081013210509.GL21410@us.ibm.com>

Hi,

I made some tests on my system.

Intel Xeon, 2 GB RAM
Disk SATA 80 GB, using 4 GB Partitions

my guests are:

qemu/x86_64-softmmu/qemu-system-x86_64 -hda ../victory.qcow2 -drive file=/dev/sdc1,if=virtio,cache=on -net nic,model=virtio,macaddress=52:54:00:12:34:71 -net tap -serial stdio -m 512 -nographic

qemu/x86_64-softmmu/qemu-system-x86_64 -hda ../valkyrie.qcow2 -drive file=/dev/sdc2,if=virtio,cache=on -net nic,model=virtio,macaddress=52:54:00:12:34:72 -net tap -serial stdio -m 512 -nographic

I use the fio command given by Ryan with a 5 GB dataset (bigger than
host RAM).

Results follow.


baremetal


               |  MB/s | avg sub  | avg comp |
               |       | lat (us) | lat (ms) |
---------------+-------+----------+----------+
write,16k      | 59.86 |     4.29 |    20.25 |
write,64k      | 59.87 |     7.65 |    80.99 |
write,1M       | 59.87 | 14935.89 |  1280.71 |
---------------+-------+----------+----------+
read,16k       | 59.87 |     3.98 |    20,24 |
read,64k       | 59.88 |     8.19 |    80.98 |
read,1M        | 59.85 | 14959.63 |  1280.55 |
---------------+-------+----------+----------+


one guest, cache=on

               |  MB/s | avg sub  | avg comp |
               |       | lat (us) | lat (ms) |
---------------+-------+----------+----------+
write,16k      | 59.35 |    44.64 |    20.38 |
write,64k      | 53.40 |    70.87 |    90.72 |
write,1M       | 54.81 | 18963.69 |  1395.37 |
---------------+-------+----------+----------+
read,16k       | 35.62 |     7.84 |    34.02 |
read,64k       | 34.27 |    11.86 |   141.48 |
read,1M        | 17.50 | 59689.95 |  4344.10 |
---------------+-------+----------+----------+

one guest, cache=off

               |  MB/s | avg sub  | avg comp |
               |       | lat (us) | lat (ms) |
---------------+-------+----------+----------+
write,16k      | 59.31 |     4.44 |    20.43 |
write,64k      | 14.90 |    11.54 |   325.49 |
write,1M       | 23.37 | 44683.35 |  3255.03 |
---------------+-------+----------+----------+
read,16k       | 59.00 |     4.41 |    20.54 |
read,64k       | 13.04 |    11.84 |   371.80 |
read,1M        | 17.79 | 58712.11 |  4277.20 |
---------------+-------+----------+----------+

one guest, cache=on, O_DSYNC

               |  MB/s | avg sub  | avg comp |
               |       | lat (us) | lat (ms) |
---------------+-------+----------+----------+
write,16k      | 54.44 |    13.07 |    22.25 |
write,64k      | 54.19 |    13.10 |    89.48 |
write,1M       | 58.77 | 17763.85 |  1295.22 |
---------------+-------+----------+----------+
read,16k       | 35.27 |     7.83 |    34.36 |
read,64k       | 33.59 |    11.74 |   144.36 |
read,1M        | 17.44 | 59856.18 |  4357.69 |
---------------+-------+----------+----------+

two guests, cache=on

               |  MB/s | avg sub  | avg comp |
               |       | lat (us) | lat (ms) |
---------------+-------+----------+----------+
write,16k      | 19.20 |    36.83 |    63.11 |
               | 18.90 |    35.06 |    64.10 |
write,64k      | 18.22 |    62.46 |   266.09 |
               | 17.68 |    61.64 |   274.89 |
write,1M       | 17.18 | 60442.52 |  4454.48 |
               | 17.11 | 61137.82 |  4424.15 |
---------------+-------+----------+----------+
read,16k       | 16.32 |     8.19 |    74.25 |
               | 20.62 |     7.17 |    58.77 |
read,64k       | 13.02 |    14.05 |   372.35 |
               | 13.47 |    14.60 |   359.95 |
read,1M        |  7.68 |135632.60 |  9909.40 |
               |  7.62 |137367.63 |  9985.99 |
---------------+-------+----------+----------+

two guests, cache=off

               |  MB/s | avg sub  | avg comp |
               |       | lat (us) | lat (ms) |
---------------+-------+----------+----------+
write,16k      | 26.39 |     7.08 |    45.58 |
               | 26.40 |     8.33 |    45.90 |
write,64k      |  8.08 |    12.77 |   599.79 |
               |  8.09 |    12.87 |   599.59 |
write,1M       | 10.27 |101694.60 |  7410.92 |
               | 10.28 |101513.20 |  7405.89 |
---------------+-------+----------+----------+
read,16k       | 42.36 |     4.60 |    28.60 |
               | 27.96 |    14.56 |    43.31 |
read,64k       |  5.84 |    13.31 |   830.94 |
               |  5.83 |    22.27 |   830.62 |
read,1M        |  7.82 |133631.63 |  9730.10 |
               |  7.82 |133351.59 |  9725.79 |
---------------+-------+----------+----------+

two guests, cache=on, O_DSYNC

               |  MB/s | avg sub  | avg comp |
               |       | lat (us) | lat (ms) |
---------------+-------+----------+----------+
write,16k      | 19.77 |    17.36 |    61.29 |
               | 19.73 |     6.36 |    61.43 |
write,64k      | 23.10 |    14.00 |   209.94 |
               | 36.25 |    14.51 |    25.22 |
write,1M       | 23.94 | 43704.88 |  3146.77 |
               | 36.68 | 28456.63 |  2073.53 |
---------------+-------+----------+----------+
read,16k       | 16.38 |     8.04 |    73.99 |
               | 20.08 |     6.88 |    60.38 |
read,64k       | 11.39 |    15.22 |   425.61 |
               | 11.50 |    14.97 |   421.55 |
read,1M        |  7.68 |135693.24 |  9914.71 |
               |  7.61 |137409.27 |  9984.48 |
---------------+-------+----------+----------+


-- 
------------------ Laurent.Vivier@bull.net  ------------------
"Tout ce qui est impossible reste à accomplir"    Jules Verne
"Things are only impossible until they're not" Jean-Luc Picard

  reply	other threads:[~2008-10-15 13:10 UTC|newest]

Thread overview: 101+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2008-10-09 17:00 [Qemu-devel] [RFC] Disk integrity in QEMU Anthony Liguori
2008-10-10  7:54 ` Gerd Hoffmann
2008-10-10  8:12   ` Mark McLoughlin
2008-10-12 23:10     ` Jamie Lokier
2008-10-14 17:15       ` Avi Kivity
2008-10-10  9:32   ` Avi Kivity
2008-10-12 23:00     ` Jamie Lokier
2008-10-10  8:11 ` Aurelien Jarno
2008-10-10 12:26   ` Anthony Liguori
2008-10-10 12:53     ` Paul Brook
2008-10-10 13:55       ` Anthony Liguori
2008-10-10 14:05         ` Paul Brook
2008-10-10 14:19         ` Avi Kivity
2008-10-17 13:14           ` Jens Axboe
2008-10-19  9:13             ` Avi Kivity
2008-10-10 15:48     ` Aurelien Jarno
2008-10-10  9:16 ` Avi Kivity
2008-10-10  9:58   ` Daniel P. Berrange
2008-10-10 10:26     ` Avi Kivity
2008-10-10 12:59       ` Paul Brook
2008-10-10 13:20         ` Avi Kivity
2008-10-10 12:34   ` Anthony Liguori
2008-10-10 12:56     ` Avi Kivity
2008-10-11  9:07     ` andrzej zaborowski
2008-10-11 17:54   ` Mark Wagner
2008-10-11 20:35     ` Anthony Liguori
2008-10-12  0:43       ` Mark Wagner
2008-10-12  1:50         ` Chris Wright
2008-10-12 16:22           ` Jamie Lokier
2008-10-12 17:54         ` Anthony Liguori
2008-10-12 18:14           ` nuitari-qemu
2008-10-13  0:27           ` Mark Wagner
2008-10-13  1:21             ` Anthony Liguori
2008-10-13  2:09               ` Mark Wagner
2008-10-13  3:16                 ` Anthony Liguori
2008-10-13  6:42                 ` Aurelien Jarno
2008-10-13 14:38                 ` Steve Ofsthun
2008-10-12  0:44       ` Chris Wright
2008-10-12 10:21         ` Avi Kivity
2008-10-12 14:37           ` Dor Laor
2008-10-12 15:35             ` Jamie Lokier
2008-10-12 18:00               ` Anthony Liguori
2008-10-12 18:02             ` Anthony Liguori
2008-10-15 10:17               ` Andrea Arcangeli
2008-10-12 17:59           ` Anthony Liguori
2008-10-12 18:34             ` Avi Kivity
2008-10-12 19:33               ` Izik Eidus
2008-10-14 17:08                 ` Avi Kivity
2008-10-12 19:59               ` Anthony Liguori
2008-10-12 20:43                 ` Avi Kivity
2008-10-12 21:11                   ` Anthony Liguori
2008-10-14 15:21                     ` Avi Kivity
2008-10-14 15:32                       ` Anthony Liguori
2008-10-14 15:43                         ` Avi Kivity
2008-10-14 19:25                       ` Laurent Vivier
2008-10-16  9:47                         ` Avi Kivity
2008-10-12 10:12       ` Avi Kivity
2008-10-17 13:20         ` Jens Axboe
2008-10-19  9:01           ` Avi Kivity
2008-10-19 18:10             ` Jens Axboe
2008-10-19 18:23               ` Avi Kivity
2008-10-19 19:17                 ` M. Warner Losh
2008-10-19 19:31                   ` Avi Kivity
2008-10-19 18:24               ` Avi Kivity
2008-10-19 18:36                 ` Jens Axboe
2008-10-19 19:11                   ` Avi Kivity
2008-10-19 19:30                     ` Jens Axboe
2008-10-19 20:16                       ` Avi Kivity
2008-10-20 14:14                       ` Avi Kivity
2008-10-10 10:03 ` Fabrice Bellard
2008-10-13 16:11 ` Laurent Vivier
2008-10-13 16:58   ` Anthony Liguori
2008-10-13 17:36     ` Jamie Lokier
2008-10-13 17:06 ` [Qemu-devel] " Ryan Harper
2008-10-13 18:43   ` Anthony Liguori
2008-10-14 16:42     ` Avi Kivity
2008-10-13 18:51   ` Laurent Vivier
2008-10-13 19:43     ` Ryan Harper
2008-10-13 20:21       ` Laurent Vivier
2008-10-13 21:05         ` Ryan Harper
2008-10-15 13:10           ` Laurent Vivier [this message]
2008-10-16 10:24             ` Laurent Vivier
2008-10-16 13:43               ` Anthony Liguori
2008-10-16 16:08                 ` Laurent Vivier
2008-10-17 12:48                 ` Avi Kivity
2008-10-17 13:17                   ` Laurent Vivier
2008-10-14 10:05       ` Kevin Wolf
2008-10-14 14:32         ` Ryan Harper
2008-10-14 16:37       ` Avi Kivity
2008-10-13 19:00   ` Mark Wagner
2008-10-13 19:15     ` Ryan Harper
2008-10-14 16:49       ` Avi Kivity
2008-10-13 17:58 ` [Qemu-devel] " Rik van Riel
2008-10-13 18:22   ` Jamie Lokier
2008-10-13 18:34     ` Rik van Riel
2008-10-14  1:56       ` Jamie Lokier
2008-10-14  2:28         ` nuitari-qemu
2008-10-28 17:34 ` Ian Jackson
2008-10-28 17:45   ` Anthony Liguori
2008-10-28 17:50     ` Ian Jackson
2008-10-28 18:19       ` Jamie Lokier

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=1224076205.4150.17.camel@frecb07144 \
    --to=laurent@lvivier.info \
    --cc=chrisw@redhat.com \
    --cc=markmc@redhat.com \
    --cc=qemu-devel@nongnu.org \
    --cc=ryanh@us.ibm.com \
    /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).