From mboxrd@z Thu Jan 1 00:00:00 1970 From: Christian Borntraeger Subject: Re: [Qemu-devel] [question] virtio-blk performance degradationhappened with virito-serial Date: Mon, 01 Sep 2014 15:22:34 +0200 Message-ID: <5404731A.8020405@de.ibm.com> References: <201408291545282753855@sangfor.com>, <20140829143849.GA8909@grmbl.mre>, <201409012038178763909@sangfor.com> <201409012052442706397@sangfor.com> <5404701F.5070302@de.ibm.com> <540470CD.9060800@redhat.com> Mime-Version: 1.0 Content-Type: text/plain; charset=gbk Content-Transfer-Encoding: 7bit Cc: qemu-devel , kvm To: Paolo Bonzini , Zhang Haoyu , Amit Shah Return-path: Received: from e06smtp17.uk.ibm.com ([195.75.94.113]:36575 "EHLO e06smtp17.uk.ibm.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1752608AbaIANWk (ORCPT ); Mon, 1 Sep 2014 09:22:40 -0400 Received: from /spool/local by e06smtp17.uk.ibm.com with IBM ESMTP SMTP Gateway: Authorized Use Only! Violators will be prosecuted for from ; Mon, 1 Sep 2014 14:22:38 +0100 Received: from b06cxnps4074.portsmouth.uk.ibm.com (d06relay11.portsmouth.uk.ibm.com [9.149.109.196]) by d06dlp01.portsmouth.uk.ibm.com (Postfix) with ESMTP id EC6E417D8047 for ; Mon, 1 Sep 2014 14:24:33 +0100 (BST) Received: from d06av01.portsmouth.uk.ibm.com (d06av01.portsmouth.uk.ibm.com [9.149.37.212]) by b06cxnps4074.portsmouth.uk.ibm.com (8.14.9/8.14.9/NCO v10.0) with ESMTP id s81DMacW22806594 for ; Mon, 1 Sep 2014 13:22:36 GMT Received: from d06av01.portsmouth.uk.ibm.com (localhost [127.0.0.1]) by d06av01.portsmouth.uk.ibm.com (8.14.4/8.14.4/NCO v10.0 AVout) with ESMTP id s81DMZ7e026294 for ; Mon, 1 Sep 2014 07:22:36 -0600 In-Reply-To: <540470CD.9060800@redhat.com> Sender: kvm-owner@vger.kernel.org List-ID: On 01/09/14 15:12, Paolo Bonzini wrote: > Il 01/09/2014 15:09, Christian Borntraeger ha scritto: >> This is just wild guessing: >> If virtio-blk and virtio-serial share an IRQ, the guest operating system has to check each virtqueue for activity. Maybe there is some inefficiency doing that. >> AFAIK virtio-serial registers 64 virtqueues (on 31 ports + console) even if everything is unused. > > That could be the case if MSI is disabled. > > Paolo > Do the windows virtio drivers enable MSIs, in their inf file? Christian