From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mails.dpdk.org (mails.dpdk.org [217.70.189.124]) by inbox.dpdk.org (Postfix) with ESMTP id CCEAFA0C41; Wed, 15 Sep 2021 14:14:10 +0200 (CEST) Received: from [217.70.189.124] (localhost [127.0.0.1]) by mails.dpdk.org (Postfix) with ESMTP id 58B864014F; Wed, 15 Sep 2021 14:14:10 +0200 (CEST) Received: from mga06.intel.com (mga06.intel.com [134.134.136.31]) by mails.dpdk.org (Postfix) with ESMTP id 3CE314003C for ; Wed, 15 Sep 2021 14:14:08 +0200 (CEST) X-IronPort-AV: E=McAfee;i="6200,9189,10107"; a="283302137" X-IronPort-AV: E=Sophos;i="5.85,295,1624345200"; d="scan'208";a="283302137" Received: from fmsmga003.fm.intel.com ([10.253.24.29]) by orsmga104.jf.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 15 Sep 2021 05:13:50 -0700 X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="5.85,295,1624345200"; d="scan'208";a="544899038" Received: from orsmsx606.amr.corp.intel.com ([10.22.229.19]) by FMSMGA003.fm.intel.com with ESMTP; 15 Sep 2021 05:13:50 -0700 Received: from orsmsx611.amr.corp.intel.com (10.22.229.24) by ORSMSX606.amr.corp.intel.com (10.22.229.19) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256) id 15.1.2242.12; Wed, 15 Sep 2021 05:13:50 -0700 Received: from orsmsx606.amr.corp.intel.com (10.22.229.19) by ORSMSX611.amr.corp.intel.com (10.22.229.24) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256) id 15.1.2242.12; Wed, 15 Sep 2021 05:13:49 -0700 Received: from ORSEDG602.ED.cps.intel.com (10.7.248.7) by orsmsx606.amr.corp.intel.com (10.22.229.19) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256) id 15.1.2242.12 via Frontend Transport; Wed, 15 Sep 2021 05:13:49 -0700 Received: from NAM11-CO1-obe.outbound.protection.outlook.com (104.47.56.176) by edgegateway.intel.com (134.134.137.103) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.1.2242.12; Wed, 15 Sep 2021 05:13:49 -0700 ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=ThF86EKIGU7sgaLuRKe7qwnkP/oWZiGJ+Xw+8ctNiNoSxhzSEneZjo0Qq7STevO4M68K5OFgPyscxHy3Bav/zVRmEOhp7xLRrtUUAF6oe0BHldrPRAeg0eUB7VrvDjtVvcaLjEEqhmsxiOfY8NKklmrXKpXAeGXUYLxkpWs0mBHS1/KNpb4VT2oMxUunzAmUvXBAaGzs2ZmX4BULAFGA0r/41DCPi9o7S5xuw5zPIeqQTBNSCSB0NhrRG8jfewrogiasHUE381DDmJD2prR9jb7xuYXLQtFak/vGUQooebRuL7c55h/FzoP+ccG3jd8zc4x28oVbeBDA/LsOEONDzg== 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=VUyvZZStmqarwYlo2ScCM/pX/DCoWA9c0H644+RXkdc=; b=ZMC9bfqv0k7GAVsdMFC9IEIJS/itMJha2IdA2418Er/s380JCle8EgUqIMhIpxMHHCvGKCpjFZPd16bacN1PfV8LC76c6OI5D1dG0Rv0b9xnDRP1oPToQ2xQxo7Yn6SgaTcEKfRZ3Cz5fj2gijHmWwi0qcT7CgNTjiUtrRGxhdwEbbriNNDMf6ZqNfM+YIkqDWYlHeL+0s3mYT5eWv7slJHIie+7zOF/rm9TsoNm8Vxl1QtfmKSUI4UqlKpqdICtDJDBxap0fWOo939I2BGtIhS1YYKHcZ2DjUwFPUtcaOGCNu6dS5W54qBZ7yBMtwhfiuoNENSAgal21GC0FzlKwg== ARC-Authentication-Results: i=1; mx.microsoft.com 1; spf=pass smtp.mailfrom=intel.com; dmarc=pass action=none header.from=intel.com; dkim=pass header.d=intel.com; arc=none DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=intel.onmicrosoft.com; s=selector2-intel-onmicrosoft-com; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-SenderADCheck; bh=VUyvZZStmqarwYlo2ScCM/pX/DCoWA9c0H644+RXkdc=; b=Jv3aUEUC1MlAaP0Wiruw6RuY5KgY3PzOk2fLiQp6O/RjxMaerWa8IC1vJg8SyFvu4gZVZDT+DgH94wmZaxI/23nP/QNE6DKr/SHp13g9oww62bLBIb3BKssGw5vDaYnXu5ekt4NN9O4lutq6tmquc/G25Qqm1SD2mLA7F/Un9dg= Authentication-Results: dpdk.org; dkim=none (message not signed) header.d=none;dpdk.org; dmarc=none action=none header.from=intel.com; Received: from PH0PR11MB5047.namprd11.prod.outlook.com (2603:10b6:510:3c::18) by PH0PR11MB4949.namprd11.prod.outlook.com (2603:10b6:510:31::15) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.4415.21; Wed, 15 Sep 2021 12:13:48 +0000 Received: from PH0PR11MB5047.namprd11.prod.outlook.com ([fe80::a495:76aa:e576:1281]) by PH0PR11MB5047.namprd11.prod.outlook.com ([fe80::a495:76aa:e576:1281%4]) with mapi id 15.20.4523.014; Wed, 15 Sep 2021 12:13:47 +0000 To: David Marchand CC: Thomas Monjalon , Bruce Richardson , dev References: <20210909134511.18871-1-david.hunt@intel.com> <5148108.61zlV0aQVf@thomas> <14b789de-9279-c2bb-6140-595606462970@intel.com> From: David Hunt Message-ID: Date: Wed, 15 Sep 2021 13:13:43 +0100 User-Agent: Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:78.0) Gecko/20100101 Firefox/78.0 Thunderbird/78.14.0 In-Reply-To: Content-Type: text/plain; charset=utf-8; format=flowed Content-Transfer-Encoding: 8bit Content-Language: en-GB X-ClientProxiedBy: DB8P191CA0025.EURP191.PROD.OUTLOOK.COM (2603:10a6:10:130::35) To PH0PR11MB5047.namprd11.prod.outlook.com (2603:10b6:510:3c::18) MIME-Version: 1.0 Received: from [10.4.11.161] (95.45.23.115) by DB8P191CA0025.EURP191.PROD.OUTLOOK.COM (2603:10a6:10:130::35) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.4523.14 via Frontend Transport; Wed, 15 Sep 2021 12:13:46 +0000 X-MS-PublicTrafficType: Email X-MS-Office365-Filtering-Correlation-Id: fbc43842-01b4-4c6a-58ea-08d978424564 X-MS-TrafficTypeDiagnostic: PH0PR11MB4949: X-LD-Processed: 46c98d88-e344-4ed4-8496-4ed7712e255d,ExtAddr X-MS-Exchange-Transport-Forked: True X-Microsoft-Antispam-PRVS: X-MS-Oob-TLC-OOBClassifiers: OLM:8273; X-MS-Exchange-SenderADCheck: 1 X-MS-Exchange-AntiSpam-Relay: 0 X-Microsoft-Antispam: BCL:0; X-Microsoft-Antispam-Message-Info: bpHdQzMIAVUgolWY+Mfre6YIlctiS4zJ4OMjgguEwVdELk6n/yKQW/W0IoHRAsMR0ta+c1hvNbAuBmaKWatD4l3NiWjkPO9nAPY9PQAwSdsUnq9s/J96psaQ4S0I0kOABCGivsAHIrhlo+gyqvjF4bd7fKvARDXKmsFPOukfMEWiZyTSvSG6G+UcUd9J9GDGRtWq48M1M7EOTqnObSI4BNGu79iwp5rEHG9+Oz1qZes/5ZcI8fX0VT6ZI4oaj3WW5vDsN8Xct9ystCeoU58upILOrW/eTB8IPxntll744l9HiZS7kSRjgq6ndvKdsY0/VFO2mTXpZiCPmfv5Qg1SLFDDtfsHxBvXPQcQbOz/Y+ggtQ38HKQMwR8hEKnYgpDbb9oPLpWFxB+kG4m5QZQh4SGjzpvuE1yxY39ze/4Zmj6+muJ4chDL2a2O+b+Dvqbk/QfGnzXQO/9lAjPTn+Zwj+EHzu+90KBC+Scx8oA2BVmbseWqFoUhxtdBhbjGQz/Vz22imGnX4jRZte+i9oqZWLWbIdVFzfLb9G7aG2Owbw8zYyUvnHVEb1/dsOLcUWvbYVuk/g6jsgdrx46QFBqzWKcUXyEp5wmmGV9HJsmUHw7QRmKdwck/GbjTsuZE+BP9Xq1geGZugLrew7UZeN/zNTe8s6twNXO4wCHfpOJrdihJv9cehxVW1HVAThH40iYhy1POQozqkGhLQdpFlNv7QGt4koBtcr9QLwOrtgNUjfzI5mQTbQtEpgIJOWUmhfD3 X-Forefront-Antispam-Report: CIP:255.255.255.255; CTRY:; LANG:en; SCL:1; SRV:; IPV:NLI; SFV:NSPM; H:PH0PR11MB5047.namprd11.prod.outlook.com; PTR:; CAT:NONE; SFS:(4636009)(366004)(39860400002)(396003)(376002)(136003)(346002)(38100700002)(6916009)(8936002)(44832011)(16576012)(86362001)(83380400001)(5660300002)(2616005)(31686004)(2906002)(478600001)(6666004)(66556008)(4326008)(66476007)(66946007)(8676002)(54906003)(6486002)(316002)(53546011)(31696002)(26005)(36756003)(186003)(956004)(45980500001)(43740500002); DIR:OUT; SFP:1102; X-MS-Exchange-AntiSpam-MessageData-ChunkCount: 1 X-MS-Exchange-AntiSpam-MessageData-0: =?utf-8?B?SzMxSTJBNVdKTDdDczVMSzBiNUtaTlMrd1lLK2lVN1FFa2trNHhBOU9pN3R2?= =?utf-8?B?KzUxZENVZDNzWEVDWkFoZVUxS2lVekdtRXhYdTd2eXVPVms2M3FoQkhsTzcv?= =?utf-8?B?OU5MRU8rbTgvTlgxaTNjM1F6T2EyVldSY3FUZVcxd29vU0MvcWZibUhEalJm?= =?utf-8?B?djdldmNDSENzZytPcmVTdjhmQmNOSDkvUW8rUUVLTjhoR1BEUnpUVTJqV3I3?= =?utf-8?B?aE1qUzFXQktnbUtBek5oTzNEc0FNNThuOUFab3l4WExUdlhHMzZCTC82ZG5N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JVZkl5Vi9yc0M5OUJ6UDY1?= =?utf-8?B?SllDeUNZaXRodG1xd0lKMUdMYjBLaHZqdFc4Mmdhd25rT3UrWDY0cEpETDds?= =?utf-8?B?WUZUNk1laW12ZFMra09Wem5GcDZjQVJZSjNoSldvUVR5N3dLUjk1QnF6SkFK?= =?utf-8?B?RWNqQnA2aGYzVHdjQzFUOEV5M1NYdXVWQlpLSmxwbXdsZ0JmQVNzR1ZUQzQ0?= =?utf-8?B?UFhjektmaEtPTHRtOWcyRWpkUHdQVmU2U2lScS9HL3lKT3BxbGV5SzJFNHJn?= =?utf-8?B?ZXNwNk1QMzRLbFJqSGNaOHhhNWFNdnk1M2dIY1NFeldPRDRPTitiRmRBUUNa?= =?utf-8?B?SjBkNHJ5ZExEV0hpWHVtTDdJQUo1Q25zWVNmSXNDNFlOMU80YllCRVpmY3pu?= =?utf-8?B?ajJVaWl6MjErcHZReTNka3daY1UrYnp2KzI2U09ySnFTL0IydGw4R0dIZHlt?= =?utf-8?B?OUVxM29sa2dIU1JPM0FMZHR6YVB6TW9iVHlORTNWQ3hPTGlpSENSbEhpL21F?= =?utf-8?B?SjUzZTF3aUZlN1NnMEt0RVZnYUtaaWp6YXZhWlVmWWJVNDJUeEl3Mlp3dDNP?= =?utf-8?Q?VoR2dH2CW1QXAYvCivYWCvRiKKgtklXFlskYddD?= X-MS-Exchange-CrossTenant-Network-Message-Id: fbc43842-01b4-4c6a-58ea-08d978424564 X-MS-Exchange-CrossTenant-AuthSource: PH0PR11MB5047.namprd11.prod.outlook.com X-MS-Exchange-CrossTenant-AuthAs: Internal X-MS-Exchange-CrossTenant-OriginalArrivalTime: 15 Sep 2021 12:13:47.8398 (UTC) X-MS-Exchange-CrossTenant-FromEntityHeader: Hosted X-MS-Exchange-CrossTenant-Id: 46c98d88-e344-4ed4-8496-4ed7712e255d X-MS-Exchange-CrossTenant-MailboxType: HOSTED X-MS-Exchange-CrossTenant-UserPrincipalName: awuyMIF3Fw+bH0HC80Neu8692AsuDmsb0tpk925tUhU9aBJaYReHRWYxxIbeLBUxerovpPMTNpN4Og8dwFF8jg== X-MS-Exchange-Transport-CrossTenantHeadersStamped: PH0PR11MB4949 X-OriginatorOrg: intel.com Subject: Re: [dpdk-dev] [PATCH v1 1/6] build: increase default of max lcores to 512 X-BeenThere: dev@dpdk.org X-Mailman-Version: 2.1.29 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 14/9/2021 12:29 PM, David Marchand wrote: > On Tue, Sep 14, 2021 at 1:07 PM David Hunt wrote: >>>> “ERROR: logical core 212 is above the maximum lcore number permitted. >>>> Please use the --lcores option to map lcores onto physical cores, e.g. >>>> --lcores="(0-3)@(212-215).” >>> If you could directly provide the right --lcores syntax based on what >>> user provided with -c or -l, it would be even better. >>> This should be not that difficult. >> >> Agreed. I now have something working that when given "-l 12-16,130,132", >> will output the following: >> >> EAL: One of the 7 cores provided exceeds RTE_MAX_LCORE (128) >> EAL: Please use --lcores instead, e.g. --lcores "(0-6)@(12-16,130,132)" > That's not equivalent. > > (0-6)@(12-16,130,132) means 7 lcores with each lcore running on the > same group of physical cores. > -l 12-16,130,132 means 7 lcores running on dedicated physical cores. > I would expect 0@12,1@13,2@14,3@15,4@16,5@130,6@132 > > > You can see with debug logs: > > $ echo quit | ./build/app/dpdk-testpmd --log-level=*:debug --no-huge > -m 512 --lcores '(0-2)@(0-2)' -- --total-num-mbufs 2048 |& grep > lcore.*is.ready > EAL: Main lcore 0 is ready (tid=7feb9550bc00;cpuset=[0,1,2]) > EAL: lcore 1 is ready (tid=7feb909ce700;cpuset=[0,1,2]) > EAL: lcore 2 is ready (tid=7feb901cd700;cpuset=[0,1,2]) > > vs > > $ echo quit | ./build/app/dpdk-testpmd --log-level=*:debug --no-huge > -m 512 --lcores 0@0,1@1,2@2 -- --total-num-mbufs 2048 |& grep > lcore.*is.ready > EAL: Main lcore 0 is ready (tid=7fba1cd1ac00;cpuset=[0]) > EAL: lcore 2 is ready (tid=7fba179dc700;cpuset=[2]) > EAL: lcore 1 is ready (tid=7fba181dd700;cpuset=[1]) > Hi David,    Thanks for the clarification. I've made the relevant changes and submitted a v2. Hopefully the suggested parameters are correct this time! :) Regards, Dave.