From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from eggs.gnu.org ([208.118.235.92]:46056) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1TCR9T-00039L-Uq for qemu-devel@nongnu.org; Fri, 14 Sep 2012 04:21:31 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1TCR9O-0000fX-0Q for qemu-devel@nongnu.org; Fri, 14 Sep 2012 04:21:27 -0400 Received: from mx1.redhat.com ([209.132.183.28]:44255) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1TCR9N-0000fQ-OR for qemu-devel@nongnu.org; Fri, 14 Sep 2012 04:21:21 -0400 Message-ID: <5052E8F1.8060401@redhat.com> Date: Fri, 14 Sep 2012 10:21:05 +0200 From: Paolo Bonzini MIME-Version: 1.0 References: <1347000499-28701-1-git-send-email-nab@linux-iscsi.org> <504EBFD5.6050203@redhat.com> <1347567129.7359.14.camel@haakon2.linux-iscsi.org> In-Reply-To: <1347567129.7359.14.camel@haakon2.linux-iscsi.org> Content-Type: text/plain; charset=UTF-8 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: "Nicholas A. Bellinger" Cc: Stefan Hajnoczi , kvm-devel , "Michael S. Tsirkin" , Jan Kiszka , qemu-devel , lf-virt , Anthony Liguori , target-devel , Hannes Reinecke , Asias He , Zhi Yong Wu , Christoph Hellwig Il 13/09/2012 22:12, Nicholas A. Bellinger ha scritto: >> > 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. Have you tried setting rq_affinity to 2? Benchmarking this against multiqueue virtio-scsi is on my todo list. Paolo > 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.