From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from NAM03-BY2-obe.outbound.protection.outlook.com (mail-by2nam03on0075.outbound.protection.outlook.com [104.47.42.75]) by dpdk.org (Postfix) with ESMTP id DC8BA2C5 for ; Thu, 6 Apr 2017 11:29:16 +0200 (CEST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=harmonicinc.com; s=selector1; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version; bh=7OiRiac82GmyUBsYwDYRaUhtLFGWrqP9aTbibCuH/c0=; b=BIfOZrectwihQLh/fUwyocmFpcWgYthvDej2whTAuvY8DfpOMlBsMSOhBxD9B9MC5HbSLf8IM1LDPXNauPiSUV5Pwby97yOuGMl/frjIn+tXq+uj3IA8vYM+cvkV/5nk3GId7TTkPBvxfho4PXapVqce//ED3Yrr/uFyEjjcLqE= Received: from MWHPR11MB1360.namprd11.prod.outlook.com (10.169.235.22) by MWHPR11MB1325.namprd11.prod.outlook.com (10.169.237.144) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_CBC_SHA256_P256) id 15.1.1019.17; Thu, 6 Apr 2017 09:29:13 +0000 Received: from MWHPR11MB1360.namprd11.prod.outlook.com ([10.169.235.22]) by MWHPR11MB1360.namprd11.prod.outlook.com ([10.169.235.22]) with mapi id 15.01.1019.019; Thu, 6 Apr 2017 09:29:13 +0000 From: Vladyslav Buslov To: Ferruh Yigit , "Pei, Yulong" , "Zhang, Helin" , "Wu, Jingjing" CC: "dev@dpdk.org" , Nitin Kumar Thread-Topic: [dpdk-dev] [PATCH] net/i40e: add packet prefetch Thread-Index: AQHSknqq7YgO4M5hq0qDs07ShbTPHKGv8LTQgAO1IwCABKN94A== Date: Thu, 6 Apr 2017 09:29:12 +0000 Message-ID: References: <1488365813-12442-1-git-send-email-vladyslav.buslov@harmonicinc.com> <188971FCDA171749BED5DA74ABF3E6F03B6ACF0D@shsmsx102.ccr.corp.intel.com> <2c220d4f-b8c5-1824-c8cd-69f20c6ce04f@intel.com> In-Reply-To: <2c220d4f-b8c5-1824-c8cd-69f20c6ce04f@intel.com> Accept-Language: en-US Content-Language: en-US X-MS-Has-Attach: X-MS-TNEF-Correlator: authentication-results: intel.com; dkim=none (message not signed) header.d=none;intel.com; dmarc=none action=none header.from=harmonicinc.com; x-originating-ip: [95.67.66.62] x-microsoft-exchange-diagnostics: 1; MWHPR11MB1325; 7:aE7pz6jE/c2kTIBqM/wqbQNraj4l13DLebiuMFGdeje7uoDONO/TqKPXthYGDd2IwbSmtC9J6y17btzs2Vy0k6k3/aewP+PwvufjyhCHfc6Xb3HQlxSQXZam/0bkUlWNx0ZLkT0ZM07Ki2BCw6zurtixEwniL4Gtu1bPIOlYuRgc4YJOnhfZt9MsGGpqVtBz1ZZRNMohYEJFmWk6Dvioe69Kjs8FZLSj3eaocjjFudtitL8qgE+zNpocXasrPSEpAEQXoXPvTnI/c1G/fx0B/Sa2jodCCqT0Ng9dEHkpsXfj6ZndOAsykOteajsoQuQJH+1q/3QKt1b7tEelZvoocQ==; 20:a4aPSG5N856pjXCN2o46+4TAEPIqF5/4t7gk806XZ/5WDDMzyccASsm32Bdph0c9zhzm1y8wI7PcuUmsWYm2Q4+jyUKqjoOUs6sMwD9FsH2Ley5QCv12Dusuz5Ib4YdwD0WX/g/iBNToA8LPuAcAZEDgZQwqjOBGPA3p3EqyB20= x-forefront-antispam-report: SFV:SKI; SCL:-1SFV:NSPM; SFS:(10009020)(6009001)(39400400002)(39450400003)(39410400002)(39850400002)(39860400002)(39840400002)(13464003)(53754006)(24454002)(377454003)(8676002)(81166006)(8936002)(53936002)(4326008)(66066001)(2900100001)(189998001)(2950100002)(77096006)(99286003)(9686003)(54906002)(55016002)(38730400002)(107886003)(25786009)(6246003)(86362001)(53546009)(122556002)(5660300001)(74316002)(33656002)(229853002)(2906002)(305945005)(54356999)(76176999)(6116002)(102836003)(3846002)(7736002)(3660700001)(7696004)(50986999)(3280700002)(6506006); DIR:OUT; SFP:1101; SCL:1; SRVR:MWHPR11MB1325; H:MWHPR11MB1360.namprd11.prod.outlook.com; FPR:; SPF:None; MLV:sfv; LANG:en; x-ms-office365-filtering-correlation-id: 2a182060-cad9-494e-b5d7-08d47ccf632e x-ms-office365-filtering-ht: Tenant x-microsoft-antispam: UriScan:; BCL:0; PCL:0; RULEID:(22001)(2017030254075)(48565401081)(201703131423075)(201703031133081)(201702281549075); SRVR:MWHPR11MB1325; x-microsoft-antispam-prvs: x-exchange-antispam-report-test: UriScan:(278428928389397)(228905959029699); x-exchange-antispam-report-cfa-test: BCL:0; PCL:0; RULEID:(6040450)(601004)(2401047)(8121501046)(5005006)(10201501046)(3002001)(93006095)(93001095)(6055026)(6041248)(20161123564025)(20161123562025)(20161123555025)(20161123560025)(201703131423075)(201702281528075)(201703061421075)(6072148); SRVR:MWHPR11MB1325; BCL:0; PCL:0; RULEID:; SRVR:MWHPR11MB1325; x-forefront-prvs: 02698DF457 spamdiagnosticoutput: 1:99 spamdiagnosticmetadata: NSPM Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: quoted-printable MIME-Version: 1.0 X-OriginatorOrg: harmonicinc.com X-MS-Exchange-CrossTenant-originalarrivaltime: 06 Apr 2017 09:29:12.9068 (UTC) X-MS-Exchange-CrossTenant-fromentityheader: Hosted X-MS-Exchange-CrossTenant-id: 19294cf8-3352-4dde-be9e-7f47b9b6b73d X-MS-Exchange-Transport-CrossTenantHeadersStamped: MWHPR11MB1325 Subject: Re: [dpdk-dev] [PATCH] net/i40e: add packet prefetch X-BeenThere: dev@dpdk.org X-Mailman-Version: 2.1.15 Precedence: list List-Id: DPDK patches and discussions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 06 Apr 2017 09:29:17 -0000 Ferruh, In our case patch significantly improves application performance. (~40% mor= e PPS on load balancer core) Using DPDK examples I can only reproduce perf improvements with similar des= ign apps like load_balancer. With applications that send on free packets on same core where they are rec= eived performance is not improved. It seems that this patch doesn't do anything(or even actually slightly degr= ades performance) for run-to-completion apps so we will have to continue ma= intaining it as part part of our internal branch. Regards, Vlad > -----Original Message----- > From: Ferruh Yigit [mailto:ferruh.yigit@intel.com] > Sent: Monday, April 03, 2017 1:31 PM > To: Pei, Yulong; Vladyslav Buslov; Zhang, Helin; Wu, Jingjing > Cc: dev@dpdk.org > Subject: Re: [dpdk-dev] [PATCH] net/i40e: add packet prefetch >=20 > On 4/1/2017 3:01 AM, Pei, Yulong wrote: > > Hi All > > > > In Non-vector mode, without this patch, single core performance can > > reach 37.576Mpps with 64Byte packet, But after applied this patch , sin= gle > core performance downgrade to 34.343Mpps with 64Byte packet. >=20 > Thanks Yulong for the test. >=20 > Vladyslav, >=20 > Is above test results match with your result? >=20 > If there is a degradation, this patch should not be merged. >=20 > Thanks, > ferruh >=20 > > > > Best Regards > > Yulong Pei > > > > -----Original Message----- > > From: dev [mailto:dev-bounces@dpdk.org] On Behalf Of Vladyslav Buslov > > Sent: Wednesday, March 1, 2017 6:57 PM > > To: Zhang, Helin ; Wu, Jingjing > > ; Yigit, Ferruh > > Cc: dev@dpdk.org > > Subject: [dpdk-dev] [PATCH] net/i40e: add packet prefetch > > > > Prefetch both cache lines of mbuf and first cache line of payload if > CONFIG_RTE_PMD_PACKET_PREFETCH is set. > > > > Signed-off-by: Vladyslav Buslov > <..>