[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]

Re: [libvirt] [Qemu-devel] strange behavior when using iotune



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


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]