Received: by 10.213.65.68 with SMTP id h4csp244194imn; Mon, 26 Mar 2018 20:35:05 -0700 (PDT) X-Google-Smtp-Source: AG47ELu3lderloii5tXFe5WRl5Fb/uPLb//P+UblbjAcHz8iVFeCFuGK4U5np4t/zEfoF1ICYOWk X-Received: by 10.99.96.84 with SMTP id u81mr30268107pgb.231.1522121705453; Mon, 26 Mar 2018 20:35:05 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1522121705; cv=none; d=google.com; s=arc-20160816; b=uUIg/kP4De3ukNk992nyIwZLZ06OWOv7if8wC9Rmp3gkQIzBjawyC1C8Ap3yAKFV3S mjhXp5G3xsJCqN3nb1cL2torV3/dgy021wuI+fn7NAhk/pfiunhOLpqoLLUkIWgtAI2W MmRvTiia5vOsvH7Wioa80pyQfzyo1qvmj8pN/8VnrzZn4kSosOyV9mbNWkgo3j5asWMa zE4rqqx5FlNz90lgcfY4/lsiP62oAqKQDnz/RdQtfTUKSuAGu1RNAUtFwBmAtTAtTtrg aZvOpUGVgIYh7ngOvs+1+f5l+RwPu9W7AQ6rF88d7rhCjz1lB+eMnSkdfJj1ky8fZyoG jbzw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:content-language :content-transfer-encoding:in-reply-to:mime-version:user-agent:date :message-id:from:references:cc:to:subject:arc-authentication-results; bh=Vm2t43RR1/kd6vpX/vjn/LfYhK4gb9vpcYHcKxcCpsw=; b=wPbAHaRE2B61IjWVSA0lsNH4u/8IulhkFr+aAyDOjwYr7GB4jrY3+bamICOyhuRaiv K/mtNCdJU3qYfOr0S4XLOcZ6GMFwV66v3TzLJrrZO07u586nRcBZOelEGDxUaWOXi47e VxtHNP0O+Fs0HJGBvsV6To/9WwprHK2Nw7oio2CLmyixSJz88JfvezKdwLCEfzlSQZhY p/Zw1blZsx0heD3KoTFjlTPyFAqoFLyOeNVuWqfcs2HpG/2PKGQd7lws0SoBRw2RLVhz 6qfXvYvqx08Yf5qiSKtOcUelxerV3+QkD/jSlhYLJW+0Ybh+dWC00Qs/TJ21ngbq57dN Qwxw== 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 3-v6si328588plt.98.2018.03.26.20.34.49; Mon, 26 Mar 2018 20:35:05 -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 S1752044AbeC0Ddt (ORCPT + 99 others); Mon, 26 Mar 2018 23:33:49 -0400 Received: from mx3-rdu2.redhat.com ([66.187.233.73]:56832 "EHLO mx1.redhat.com" rhost-flags-OK-OK-OK-FAIL) by vger.kernel.org with ESMTP id S1751824AbeC0Ddr (ORCPT ); Mon, 26 Mar 2018 23:33:47 -0400 Received: from smtp.corp.redhat.com (int-mx04.intmail.prod.int.rdu2.redhat.com [10.11.54.4]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by mx1.redhat.com (Postfix) with ESMTPS id F23C84040070; Tue, 27 Mar 2018 03:33:46 +0000 (UTC) Received: from [10.72.12.77] (ovpn-12-77.pek2.redhat.com [10.72.12.77]) by smtp.corp.redhat.com (Postfix) with ESMTPS id 302A3202322B; Tue, 27 Mar 2018 03:33:42 +0000 (UTC) Subject: Re: [RFC PATCH V2 0/8] Packed ring for vhost To: Konrad Rzeszutek Wilk Cc: mst@redhat.com, virtualization@lists.linux-foundation.org, kvm@vger.kernel.org, netdev@vger.kernel.org, linux-kernel@vger.kernel.org References: <1522035533-11786-1-git-send-email-jasowang@redhat.com> <20180326190130.GE6928@char.us.oracle.com> From: Jason Wang Message-ID: <1e5ad820-f11a-8208-d4c0-5d871adddb9e@redhat.com> Date: Tue, 27 Mar 2018 11:33:38 +0800 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:52.0) Gecko/20100101 Thunderbird/52.6.0 MIME-Version: 1.0 In-Reply-To: <20180326190130.GE6928@char.us.oracle.com> Content-Type: text/plain; charset=utf-8; format=flowed Content-Transfer-Encoding: 8bit Content-Language: en-US X-Scanned-By: MIMEDefang 2.78 on 10.11.54.4 X-Greylist: Sender IP whitelisted, not delayed by milter-greylist-4.5.16 (mx1.redhat.com [10.11.55.5]); Tue, 27 Mar 2018 03:33:47 +0000 (UTC) X-Greylist: inspected by milter-greylist-4.5.16 (mx1.redhat.com [10.11.55.5]); Tue, 27 Mar 2018 03:33:47 +0000 (UTC) for IP:'10.11.54.4' DOMAIN:'int-mx04.intmail.prod.int.rdu2.redhat.com' HELO:'smtp.corp.redhat.com' FROM:'jasowang@redhat.com' RCPT:'' Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On 2018年03月27日 03:01, Konrad Rzeszutek Wilk wrote: > On Mon, Mar 26, 2018 at 11:38:45AM +0800, Jason Wang wrote: >> Hi all: >> >> This RFC implement packed ring layout. The code were tested with pmd >> implement by Jens at >> http://dpdk.org/ml/archives/dev/2018-January/089417.html. Minor change >> was needed for pmd codes to kick virtqueue since it assumes a busy >> polling backend. >> >> Test were done between localhost and guest. Testpmd (rxonly) in guest >> reports 2.4Mpps. Testpmd (txonly) repots about 2.1Mpps. > And how does it compare to older ring layout? > No obvious difference. Vhost itself becomes a bottleneck. I plan to do more aggressive batching like dpdk on top. Thanks