From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from eggs.gnu.org ([208.118.235.92]:52873) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1TCFls-0008Fa-9C for qemu-devel@nongnu.org; Thu, 13 Sep 2012 16:12:26 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1TCFlm-0002jB-Av for qemu-devel@nongnu.org; Thu, 13 Sep 2012 16:12:20 -0400 Received: from mail.linux-iscsi.org ([67.23.28.174]:36618 helo=linux-iscsi.org) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1TCFlm-0002is-5M for qemu-devel@nongnu.org; Thu, 13 Sep 2012 16:12:14 -0400 From: "Nicholas A. Bellinger" In-Reply-To: <504EBFD5.6050203@redhat.com> References: <1347000499-28701-1-git-send-email-nab@linux-iscsi.org> <504EBFD5.6050203@redhat.com> Content-Type: text/plain; charset="UTF-8" Date: Thu, 13 Sep 2012 13:12:09 -0700 Message-ID: <1347567129.7359.14.camel@haakon2.linux-iscsi.org> Mime-Version: 1.0 Content-Transfer-Encoding: 7bit Subject: Re: [Qemu-devel] [PATCH 0/5] vhost-scsi: Add support for host virtualized target List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: Asias He Cc: Stefan Hajnoczi , kvm-devel , "Michael S. Tsirkin" , Jan Kiszka , qemu-devel , Zhi Yong Wu , Anthony Liguori , target-devel , Hannes Reinecke , Paolo Bonzini , lf-virt , Christoph Hellwig On Tue, 2012-09-11 at 12:36 +0800, Asias He wrote: > Hello Nicholas, > Hello Asias! > On 09/07/2012 02:48 PM, Nicholas A. Bellinger wrote: > > From: Nicholas Bellinger > > > > Hello Anthony & Co, > > > > This is the fourth installment to add host virtualized target support for > > the mainline tcm_vhost fabric driver using Linux v3.6-rc into QEMU 1.3.0-rc. > > > > The series is available directly from the following git branch: > > > > git://git.kernel.org/pub/scm/virt/kvm/nab/qemu-kvm.git vhost-scsi-for-1.3 > > > > Note the code is cut against yesterday's QEMU head, and dispite the name > > of the tree is based upon mainline qemu.org git code + has thus far been > > running overnight with > 100K IOPs small block 4k workloads using v3.6-rc2+ > > based target code with RAMDISK_DR backstores. > > Are you still seeing the performance degradation discussed in the thread > > "vhost-scsi port to v1.1.0 + MSI-X performance regression" > So the performance regression reported here with QEMU v1.2-rc + virtio-scsi ended up being related to virtio interrupts being delivered across multiple CPUs. After explicitly setting the IRQ affinity of the virtio0-request MSI-X vector to a specific CPU, the small block (4k) mixed random I/O performance jumped back up to the expected ~100K IOPs for a single LUN. FYI, I just tried this again with the most recent QEMU v1.2.50 (v1.3-rc) code, and both cases appear to be performing as expected once again regardless of the explicit IRQ affinity setting. --nab