Received: by 2002:ac0:a582:0:0:0:0:0 with SMTP id m2-v6csp2286170imm; Thu, 11 Oct 2018 08:00:35 -0700 (PDT) X-Google-Smtp-Source: ACcGV60MSfPhDobhcNIQK0/DOB5g5wEoL0gRU9b1qqqvKqQovxy9vE7qS5hQahe7YTi//ceWaxtA X-Received: by 2002:a63:a012:: with SMTP id r18-v6mr1788935pge.282.1539270035605; Thu, 11 Oct 2018 08:00:35 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1539270035; cv=none; d=google.com; s=arc-20160816; b=dinRaFEGzVXv+rPe8MM6VIybfzbFwMb0348HI4hHUtsaY+TLDHUjOUYqSgp+S9egYr 4oKvhqvqTz1rqJh0oEvhpb8rQKIL8xLhFk7pFEidHMSOVhWnEVLHkQhazroLMnltU1ML wmxSunMSqphthO+jci8vjhSr782KSsRbCVqrsV0icxEvVZ+j3W6rr6d3kGThZL0YXjlG 7lTyimlvPeXjMHNLealCfr7hXjEnkzaDdovgNyJL5X8ZuaNe6pRlU1KKL1/N2nEfYRCM grxCqfHn4lH49ODwgd2h8rKt1/gOvyRxr1KilshtJKAyjrO8mitGOBIlP1QdiPZEkLwx zclA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:in-reply-to:content-disposition :mime-version:references:message-id:subject:cc:to:from:date; bh=HXP2Bo90t73S7GXe/YX1xrCNRK/znWr2S4kbaR9Nm98=; b=DfbS7YKAsArsViOg+UaotSZ23FuXEAUbbRpbq76FtqK/V0sFmqFeACybePtLeq0M9o Z7ZKuDF0y0LvTLTXvRTU2WHz4jk8yRHP8youAOdD3DIr75I4/KOaCU/iIGNP5/HV9baH nXhnw24pih+C1cPVEMLeES8yG5WZ8GGF5ltftsQMzO0u3gyV2f4F3EnDoy0JHXxARWSQ ISDtc4TZZC15ZXx0dGLSbcqfJHiUwhnFHDc2onFTZNEP9RltNPRac74F4psoq2vwefGd Roz/V5a72RuA1Y1NUIHcXMGZg6TtV3rB83BgA+9onAVYiSLE75pA/8LHT0T2T7YMZQYJ knGQ== ARC-Authentication-Results: i=1; mx.google.com; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=redhat.com Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id z14-v6si27782946pgk.172.2018.10.11.08.00.20; Thu, 11 Oct 2018 08:00:35 -0700 (PDT) Received-SPF: pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) client-ip=209.132.180.67; Authentication-Results: mx.google.com; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=redhat.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1728620AbeJKVor (ORCPT + 99 others); Thu, 11 Oct 2018 17:44:47 -0400 Received: from mx1.redhat.com ([209.132.183.28]:48854 "EHLO mx1.redhat.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726537AbeJKVor (ORCPT ); Thu, 11 Oct 2018 17:44:47 -0400 Received: from smtp.corp.redhat.com (int-mx01.intmail.prod.int.phx2.redhat.com [10.5.11.11]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by mx1.redhat.com (Postfix) with ESMTPS id 58916308A972; Thu, 11 Oct 2018 14:17:24 +0000 (UTC) Received: from redhat.com (ovpn-125-61.rdu2.redhat.com [10.10.125.61]) by smtp.corp.redhat.com (Postfix) with SMTP id DE01C8FC14; Thu, 11 Oct 2018 14:17:15 +0000 (UTC) Date: Thu, 11 Oct 2018 10:17:15 -0400 From: "Michael S. Tsirkin" To: Tiwei Bie Cc: Jason Wang , virtualization@lists.linux-foundation.org, linux-kernel@vger.kernel.org, netdev@vger.kernel.org, virtio-dev@lists.oasis-open.org, wexu@redhat.com, jfreimann@redhat.com, maxime.coquelin@redhat.com, zhihong.wang@intel.com Subject: Re: [virtio-dev] Re: [PATCH net-next v2 0/5] virtio: support packed ring Message-ID: <20181011101656-mutt-send-email-mst@kernel.org> References: <20180910030053.GA15645@debian> <20180911053726.GA7472@debian> <20180912121457-mutt-send-email-mst@kernel.org> <20180913085919.GA42049@fbsd1.sh.intel.com> <98d6bd4d-45e2-4207-e961-782f649e0139@redhat.com> <20181010103335-mutt-send-email-mst@kernel.org> <20181011121221.GA27106@debian> <20181011094705-mutt-send-email-mst@kernel.org> <20181011141331.GA11650@debian> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20181011141331.GA11650@debian> X-Scanned-By: MIMEDefang 2.79 on 10.5.11.11 X-Greylist: Sender IP whitelisted, not delayed by milter-greylist-4.5.16 (mx1.redhat.com [10.5.110.41]); Thu, 11 Oct 2018 14:17:24 +0000 (UTC) Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Thu, Oct 11, 2018 at 10:13:31PM +0800, Tiwei Bie wrote: > On Thu, Oct 11, 2018 at 09:48:48AM -0400, Michael S. Tsirkin wrote: > > On Thu, Oct 11, 2018 at 08:12:21PM +0800, Tiwei Bie wrote: > > > > > But if it's not too late, I second for a OUT_OF_ORDER feature. > > > > > Starting from in order can have much simpler code in driver. > > > > > > > > > > Thanks > > > > > > > > It's tricky to change the flag polarity because of compatibility > > > > with legacy interfaces. Why is this such a big deal? > > > > > > > > Let's teach drivers about IN_ORDER, then if devices > > > > are in order it will get enabled by default. > > > > > > Yeah, make sense. > > > > > > Besides, I have done some further profiling and debugging > > > both in kernel driver and DPDK vhost. Previously I was mislead > > > by a bug in vhost code. I will send a patch to fix that bug. > > > With that bug fixed, the performance of packed ring in the > > > test between kernel driver and DPDK vhost is better now. > > > > OK, if we get a performance gain on the virtio side, we can finally > > upstream it. If you see that please re-post ASAP so we can > > put it in the next kernel release. > > Got it, I will re-post ASAP. > > Thanks! Pls remember to include data on performance gain in the cover letter. > > > > > -- > > MST