Received: by 2002:ac0:a5a7:0:0:0:0:0 with SMTP id m36-v6csp4969933imm; Sun, 22 Jul 2018 09:58:40 -0700 (PDT) X-Google-Smtp-Source: AAOMgpf5IwkYsvrR4AHeXdQBx0OsyjIr7m72VNIWownxXR/iJ7/MO2nLcuWc+PgVjKs/PEbCXzAZ X-Received: by 2002:a17:902:650c:: with SMTP id b12-v6mr9757171plk.31.1532278720594; Sun, 22 Jul 2018 09:58:40 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1532278720; cv=none; d=google.com; s=arc-20160816; b=oVg+plUUWRCETKT4dfowwewH/2wWLfasIoVQtQfj62oUyOMlTCihkBqfertRWL5sUY BJ9h1H4A7qs06bUotFaDlI9I2kS6EqoYG2BBsSCK6WY131BaRLveMxC+bhtZw4Aq7nER oGrn0gWZGpeXPys7mkFWpgCYr1oyZg+GnUlyJKEI0xuYztPXnCpwdZehTW2AMoq8alSQ BCW/KjIAm/rdbf5q2nClr0PnT7Htil2FEYDZuF4fWSzzNWldizQrvH78014jRBnHkHFQ Z4eC0S+XGjxH5GyAuAaVgXtyMyEv+zdhI697gP21J+dFVjfezx14Nl1LsCrOvs5e4v0n kgIg== 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 :arc-authentication-results; bh=SYFXGhOoLUMkWvURryU9waCh+fszDmEXLkZn2jF1dg8=; b=M7izrpn0jtXUXN2lbeL9dBNUj/EigM9SfUEYaZbgff2TcrMYjzodPEW+PwlgyuwuFy aWvdS2Q2zyZYPkKvtkXcn3Iv1aMP4X/U8gGFtBkrT4oxi4tAix1MAvzJjtJnKs5DXRuO ZTu+ruN9JgpzHYWEK/kPf0Gnza2XlIylD+zOeEJyRT2mXVbatydbDvXgKVsB8a/Jqkxa VkOXuV+KZH6An4xB1KgKZ4+ItbKvJH+DfP0AlpOesg+vrYAokokM+3W+R8sTIx5GObv0 3d8kxHrY94sNw3u0PNsPuvDBG6xKU3yJeRrAddvOG/qmPdQm15dOAdoEA+R7ccLSmRe3 uiNg== 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 38-v6si6382470pln.92.2018.07.22.09.58.26; Sun, 22 Jul 2018 09:58:40 -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 S1730200AbeGVRyJ (ORCPT + 99 others); Sun, 22 Jul 2018 13:54:09 -0400 Received: from mx3-rdu2.redhat.com ([66.187.233.73]:60376 "EHLO mx1.redhat.com" rhost-flags-OK-OK-OK-FAIL) by vger.kernel.org with ESMTP id S1730042AbeGVRyJ (ORCPT ); Sun, 22 Jul 2018 13:54:09 -0400 Received: from smtp.corp.redhat.com (int-mx05.intmail.prod.int.rdu2.redhat.com [10.11.54.5]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by mx1.redhat.com (Postfix) with ESMTPS id AFC117A7E0; Sun, 22 Jul 2018 16:56:50 +0000 (UTC) Received: from redhat.com (ovpn-120-237.rdu2.redhat.com [10.10.120.237]) by smtp.corp.redhat.com (Postfix) with SMTP id 61C4679A9; Sun, 22 Jul 2018 16:56:44 +0000 (UTC) Date: Sun, 22 Jul 2018 19:56:43 +0300 From: "Michael S. Tsirkin" To: Jason Wang Cc: kvm@vger.kernel.org, virtualization@lists.linux-foundation.org, netdev@vger.kernel.org, linux-kernel@vger.kernel.org, wexu@redhat.com, jfreimann@redhat.com, tiwei.bie@intel.com, maxime.coquelin@redhat.com Subject: Re: [PATCH net-next V2 0/8] Packed virtqueue support for vhost Message-ID: <20180722194843-mutt-send-email-mst@kernel.org> References: <1531711691-6769-1-git-send-email-jasowang@redhat.com> <20180716113720-mutt-send-email-mst@kernel.org> <33f4643f-f226-0389-1f4f-607c289db94e@redhat.com> <20180716154102-mutt-send-email-mst@kernel.org> <5ba5c927-a0b4-f399-7a88-b90763765142@redhat.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <5ba5c927-a0b4-f399-7a88-b90763765142@redhat.com> X-Scanned-By: MIMEDefang 2.79 on 10.11.54.5 X-Greylist: Sender IP whitelisted, not delayed by milter-greylist-4.5.16 (mx1.redhat.com [10.11.55.2]); Sun, 22 Jul 2018 16:56:50 +0000 (UTC) X-Greylist: inspected by milter-greylist-4.5.16 (mx1.redhat.com [10.11.55.2]); Sun, 22 Jul 2018 16:56:50 +0000 (UTC) for IP:'10.11.54.5' DOMAIN:'int-mx05.intmail.prod.int.rdu2.redhat.com' HELO:'smtp.corp.redhat.com' FROM:'mst@redhat.com' RCPT:'' Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Tue, Jul 17, 2018 at 08:45:16AM +0800, Jason Wang wrote: > > I'm not sure I understand this approach. Packed ring is just an optimization. > > What value is there in merging it if it does not help speed? > > If you want to support migration from dpdk or vDPA backend. Migration from dpdk is a mess: if you add new features you fix migration from new one but break migration from old one. So I'm not too worried until dpdk guys implement one of the migration versioning proposals that have been floating around for years. I think vDPAs are using split ring right now. They will likely switch to packed ring in the future, but it will probably take some time before they do. > And we still > have the chance to see the performance with virito-net pmd in the future. If > this does not make sense for you, I will leave this series until we can get > results from virtio-net pmd (or find a way that packed virtqueue > outperform). This makes sense to me. If there's a gain that is only observed with the pmd driver, I think that's still fine, but we do need to see it. > And I will start to post other optimizations on vhost. > > Thanks Thanks a lot! -- MST