From: Andrey Korolyov <andrey@xdel.ru>
To: Vasiliy Tolstov <v.tolstov@selfip.ru>
Cc: libvir-list@redhat.com, QEMU <qemu-devel@nongnu.org>
Subject: Re: [Qemu-devel] strange behavior when using iotune
Date: Mon, 24 Nov 2014 18:18:02 +0400 [thread overview]
Message-ID: <CABYiri_1quB1a59G57oHSyyT=K+2KCfesMDuhJooRu2V2E7_=Q@mail.gmail.com> (raw)
In-Reply-To: <CACaajQsTrfVmxJRhefJ8RJ435yMAM7AU01uF+8bbAnO_mjbf3g@mail.gmail.com>
On Mon, Nov 24, 2014 at 5:09 PM, Vasiliy Tolstov <v.tolstov@selfip.ru> wrote:
> 2014-11-24 16:57 GMT+03:00 Andrey Korolyov <andrey@xdel.ru>:
>> Hello Vasiliy,
>>
>> can you please check actual values via qemu-monitor-command domid '{
>> "execute": "query-block"}', just to be sure to pin the potential
>> problem to the emulator itself?
>
> virsh qemu-monitor-command 11151 '{ "execute": "query-block"}' | jq '.'
> {
> "return": [
> {
> "io-status": "ok",
> "device": "drive-scsi0-0-0-0",
> "locked": false,
> "removable": false,
> "inserted": {
> "iops_rd": 0,
> "image": {
> "virtual-size": 21474836480,
> "filename": "/dev/vg3/11151",
> "format": "raw",
> "actual-size": 0,
> "dirty-flag": false
> },
> "iops_wr": 0,
> "ro": false,
> "backing_file_depth": 0,
> "drv": "raw",
> "iops": 5000,
> "bps_wr": 0,
> "encrypted": false,
> "bps": 0,
> "bps_rd": 0,
> "iops_max": 500,
> "file": "/dev/vg3/11151",
> "encryption_key_missing": false
> },
> "type": "unknown"
> }
> ],
> "id": "libvirt-22"
> }
>
> i'm used this site
> http://www.ssdfreaks.com/content/599/how-to-convert-mbps-to-iops-or-calculate-iops-from-mbs
> root@11151:~# dd if=/dev/sda bs=4K of=/dev/null
> 5242880+0 records in
> 5242880+0 records out
> 21474836480 bytes (21 GB) copied, 45.2557 s, 475 MB/s
>
> so in case of 5000 iops i need to get only 19-20 MB/s
>
>
> --
> Vasiliy Tolstov,
> e-mail: v.tolstov@selfip.ru
> jabber: vase@selfip.ru
I am not sure for friendliness of possible dd interpretations for new
leaky bucket mechanism, as its results can be a little confusing even
for fio (all operations which are above the limit for long-running
test will have 250ms latency, putting down score numbers in most
popular tests like UnixBench), also w/o sync options these results are
almost meaningless. May be fio with direct=1|fsync=1 (for fs) will
give a more appropriate numbers in your case.
next prev parent reply other threads:[~2014-11-24 14:18 UTC|newest]
Thread overview: 5+ messages / expand[flat|nested] mbox.gz Atom feed top
2014-11-24 12:02 [Qemu-devel] strange behavior when using iotune Vasiliy Tolstov
2014-11-24 13:57 ` Andrey Korolyov
2014-11-24 14:09 ` Vasiliy Tolstov
2014-11-24 14:18 ` Andrey Korolyov [this message]
2014-11-24 15:56 ` Vasiliy Tolstov
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='CABYiri_1quB1a59G57oHSyyT=K+2KCfesMDuhJooRu2V2E7_=Q@mail.gmail.com' \
--to=andrey@xdel.ru \
--cc=libvir-list@redhat.com \
--cc=qemu-devel@nongnu.org \
--cc=v.tolstov@selfip.ru \
/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).