From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from dpdk.org (dpdk.org [92.243.14.124]) by inbox.dpdk.org (Postfix) with ESMTP id DC4D2A04DD; Fri, 23 Oct 2020 22:53:02 +0200 (CEST) Received: from [92.243.14.124] (localhost [127.0.0.1]) by dpdk.org (Postfix) with ESMTP id E33D45AA3; Fri, 23 Oct 2020 22:53:00 +0200 (CEST) Received: from mx0a-00103a01.pphosted.com (mx0a-00103a01.pphosted.com [67.231.144.234]) by dpdk.org (Postfix) with ESMTP id A28225AA0 for ; Fri, 23 Oct 2020 22:52:58 +0200 (CEST) Received: from pps.filterd (m0174892.ppops.net [127.0.0.1]) by mx0a-00103a01.pphosted.com (8.16.0.42/8.16.0.42) with SMTP id 09NKoidZ013270 for ; Fri, 23 Oct 2020 16:52:56 -0400 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=ciena.com; h=from : to : subject : date : message-id : content-type : mime-version; s=06252019; bh=Ze3iV/okf/R4T6qWB4KbD+qWkDK+JfiTvKGrXy+cS+s=; b=kY8PhutTQx+8Jd0wI8enpWcZleCeZHy7sy6goXQOdRBoT3n0yUXMTaNDid0xJXFq1gJi DqxhkbPKuJaeZT9Rrr9gRJZ4rg5uceXAOq5MvIjvMk7fn9OFTP1mTap1PzsqvVG6345s HG9wMbUsXG9GAOOqltkf3/Dzt49XDRY2zMlATQBqmj2omljnQR7+cjWxWISABqhz8o57 Df+AxfrTRSjoqUxnTqfUyha2w43GEH5Tzw7EqdxjoOCY19jFGYXLzjmk//L8TMZqRp2Z yHLwhnPzRlg4FtHkfOJPKUT5o7ShpZsPXT+dCaBN4zRhKJhiIghsMysWgSSK3D88a0M6 Ew== Received: from nam10-mw2-obe.outbound.protection.outlook.com (mail-mw2nam10lp2107.outbound.protection.outlook.com [104.47.55.107]) by mx0a-00103a01.pphosted.com with ESMTP id 34axhknbbu-1 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=NOT) for ; Fri, 23 Oct 2020 16:52:56 -0400 ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=Kk0hpshQUNwIZ5RKGuz6Qt3UCDnM28+lhs+vTFomIogLXv/gqR0Wc2PkIFAe6qJ5lokEsno4tItIaix+iPgeogUjEiRy/+VbyCo2oFmnWq+TdXjhwuu+aEdYneRF239M0Vg2lPypcVlfHL++zh7HfEjKEfcScBSgHUvAiQPLbxHGYra65lLHDuIlSJNQL49yCnWO3X26OcDIYqXfl3x1nTt+OaH6MkfyKiDcWMJvbvNz9oq5im7y4K0cjRNmKNd3IELo+9LRYWIEY0uOUEGbrF3/rtIEU+UQ4tjSL4vWaxSTp8TxcOvr6gbZrAZxiqxGD7TSygez0pOQ1nbTMwUZoQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=microsoft.com; s=arcselector9901; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-SenderADCheck; bh=Ze3iV/okf/R4T6qWB4KbD+qWkDK+JfiTvKGrXy+cS+s=; b=VT+/gVHM77jqNQ+GSkHSyyfj+PoiA9Wfq6VKpxgPXsS8KQBoc81cc5gOMP3pYv4jRdKofy1BO8NwanVAh4vhHBXfpTri6YSGcXXUlFPU21HLbhCHBZMpwyLWY++l2TIRQgICCigU6M8ZhsQce5uLweAJEKkGY/0aZseLwXZ7iHeGkLTFabd9NGWi1cj4mFjDIdL3YFuPAU6TsJO6ypoU2qmaC+71N0EqJUu4eWxYXv6C0JSALlUWORJ0DkP3BZ5zt0cmxlqMjBm+HoWZCnxaSt+eLao1eJ5SxX8ZGtJds/6IrolpTo6k8EFMBORlCfJ4tbG/oT65cTKtZKPz0OZ3TQ== ARC-Authentication-Results: i=1; mx.microsoft.com 1; spf=pass smtp.mailfrom=ciena.com; dmarc=pass action=none header.from=ciena.com; dkim=pass header.d=ciena.com; arc=none Received: from DM5PR0401MB3590.namprd04.prod.outlook.com (2603:10b6:4:78::34) by DM6PR04MB5465.namprd04.prod.outlook.com (2603:10b6:5:10e::22) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.3477.24; Fri, 23 Oct 2020 20:52:55 +0000 Received: from DM5PR0401MB3590.namprd04.prod.outlook.com ([fe80::fc01:a55b:d139:b2f5]) by DM5PR0401MB3590.namprd04.prod.outlook.com ([fe80::fc01:a55b:d139:b2f5%7]) with mapi id 15.20.3477.028; Fri, 23 Oct 2020 20:52:55 +0000 From: "Alipour, Mehrdad" To: "dev@dpdk.org" Thread-Topic: RTE pipeline table lookup miss with > 1 core Thread-Index: AdapfbHFrgP5x1e3SO+oM2iW8nKDRw== Date: Fri, 23 Oct 2020 20:52:55 +0000 Message-ID: Accept-Language: en-US Content-Language: en-US X-MS-Has-Attach: X-MS-TNEF-Correlator: authentication-results: dpdk.org; dkim=none (message not signed) header.d=none;dpdk.org; dmarc=none action=none header.from=ciena.com; x-originating-ip: [165.225.209.72] x-ms-publictraffictype: Email x-ms-office365-filtering-correlation-id: 772c718d-3768-463f-945e-08d877959da2 x-ms-traffictypediagnostic: DM6PR04MB5465: x-microsoft-antispam-prvs: x-ms-oob-tlc-oobclassifiers: OLM:8273; x-ms-exchange-senderadcheck: 1 x-microsoft-antispam: BCL:0; x-microsoft-antispam-message-info: /G1RjlLoNzbpAoR5oiM6trBgHaxCPBs1Q3CeMhJoSc17UZDOMIc4ZLeXtVwHgD0SthzkXJ5bckxk0vZjk7itxSg1cSZwchwU0bo4TC8axYsR2Z/DequDaA+95LSRNA62xzzt3TJ93rD3hHcBa/nd8M5OdV7lLvfZNnt/v0kxPUXWVPV0abpOwUZLVV/AOFS5EUbLlYx5f7Dhwsibu6FK8DQ6KMiSTlWH7qjASUPLxHtlxXLi2lF1ZxDhg1TXT3sWHd85v7rvd3ajeIf29zq2MxSN0EHQ283B5B0sZb+CT2Ko/QvCdn/xMUUiWIwW5YHXlhqWWj0DeouYBaGPvdLceA== x-forefront-antispam-report: CIP:255.255.255.255; CTRY:; LANG:en; SCL:1; SRV:; IPV:NLI; SFV:NSPM; H:DM5PR0401MB3590.namprd04.prod.outlook.com; PTR:; CAT:NONE; SFS:(4636009)(346002)(376002)(366004)(136003)(396003)(39860400002)(9326002)(66556008)(5660300002)(55016002)(8676002)(6916009)(71200400001)(2906002)(7696005)(6506007)(316002)(66476007)(8936002)(9686003)(55236004)(86362001)(66446008)(64756008)(52536014)(186003)(66946007)(33656002)(26005)(478600001)(76116006); DIR:OUT; SFP:1101; x-ms-exchange-antispam-messagedata: 8a6Z0TyolUy+pmryaOLnuGsluZteDia3vxr2ekcAzxMAcRJh4htl1ty1HhfCvHy7Fy2QzdoAsbmvjitclW9A+rvd5bkOOTLhb3fdLUrVAJFaQiPKPIeL+1IC3rk94A6yeLNV1x61ln77c+SkpBz5fzfrClolgEYB5eJBTNjsoPEPW3Hxl+++3H/a7iql7jqyKZPSeH9R4GS9WycMLw0LfqNcNqdxMOWgtElo9AExdrpuQhf1mDR/5Wt053edoQ2Yhc0aEJSzx0Rx4ZRk4IizsZXPt3lY16byPcLSgJ4KaA+ONvAtEumo/RkKlJuVUDbB4KjI3M4ZXbhhO9wAid69fwsZnETaTgCwu7PwYCGmGvJp7XnlTlavUaOmYG5CMtSN5KhmUb11+LZysdSvyYrpQQxfdQ9ikO14dkx10Nq6100KrMRPKuwuDbHyxMwNjOHetQQiFgVXCjZNsBC8fNcQVDuE3ea/XvVRL4c0JbaTWTtqiFoStrq28CdLQkqnuadJE/9VJJWzHAkh83ltQYMspQy9uyywan0UOiDvUF/2FgRfpX3ZhWhblKM5cX0oZAHos2V91x3kGUT0Zzv2qnlNFcArDrx287QUVNOA6D+bK9FbUew3rGpeKlOU3w/JsBTtp2IXK1O3hsi0H26ogTsXCg== x-ms-exchange-transport-forked: True MIME-Version: 1.0 X-OriginatorOrg: ciena.com X-MS-Exchange-CrossTenant-AuthAs: Internal X-MS-Exchange-CrossTenant-AuthSource: DM5PR0401MB3590.namprd04.prod.outlook.com X-MS-Exchange-CrossTenant-Network-Message-Id: 772c718d-3768-463f-945e-08d877959da2 X-MS-Exchange-CrossTenant-originalarrivaltime: 23 Oct 2020 20:52:55.0355 (UTC) X-MS-Exchange-CrossTenant-fromentityheader: Hosted X-MS-Exchange-CrossTenant-id: 457a2b01-0019-42ba-a449-45f99e96b60a X-MS-Exchange-CrossTenant-mailboxtype: HOSTED X-MS-Exchange-CrossTenant-userprincipalname: wuFZiqIJdCeg+AXvfX6RXvtHKWPr+nxYPTd6Sm3awgQYoJjJevMP2JkyfdrAnYFQDR6RNUB+EZbmPeRtqRrfTw== X-MS-Exchange-Transport-CrossTenantHeadersStamped: DM6PR04MB5465 X-Proofpoint-Virus-Version: vendor=fsecure engine=2.50.10434:6.0.235, 18.0.737 definitions=2020-10-23_16:2020-10-23, 2020-10-23 signatures=0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: quoted-printable X-Content-Filtered-By: Mailman/MimeDel 2.1.15 Subject: [dpdk-dev] RTE pipeline table lookup miss with > 1 core 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: , Errors-To: dev-bounces@dpdk.org Sender: "dev" Hi, I am testing a pipeline application with two or more cores using dpdk 19.05= . The application consists of: Core1: forever get packets from an Ethernet IF (using rte_eth_rx_bur= st) Inspect packet header such as EtherType, UDP desp_port, e= tc; determine application (say app_1, app_2, etc) Forward to rte_ring of app_i (call it app_i_ring) Core2: Specialized for app_1 processing, has an RX rte_ring (call it= app_1_ring) and a app_1 pipeline consisting of a few Hash/Array tables Core3: Specialized for app_2 processing, has an RX rte_ring (call i= t app_2_ring) and a app_2 pipeline consisting of a few Hash/Array tables When I run this application with core1-3, it works fine without any table m= iss. When I add a second app_1 or app_2 core (for instance adding core4 running = app_1), I get about 0.05% table miss of app_1 hash tables. The only difference in the core1-3 and core1-4 config setup is that app_1 h= as two cores simultaneously running its pipeline instance and doing lookup = on the same set of tables. Please note that I have logged the missed lookup packets and the key in met= adata and the keys are correct when the miss happens. Any reason for this table miss? Am I missing something? Thanks, Mehrdad malipour@ciena.com