From: Kevin Wolf <kwolf@redhat.com>
To: al pat <alps.oss@gmail.com>
Cc: qemu-devel@nongnu.org
Subject: Re: [Qemu-devel] how to verify virtio is being used?
Date: Fri, 17 Jun 2011 13:15:00 +0200 [thread overview]
Message-ID: <4DFB3734.8080307@redhat.com> (raw)
In-Reply-To: <BANLkTi=ELNsKD=s8E+AsLfFPCR8wXRV_Ww@mail.gmail.com>
Am 16.06.2011 20:57, schrieb al pat:
> I have posted this on kvm alias, but have not heard back. seeing some inputs.
>
> seeking some pointers/guidance as to how to determine virtio is being used...
>
> I configured a VM to use block device with if=virtio (create a 1GB
> disk using dd I exported this disk to the VM and am now doing scp from
> host to the
> guest after creating partition/mkfs.
>
> I created another 1GB disk and export it as a IDE disk. I use the same
> scp command from host to guest after creating partition/mkfs.
>
> I am trying to determine if my block IO is indeed using virtio in the
> first case.
>
> Empirically, I observe that with if=virtio, the throughput is about
> 30% more (in terms of mbps) and time taken is about 40% less than
> for the case where I passed the disk as a IDE disk.
>
> My scp happens over virbr0 interface (and currently I am not concerned
> if networking is using virtio)
>
> How do I confirm that virtio is being used? Are there any debugs that
> I can enable to do that.
Have a look at the guest kernel logs, lspci output or just at the device
name: IDE disks are called /dev/sda etc. whereas virtio-blk disks are
called /dev/vda etc.
Kevin
next prev parent reply other threads:[~2011-06-17 14:31 UTC|newest]
Thread overview: 4+ messages / expand[flat|nested] mbox.gz Atom feed top
2011-06-16 18:57 [Qemu-devel] how to verify virtio is being used? al pat
2011-06-17 11:15 ` Kevin Wolf [this message]
2011-06-17 11:39 ` al pat
2011-06-17 11:50 ` Kevin Wolf
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=4DFB3734.8080307@redhat.com \
--to=kwolf@redhat.com \
--cc=alps.oss@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 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.