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 E7111A054E; Sat, 15 Feb 2020 09:51:27 +0100 (CET) Received: from [92.243.14.124] (localhost [127.0.0.1]) by dpdk.org (Postfix) with ESMTP id 74D851B3BB; Sat, 15 Feb 2020 09:51:23 +0100 (CET) Received: from mx0b-0016f401.pphosted.com (mx0b-0016f401.pphosted.com [67.231.156.173]) by dpdk.org (Postfix) with ESMTP id 7E15E3B5; Sat, 15 Feb 2020 09:51:21 +0100 (CET) Received: from pps.filterd (m0045851.ppops.net [127.0.0.1]) by mx0b-0016f401.pphosted.com (8.16.0.42/8.16.0.42) with SMTP id 01F8oNpA006843; Sat, 15 Feb 2020 00:51:20 -0800 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=marvell.com; h=date : from : to : cc : subject : message-id : references : content-type : in-reply-to : mime-version; s=pfpt0818; bh=L66qNCx24cAzK73oej/0Mr2veWLsgwRC24s+NBh0vp0=; b=dnqEgCM/oKZlOXz3HS80elSCWK5BVZg4AESTf0eR0aFLRQE/GVfrYkMwX4W0wnabhtS1 +6/3A6eOIK0xRS9z8ZXDCwzJW5Wex/iNSuGPN64z2nobT5vEMa6qZkAwjpJ1g6KnbV7T KJfAR7yb5yG1y6a7wmwWlioXkOp8luKnkY0MHXppptHM2W7U7mUlpuiGhM/WMep2JUxZ gqUb77ZYQC0gTpcsUxOOUfRCFtEhfpCtAl9Xz/gBYDlBO1dXWoMUejAisQbW3cWtNP6n 2JEju+cmc0RWvEWQmCcr8oWeZzpFMfOD0YcFFog4G6PVBwkpgT75t3oOwtSC9uTQgfxk eA== Received: from sc-exch04.marvell.com ([199.233.58.184]) by mx0b-0016f401.pphosted.com with ESMTP id 2y4j5k77g9-1 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-SHA384 bits=256 verify=NOT); Sat, 15 Feb 2020 00:51:20 -0800 Received: from DC5-EXCH01.marvell.com (10.69.176.38) by SC-EXCH04.marvell.com (10.93.176.84) with Microsoft SMTP Server (TLS) id 15.0.1497.2; Sat, 15 Feb 2020 00:51:18 -0800 Received: from SC-EXCH03.marvell.com (10.93.176.83) by DC5-EXCH01.marvell.com (10.69.176.38) with Microsoft SMTP Server (TLS) id 15.0.1497.2; Sat, 15 Feb 2020 00:51:17 -0800 Received: from NAM10-DM6-obe.outbound.protection.outlook.com (104.47.58.103) by SC-EXCH03.marvell.com (10.93.176.83) with Microsoft SMTP Server (TLS) id 15.0.1497.2 via Frontend Transport; Sat, 15 Feb 2020 00:51:17 -0800 ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=GQtQsB7NbUQ1pw/5Uyzp0VF5OguCn83aoBTNuabkXowrGKoqfdjmY3PmMWZ9fkACSGSrW9rXUqGRJadpR1fjKJQm9oyfOJOsoa8CWzEIWH1H8SvkrkwyR7QwvvTEnUmRlBnhXaZGRF5jSABpvAabJyiLSX1ESqsNNY2YJIi+dJyiHl7Hv+SShQecJ87jcdocCpvIIuI4XWxbQAHtZpTUZRje0LPlGvH/MAGASkxN2XSD36Y0K2V4KlwIGTiqHwo/6yx5tFXpk/HCEIaM9wZNGTP+QutJrB8S9mMYkIuUOhZOSsBT+Snspyaw4uk2w2p42bkyw5+G6YZZ4INZfgi+aQ== 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=L66qNCx24cAzK73oej/0Mr2veWLsgwRC24s+NBh0vp0=; b=DOOykJdBVH26LE5JLbhN5j1mpt4PbhevqqOu/4ak5VQJ8jzx4qJ13qUOXb3PADvLI0IUtLNY9PmfN0D/91e2xyxfOybTTc1wkt+LfqQTq6k+6paw1ytoPgU2H3LUO5WCnPAStX+CcRJXiFvcivuODbFoAchQX4jqLlnAwsNy861giiiYn1SiwhX+BnnChHYWLEd7/lo0w4h/u8r0Yr2h3ePnn0ltbbWFF0ghR/X4gISrqyYFYAsEYUxv7y6+WFWnjY3WK6S67W3H6OBB3TcPO88rCtKZCV4zavuRVTGG1qFfqe+BcYcDu2ipzpRL9GgzrP3pxnzQwBHXmoFTg5wD9A== ARC-Authentication-Results: i=1; mx.microsoft.com 1; spf=pass smtp.mailfrom=marvell.com; dmarc=pass action=none header.from=marvell.com; dkim=pass header.d=marvell.com; arc=none DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=marvell.onmicrosoft.com; s=selector1-marvell-onmicrosoft-com; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-SenderADCheck; bh=L66qNCx24cAzK73oej/0Mr2veWLsgwRC24s+NBh0vp0=; b=oFQXHREuaDKLtsuPz4+9tq7gBPtM4Le2ufvzuSDFSxu5x7h3KWqxsHsn0R9NF0jqYrid7NU2QZjvyWckWN3NKk+B5fdcGE7y3X1LA50LJIWu4Pr2aU/l9wTwFV6JyEN+Fmvy5KVSMnvp4zHIaebCK+JBKC33PdWyr0pizQTgrcI= Received: from MN2PR18MB2848.namprd18.prod.outlook.com (20.179.20.19) by MN2PR18MB2367.namprd18.prod.outlook.com (20.179.80.88) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.2729.25; Sat, 15 Feb 2020 08:51:15 +0000 Received: from MN2PR18MB2848.namprd18.prod.outlook.com ([fe80::6de0:6ead:9fc:5beb]) by MN2PR18MB2848.namprd18.prod.outlook.com ([fe80::6de0:6ead:9fc:5beb%3]) with mapi id 15.20.2729.028; Sat, 15 Feb 2020 08:51:15 +0000 Date: Sat, 15 Feb 2020 14:21:01 +0530 From: Harman Kalra To: Soumen Chandra Laha CC: users , , Message-ID: <20200215085059.GA41850@outlook.office365.com> References: Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: User-Agent: Mutt/1.10.0 (2018-05-17) X-ClientProxiedBy: BM1PR01CA0161.INDPRD01.PROD.OUTLOOK.COM (2603:1096:b00:68::31) To MN2PR18MB2848.namprd18.prod.outlook.com (2603:10b6:208:38::19) MIME-Version: 1.0 Received: from outlook.office365.com (115.113.156.2) by BM1PR01CA0161.INDPRD01.PROD.OUTLOOK.COM (2603:1096:b00:68::31) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.2729.23 via Frontend Transport; Sat, 15 Feb 2020 08:51:13 +0000 X-Originating-IP: [115.113.156.2] X-MS-PublicTrafficType: Email X-MS-Office365-Filtering-Correlation-Id: af157b8b-3429-4265-8f0b-08d7b1f43728 X-MS-TrafficTypeDiagnostic: MN2PR18MB2367: X-Microsoft-Antispam-PRVS: X-MS-Oob-TLC-OOBClassifiers: OLM:9508; X-Forefront-PRVS: 03142412E2 X-Forefront-Antispam-Report: SFV:NSPM; SFS:(10009020)(4636009)(346002)(136003)(39860400002)(396003)(376002)(366004)(199004)(189003)(316002)(55236004)(26005)(6916009)(7696005)(55016002)(81156014)(81166006)(66946007)(9686003)(5660300002)(8676002)(66476007)(186003)(16526019)(66556008)(1076003)(33656002)(478600001)(8936002)(4326008)(52116002)(86362001)(956004)(6666004)(2906002)(6506007)(32563001); DIR:OUT; SFP:1101; SCL:1; SRVR:MN2PR18MB2367; H:MN2PR18MB2848.namprd18.prod.outlook.com; FPR:; SPF:None; LANG:en; PTR:InfoNoRecords; A:1; MX:1; Received-SPF: None (protection.outlook.com: marvell.com does not designate permitted sender hosts) X-MS-Exchange-SenderADCheck: 1 X-Microsoft-Antispam: BCL:0; X-Microsoft-Antispam-Message-Info: Xd28y3/zNBQV2kICe2m4uX/xl3GQDE6/eA1A5qi7/BJvvXEAQuHGn/4KGvu5eFHjCOcEEV+0hu034QjJSiWONuwLPgjnpg5LMLLnNksJjv3wiWr5yk9hSe/Uyp+34unyvG9xt8MfFd/V37Lztv9qI/TsNuUiIriixaRgv3hBOX58G3q8Ch/PNdnF9wwBga0FjSFCHi0ZeC/W+7/W3nFcMsrYUoABQ7RndwcU7gVuCvzNR5HTCjq0BUmrTeOFWCU/zilBwmIamIU615k0krcsFWMqJsX3ZmSlTkJwXpJ55OgqcffbFpJiLe7SkDXFBrTJujSLIHrlVoBQQcd7vZWU5VkRVTByzzIpzhX/0FC5UN3C6PTb+FUM9iKPl9dKY80wdxWvsfkNAeTJhVVW/FxrMu/ZikCXsRSRsOIa6qC8cH7cAAM8TkddpeIv7F6XZIErXgOi0w7E8l/R/pApVtF6ACLb93s7wxvr1Lq5LXEBPP2okUFIeaAIO2syjAa5+9dk X-MS-Exchange-AntiSpam-MessageData: 1pnupmwBPxc76J1nYlJGWz51toro3iplyuBapK5jCrrTL5J+trKEhGYpESmHy9r0ekT7xyyJlSGaZXoDpKVROB5n+WI7jwNTFPQdt+neTk60JSHCE+IRl6wYZyVIg3YsdEAg5ZaZAhqDnodse2UuuQ== X-MS-Exchange-CrossTenant-Network-Message-Id: af157b8b-3429-4265-8f0b-08d7b1f43728 X-MS-Exchange-CrossTenant-OriginalArrivalTime: 15 Feb 2020 08:51:15.3734 (UTC) X-MS-Exchange-CrossTenant-FromEntityHeader: Hosted X-MS-Exchange-CrossTenant-Id: 70e1fb47-1155-421d-87fc-2e58f638b6e0 X-MS-Exchange-CrossTenant-MailboxType: HOSTED X-MS-Exchange-CrossTenant-UserPrincipalName: PgUofJSWViia74+JfurRCtXwVuKWXom+3vAbKZ0QS7nkPOkZPuHwSfGlv3svO1aiiMZJdB6MbiXYJ64rikOSpg== X-MS-Exchange-Transport-CrossTenantHeadersStamped: MN2PR18MB2367 X-OriginatorOrg: marvell.com X-Proofpoint-Virus-Version: vendor=fsecure engine=2.50.10434:6.0.138, 18.0.572 definitions=2020-02-15_02:2020-02-14, 2020-02-15 signatures=0 Subject: Re: [dpdk-dev] L3fwd-power queue utilization issue 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" On Fri, Feb 14, 2020 at 05:35:53PM +0530, Soumen Chandra Laha wrote: > Hi, > > I'm trying to run l3fwd-power application for 2 Port with queue. Always > only queue 1 of port 0 and port 1 are utilized. > CPU C-state, hpet are enabled, ports are binded to igb_uio. > Tried with NIC's x772 (10 GbE) and XXV710(25 GbE), Observed same behavior. > We have tested l3fwd-power with octeontx2 PMD, l3fwd-power disables queue interrupt even if a single packet is received on the queue. I assume you are pumping multple flows to the nic. > I am observing the below output: > */root/comms/dpdk/examples/l3fwd-power/build/l3fwd-power -l 2,3,4,5 -n 6 > --socket-mem 512,0 -w 17:00.0 -w 17:00.1 -- -p 0x3 --config > '(0,0,2),(0,1,3),(1,0,4),(1,1,5)' -P* > EAL: Detected 48 lcore(s) > EAL: Detected 1 NUMA nodes > EAL: Multi-process socket /var/run/dpdk/l3fwd/mp_socket > EAL: Probing VFIO support... > EAL: PCI device 0000:17:00.0 on NUMA socket 0 > EAL: probe driver: 8086:158b net_i40e > EAL: PCI device 0000:17:00.1 on NUMA socket 0 > EAL: probe driver: 8086:158b net_i40e > Promiscuous mode selected > POWER: Attempting to initialise ACPI cpufreq power management... > POWER: Power management governor of lcore 2 has been set to user space > successfully > POWER: Initialized successfully for lcore 2 power management > POWER: Power management governor of lcore 3 has been set to user space > successfully > POWER: Initialized successfully for lcore 3 power management > POWER: Power management governor of lcore 4 has been set to user space > successfully > POWER: Initialized successfully for lcore 4 power management > POWER: Power management governor of lcore 5 has been set to user space > successfully > POWER: Initialized successfully for lcore 5 power management > Initializing port 0 ... Creating queues: nb_rxq=2 nb_txq=4... Port 0 > modified RSS hash function based on hardware support,requested:0x20820 > configured:0x820 > Address:00:E0:ED:96:2B:AA, Allocated mbuf pool on socket 0 > Initializing rx queues on lcore 2 ... rxq=0,0,0 > Initializing rx queues on lcore 3 ... rxq=0,1,0 > Initializing rx queues on lcore 4 ... rxq=1,0,0 > Initializing rx queues on lcore 5 ... rxq=1,1,0 > > Checking link status.....done > Port 0 Link Up - speed 25000 Mbps - full-duplex > Port 1 Link Up - speed 25000 Mbps - full-duplex > L3FWD_POWER: entering main loop on lcore 3 > L3FWD_POWER: -- lcoreid=3 portid=0 rxqueueid=1 > L3FWD_POWER: entering main loop on lcore 4 > L3FWD_POWER: -- lcoreid=4 portid=1 rxqueueid=0 > L3FWD_POWER: entering main loop on lcore 5 > L3FWD_POWER: -- lcoreid=5 portid=1 rxqueueid=1 > EAL: Event already been added. > L3FWD_POWER: entering main loop on lcore 2 > L3FWD_POWER: -- lcoreid=2 portid=0 rxqueueid=0 > EAL: Event already been added. > L3FWD_POWER: lcore 3 sleeps until interrupt triggers > L3FWD_POWER: lcore 4 sleeps until interrupt triggers > L3FWD_POWER: lcore 5 sleeps until interrupt triggers > L3FWD_POWER: lcore 2 sleeps until interrupt triggers > L3FWD_POWER: lcore 3 is waked up from rx interrupt on port 0 queue 1 > L3FWD_POWER: lcore 3 sleeps until interrupt triggers > L3FWD_POWER: lcore 5 is waked up from rx interrupt on port 1 queue 1 > L3FWD_POWER: lcore 5 sleeps until interrupt triggers > > I would appreciate it if some expert can shade a light on this. > > Thanks & Regards, > Soumen