From: Alex Williamson <alex.williamson@redhat.com>
To: Shyam <shyam.kaushik@gmail.com>
Cc: kvm@vger.kernel.org
Subject: Re: KVM pci-assign - iommu width is not sufficient for mapped address
Date: Thu, 07 Jan 2016 21:53:06 -0700 [thread overview]
Message-ID: <1452228786.29599.188.camel@redhat.com> (raw)
In-Reply-To: <CABYsEFcHodzaCPGy4K=bBtpNs+keS0NfjM1HBCz1-91vtKduig@mail.gmail.com>
On Fri, 2016-01-08 at 09:47 +0530, Shyam wrote:
> Hi Alex,
>
> Thanks for your inputs.
>
> We are using Mellanox ConnectX-3 iSER SRIOV capable NICs. We
> provision
> these VF's into the VM. The VM connects to few SSD drives through
> iSER. For this performance test, if we expose the same SSDs through
> iSER out of VM to servers & run vdbench 4K read/write workloads we
> see
> this significant performance drop when using vfio. These VM's have 8
> hyper-threads from Intel E5-2680 v3 server & 32GB RAM. The key
> observation is with vfio the cpu saturates much earlier & hence
> cannot
> allow us to scale IOPs.
>
> I will open a separate mail thread about this performance degradation
> using vfio with numbers. In the meantime if you can suggest how to
> look for performance issue or what logs you would prefer for VFIO
> debugging it will help in getting the needed info for you.
Hi Shyam,
For the degree of performance loss you're experiencing, I'd suspect
some sort of KVM acceleration is disabled. Would it be possible to
reproduce your testing on a host running something like Fedora 23 or
RHEL7/Centos7 where we know that the kernel and QEMU are fully enabled
for vfio?
Other useful information:
* QEMU command line or libvirt logs for VM in each configuration
* lspci -vvv of VF from host while in operation in each config
* QEMU version
* grep VFIO /boot/config-`uname -r` (or wherever the running kernel
config is on your system)
For a well behaved VF, device assignment should mostly setup VM access
and get out of the way, there should be little opportunity to inflict
such a high performance difference. If we can't spot anything obvious
and it's reproducible on a known kernel and QEMU, we can look into
tracing to see what might be happening. Thanks,
Alex
next prev parent reply other threads:[~2016-01-08 4:53 UTC|newest]
Thread overview: 9+ messages / expand[flat|nested] mbox.gz Atom feed top
2016-01-07 10:18 KVM pci-assign - iommu width is not sufficient for mapped address Shyam
2016-01-07 14:10 ` Alex Williamson
2016-01-08 4:17 ` Shyam
2016-01-08 4:53 ` Alex Williamson [this message]
2016-01-08 6:52 ` Shyam
2016-01-08 18:52 ` Alex Williamson
2016-01-11 10:11 ` Shyam
2016-01-11 23:20 ` Alex Williamson
2016-01-12 7:04 ` Shyam
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=1452228786.29599.188.camel@redhat.com \
--to=alex.williamson@redhat.com \
--cc=kvm@vger.kernel.org \
--cc=shyam.kaushik@gmail.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).