Received: by 2002:ac0:a582:0:0:0:0:0 with SMTP id m2-v6csp2286316imm; Thu, 11 Oct 2018 08:00:42 -0700 (PDT) X-Google-Smtp-Source: ACcGV614Hdf6eMUOUIqEf0zu8bqJK8XEiF9q6WIj94oG7/Gp6lVPy2m6ELEtZ0MJBHLeZxM4hAmT X-Received: by 2002:a17:902:2b84:: with SMTP id l4-v6mr1939357plb.265.1539270042565; Thu, 11 Oct 2018 08:00:42 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1539270042; cv=none; d=google.com; s=arc-20160816; b=uPUJw5+IgIejeXlW7nUz9dQ7XxA+IDiQKkXm9FnTJG+D+YsxxWnJK/pu3p5IqzQDmN aB+CipUu8R1/OXSwP+1liVmEiREH/EdoKE2HrLz1I0cjhg/TV3OKMnbgjYpWN75wJVRu 6806aDkEPKrdoEgPAhVPf8fJaWc4X/sMt+4A44u+6+5DGGxJIG5i7tkZ/Uesw6yEAhiN WEJgxPUX8yCJWJtpJggL1eLUTbXmInIj9ft/Y9zi91HWLp/gJxgwbT6OgVn4HvG0p9Bm NBVcaTh6us9rKEb52DxeRbdIJURgel3q9NnditZ2mmQB3yzBo2Fgbhh3IYQC6kq1Iwc1 vImg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:user-agent:in-reply-to :content-disposition:mime-version:references:message-id:subject:cc :to:from:date; bh=WbCd3Wde7RlSPPjV6xB9inH6FHB9tOrp/RonfLL5aCI=; b=QK/PvQJbXJu0edLrolsGBG0l5wdR9weBAiHbt5K7QJP0g30CMeYjzmdi7zGPepv2ry UZpOFW0MCmJHCBeV+4HKPJMDIpw13WSfNqnJ5FPPu1uAvaQ1b32TEZo0jRnIgTfK4g2t kcAGnsKXH1ibxValEU+MWv9qVtaejPwgCKyQuFOtA7pO5sr+KGAPDqIaeLbh23ypzpEd 2wYwaPwZSBUFzuB1lT6IkWb/Jg+hPZ/FgRgt3K6fkl3IPCLjOkiRl8oGSZ9RwhG3c3E8 l9I0mvBX6SjdNEG+vcnUB52FdBPsNrtOLoNrG22xZ1tGNOrf3DKeL84vae4Zgrw3Xu8E 6w1g== 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=intel.com Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id 207-v6si31172252pfu.273.2018.10.11.08.00.27; Thu, 11 Oct 2018 08:00:42 -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=intel.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1728640AbeJKWHC (ORCPT + 99 others); Thu, 11 Oct 2018 18:07:02 -0400 Received: from mga14.intel.com ([192.55.52.115]:62383 "EHLO mga14.intel.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1728442AbeJKWHB (ORCPT ); Thu, 11 Oct 2018 18:07:01 -0400 X-Amp-Result: UNKNOWN X-Amp-Original-Verdict: FILE UNKNOWN X-Amp-File-Uploaded: False Received: from orsmga006.jf.intel.com ([10.7.209.51]) by fmsmga103.fm.intel.com with ESMTP/TLS/DHE-RSA-AES256-GCM-SHA384; 11 Oct 2018 07:39:33 -0700 X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="5.54,368,1534834800"; d="scan'208";a="81790255" Received: from btwcube1.sh.intel.com (HELO debian) ([10.67.104.158]) by orsmga006.jf.intel.com with ESMTP; 11 Oct 2018 07:35:59 -0700 Date: Thu, 11 Oct 2018 22:34:43 +0800 From: Tiwei Bie To: "Michael S. Tsirkin" 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: <20181011143443.GA18183@debian> References: <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> <20181011101656-mutt-send-email-mst@kernel.org> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Disposition: inline In-Reply-To: <20181011101656-mutt-send-email-mst@kernel.org> User-Agent: Mutt/1.10.1 (2018-07-13) 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:17:15AM -0400, Michael S. Tsirkin wrote: > 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. Sure. I'll try to include some performance analyses.