From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mga03.intel.com (mga03.intel.com [134.134.136.65]) by dpdk.org (Postfix) with ESMTP id B61EE7EEF for ; Fri, 6 Nov 2015 06:50:39 +0100 (CET) Received: from fmsmga002.fm.intel.com ([10.253.24.26]) by orsmga103.jf.intel.com with ESMTP; 05 Nov 2015 21:50:39 -0800 X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="5.20,250,1444719600"; d="scan'208";a="844390027" Received: from fmsmsx105.amr.corp.intel.com ([10.18.124.203]) by fmsmga002.fm.intel.com with ESMTP; 05 Nov 2015 21:50:37 -0800 Received: from fmsmsx117.amr.corp.intel.com (10.18.116.17) by FMSMSX105.amr.corp.intel.com (10.18.124.203) with Microsoft SMTP Server (TLS) id 14.3.248.2; Thu, 5 Nov 2015 21:50:34 -0800 Received: from shsmsx152.ccr.corp.intel.com (10.239.6.52) by fmsmsx117.amr.corp.intel.com (10.18.116.17) with Microsoft SMTP Server (TLS) id 14.3.248.2; Thu, 5 Nov 2015 21:50:33 -0800 Received: from shsmsx101.ccr.corp.intel.com ([169.254.1.57]) by SHSMSX152.ccr.corp.intel.com ([169.254.6.160]) with mapi id 14.03.0248.002; Fri, 6 Nov 2015 13:50:31 +0800 From: "Xie, Huawei" To: Changchun Ouyang , "dev@dpdk.org" Thread-Topic: [dpdk-dev] [RFC PATCH] vhost: remove lockless enqueue to virt ring Thread-Index: AdEXs8MKEM4gvU7ETWOXGe7VBj3daA== Date: Fri, 6 Nov 2015 05:50:31 +0000 Message-ID: References: <1446658952-101192-1-git-send-email-huawei.xie@intel.com> Accept-Language: en-US Content-Language: en-US X-MS-Has-Attach: X-MS-TNEF-Correlator: x-originating-ip: [10.239.127.40] Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: quoted-printable MIME-Version: 1.0 Cc: "ann.zhuangyanying@huawei.com" Subject: Re: [dpdk-dev] [RFC PATCH] vhost: remove lockless enqueue to virt ring X-BeenThere: dev@dpdk.org X-Mailman-Version: 2.1.15 Precedence: list List-Id: patches and discussions about DPDK List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 06 Nov 2015 05:50:40 -0000 On 11/6/2015 9:48 AM, Changchun Ouyang wrote:=0A= >=0A= >=0A= > > From: huawei.xie@intel.com=0A= > > To: huawei.xie@intel.com; dev@dpdk.org=0A= > > Date: Thu, 5 Nov 2015 10:21:41 +0000=0A= > > CC: haifeng.lin@intel.com; ann.zhuangyanying@huawei.com=0A= > > Subject: Re: [dpdk-dev] [RFC PATCH] vhost: remove lockless enqueue=0A= > to virt ring=0A= > >=0A= > > If no objections, would remove the internal cmpset enqueue, should get= =0A= > > some improved performance.=0A= >=0A= > I think it is good.=0A= > The vhost sample also need some changes for this modification.=0A= > do we have the percentage of gaining when removing the lock?=0A= The atomic cmpset is a costly operation.=0A= We plan to implement vhost/virtio performance test example, which will=0A= cover the most common scenarios.=0A= /huawei=0A= >=0A= > thanks and regards,=0A= > Changchun=0A= >=0A=