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 50483A0C4C; Tue, 21 Sep 2021 15:17:35 +0200 (CEST) Received: from [217.70.189.124] (localhost [127.0.0.1]) by mails.dpdk.org (Postfix) with ESMTP id 7B6C441143; Tue, 21 Sep 2021 15:17:15 +0200 (CEST) Received: from mga01.intel.com (mga01.intel.com [192.55.52.88]) by mails.dpdk.org (Postfix) with ESMTP id 8563341130 for ; Tue, 21 Sep 2021 15:17:10 +0200 (CEST) X-IronPort-AV: E=McAfee;i="6200,9189,10113"; a="245768584" X-IronPort-AV: E=Sophos;i="5.85,311,1624345200"; d="scan'208,217";a="245768584" Received: from orsmga002.jf.intel.com ([10.7.209.21]) by fmsmga101.fm.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 21 Sep 2021 06:16:44 -0700 X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="5.85,311,1624345200"; d="scan'208,217";a="454362309" Received: from orsmsx606.amr.corp.intel.com ([10.22.229.19]) by orsmga002.jf.intel.com with ESMTP; 21 Sep 2021 06:16:44 -0700 Received: from orsmsx612.amr.corp.intel.com (10.22.229.25) 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; Tue, 21 Sep 2021 06:16:43 -0700 Received: from ORSEDG601.ED.cps.intel.com (10.7.248.6) by orsmsx612.amr.corp.intel.com (10.22.229.25) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256) id 15.1.2242.12 via Frontend Transport; Tue, 21 Sep 2021 06:16:43 -0700 Received: from NAM11-DM6-obe.outbound.protection.outlook.com (104.47.57.168) by edgegateway.intel.com (134.134.137.102) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.1.2242.12; Tue, 21 Sep 2021 06:16:43 -0700 ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=L0FK653tRt5pkODm7q75d1p4MRdvcyHwY/gO1q5bJL8GSIyxJ3+XpDqTpTt/sB/H1x87TXucInH7YasB/6O9Htmx6BmzdV2cnotmf1geJJ6tM0ZE5dseFF9fCWiEcWiFB06hDTbQbuzeyLRbyY6JJcOv4yD1SQ1tTVDk1HuMXUS/786m4I7sdzmdomgJBAAMduWXWvaF8crJKgFyZh2mKPo31ix4vWnGIAlM3cNSHUb1ZQx/k6h2nMqim77HsowkXp1dgWBo8GsUE1VXIwsWDcoX7gsSvGoVNAh/v5JKp84n3BbS6GfPtDCNs1kG9T8vzWCvL80Cmd642xfJIe+SEg== 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; bh=6Jk1ydn5Y6YV2wDE237es0psSCjzlLjI/eR4/3UC7LA=; b=LS/wq57BdmT0czT7EdrhEQALUHvpLxCoaYjjeI8NKGCK2ySIHABHTF4JqQGqy5IhWJtdJIeTjm2WmwnxBhh6wHtlHvmOntgJF7uPJqYWi5SGHQaq6biH9Kxc2nWDzODvcOL+eTttrJPFZsCeEaWWvPnwMxBevqX9OLUZ4LzidVGOSqCVrQcMeVI29oy5p6tTo1GxIW6ulX6sCwZVgvQQSRKwDB+aIuhPXAtzmV5/0/HoC5GJoy0p7qz5NOSz8AmGIyU1yHAS3bKZUKRKpzCh2Sf2t4c1fq8O0qfBI4fq/1tLhKUtYANRp69EQc32lZXSUvV2Q5k0Jt/RjltVoGXz1g== 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=6Jk1ydn5Y6YV2wDE237es0psSCjzlLjI/eR4/3UC7LA=; b=k1A58frlIQorAh/js4k/p4ek+WTFnMFkzdArF9+jq/9h/V0CaxruPb4bQpQ7RKEFQPYEsALC5chDInj8TMfKiWvbRNsJQaSA+fK6k38AuaDKIUyFp55o2YCsPIpMmACZpqM64d40F7LKFBqW9Oy+jBM7sFVTBbtaRM844SpMSuU= Authentication-Results: redhat.com; dkim=none (message not signed) header.d=none;redhat.com; dmarc=none action=none header.from=intel.com; Received: from PH0PR11MB5047.namprd11.prod.outlook.com (2603:10b6:510:3c::18) by PH0PR11MB5047.namprd11.prod.outlook.com (2603:10b6:510:3c::18) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.4523.14; Tue, 21 Sep 2021 13:16:40 +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.018; Tue, 21 Sep 2021 13:16:40 +0000 From: David Hunt To: Bruce Richardson CC: , , References: <20210915121104.30581-1-david.hunt@intel.com> <20210921115015.36442-1-david.hunt@intel.com> Message-ID: <913add5d-f7fc-dec1-bf14-01ba1ba06b1b@intel.com> Date: Tue, 21 Sep 2021 14:16:35 +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-Language: en-GB X-ClientProxiedBy: DB6PR0301CA0086.eurprd03.prod.outlook.com (2603:10a6:6:30::33) 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 DB6PR0301CA0086.eurprd03.prod.outlook.com (2603:10a6:6:30::33) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.4523.16 via Frontend Transport; Tue, 21 Sep 2021 13:16:39 +0000 X-MS-PublicTrafficType: Email X-MS-Office365-Filtering-Correlation-Id: 825ccde4-af65-43bd-c71e-08d97d020c5e X-MS-TrafficTypeDiagnostic: PH0PR11MB5047: 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:10000; X-MS-Exchange-SenderADCheck: 1 X-MS-Exchange-AntiSpam-Relay: 0 X-Microsoft-Antispam: BCL:0; X-Microsoft-Antispam-Message-Info: tiViEcP8AIGC8IuqBX/eW+wV+RXQO86xpjYy/ZlKbETQJrt0Pu443YtDWe5BxHraIJ1fgEtzLYahloovd0AgisDUoLeUkVcZP6VKvMC4agbynwQ5yC3CK/ekYSqFpO7EqdFYHrWu3+1O2/t8xInZFUFDM21a3WrwK+Rf9qQQZ18GJQ9yrZpe4IM+h4aFRO1a5/vJDx8YKO0LIT4DzaXxl6hB7PB01SFrt+6C1v8GXsvlDSmETJNjGE/4cZYIgmJ9uNJ1B9Cbh2yMzALJJLQEO/4VcGBV5qZvNbYsd32ufekYwosRbIIWgvqE9n4zgAPicLRGKPqaseS1INBG2mM5OfWcL2HaszCnqakWdJriDUI/vD+8pItP/K5Dq37STFLHFgsQn3W0NRM04TEblqIlLq3FkY9RPecoupyw+EAQyGlFru1VKmut3l4jFWIxiPwmHKrtyLt8TF0/1ZD/75br1DqjKi+EaHkBPYOERbQn0JlWQZHC7x8rP4E/HRflYCAf2vmZYP1SZca9fqH8+Lk3unb7RyE2/brVVHyDE2NnvhgU74rG4lAIlGYLZqrZiOeHNDr70v8t0kQ9PR5/D5CkfDFnvGVJWxPChFTzDr6mJ/vRQtf6n8dB9P3Tfe/zNW6L1jv0KHNFAOA5HWUTuCZv7MNdefwT9uibue4SH5eO99CprrzZ6mNrgHEWHlu+Sg1JO6nB8sF0VVJGG9NAoeFdfOoqGkDhVD3W2GCkT3U0ox0= 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)(26005)(44832011)(31696002)(38100700002)(86362001)(53546011)(8936002)(5660300002)(6636002)(4326008)(2906002)(66556008)(508600001)(16576012)(66946007)(6666004)(36756003)(956004)(2616005)(6486002)(66476007)(31686004)(83380400001)(316002)(37006003)(8676002)(6862004)(33964004)(186003)(45980500001)(43740500002); DIR:OUT; SFP:1102; X-MS-Exchange-AntiSpam-MessageData-ChunkCount: 1 X-MS-Exchange-AntiSpam-MessageData-0: =?utf-8?B?SGZYUzMzS3lTQnZrNWV5V1drczNadThRb243ZjZsWXpsejZTSHl1a3krS1Iz?= =?utf-8?B?Wjk5ZHpSeFN5Tk11VzB5dmttbGIrSU95WDN3clZySmhuV1l0enFMTExRdFJv?= =?utf-8?B?ZXJxQnZoZXhzTFEvWXlFZFJPTVJ1aXBtUzZaQy9sRFVRYWg5aWZCTUhRdE1S?= =?utf-8?B?Q0JOTmFvYnFwNmlWdjU5a25IaWxqTndxdk1UZG5RcXVBSnJKaUVCenRJakFq?= =?utf-8?B?Z2VrRHVDY1RkVE56aDNIaFhkdTFsOGQ2SzBXcnVlNFRCQVp4QUlFbWhFL0Rq?= =?utf-8?B?T2I3dWFiM0pNaysyL1lmYTlQM0dtMkJUN0ZHcFJYTThscmZRcWxBMTRsYlkr?= =?utf-8?B?UVd6WHcyemZpSmtQZnNOd2I1UHJ3bWxJc2w0MnRIa2VweFlwdllnVzRRMVZ6?= =?utf-8?B?Ui96OGJjUUpoSzZkWXJYNHBQK1VKdGdCdXNsRUxza0RzNlVmR2tmcXFwT2t2?= =?utf-8?B?YS9VN3RXMWwvYXBEUWJVVk81W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MWZyM0lQU3FiQVg5V0F5R2RkNWt4UVVYOU1IUmN2Y2dwSGpQazhI?= =?utf-8?B?NXVYVnFLNHJPZFQrUW8wU1crRUg3R0kwSUxWN01zQVZNL2xFamlzUysyZE9T?= =?utf-8?B?VGdtZjdHWnJSSG9vWWpBVk5TUzdqUlhUa0JqQ3Vwd0VBVzdVZTkza3RYaXR6?= =?utf-8?B?N25uQVRKR0pSTTd1SFNtUkkxUnJlM2RCbWJTa3h3aG96K05LMDF2VUdMeVdT?= =?utf-8?B?QVI5NHpmaGgzdTJpdEREeUpjL0VSRHg1TmgrWDZ5MFlYZEhpU3dDVTNqSnBP?= =?utf-8?B?WDJYc2RqZ3lIY04vbHcvb0s0bW5EbmRKWEtmTG1kM2hNTkFLU0Nnek1vSUhB?= =?utf-8?Q?LYHks32c1fzpjSqCCMtzMp40Hcjd63Msf4rAS5C?= X-MS-Exchange-CrossTenant-Network-Message-Id: 825ccde4-af65-43bd-c71e-08d97d020c5e X-MS-Exchange-CrossTenant-AuthSource: PH0PR11MB5047.namprd11.prod.outlook.com X-MS-Exchange-CrossTenant-AuthAs: Internal X-MS-Exchange-CrossTenant-OriginalArrivalTime: 21 Sep 2021 13:16:40.2033 (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: SUyLhzLqSmGPn9452qS/9UCAkyizQhI9X7OBVbJpzhuUZTXjKBjWxFIqqKFpAceA7EHslP3BlJTAdTWwAuxcqw== X-MS-Exchange-Transport-CrossTenantHeadersStamped: PH0PR11MB5047 X-OriginatorOrg: intel.com Content-Type: text/plain; charset=utf-8; format=flowed Content-Transfer-Encoding: 8bit X-Content-Filtered-By: Mailman/MimeDel 2.1.29 Subject: Re: [dpdk-dev] [PATCH v3 1/2] eal: add additional info if core list too long 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 21/9/2021 1:04 PM, David Hunt wrote: > > On 21/9/2021 12:57 PM, Bruce Richardson wrote: >> On Tue, Sep 21, 2021 at 12:50:14PM +0100, David Hunt wrote: >>> If the user requests to use an lcore above 128 using -l, >>> the eal will exit with "EAL: invalid core list syntax" and >>> very little else useful information. >>> >>> THis patch adds some extra information suggesting to use --lcores >>> so that physical cores above RTE_MAX_LCORE (default 128) can be >>> used. This is achieved by using the --lcores option by mapping >>> the logical cores in the application to physical cores. >>> >>> There is no change in functionalty, just additional messages >>> suggesting how the --lcores option might be used for the supplied >>> list of lcores. For example, if "-l 12-16,130,132" is used, we >>> see the following additional output on the command line: >>> >>> EAL: Error = One of the 7 cores provided exceeds RTE_MAX_LCORE (128) >>> EAL: Please use --lcores instead, e.g. >> Minor suggestion: it would be good to clarify how to use lcores and >> what is >> happening here in the example. Something like: "Please use --lcores >> instead, to map lower lcore ids onto higher-numbered cores", could >> help the >> user understand better what is happening. > > > Hi Bruce, how about: > > EAL: Please use --lcores to map logical cores onto cores > > RTE_LCORE_MAX ,e.g. --lcores 0@12,1@13,2@14,3@15,4@16,5@130,6@132 > > Rgds, > Dave. > > > I think this should do it, as it clarifies the mapping: EAL: lcore 130 >= RTE_MAX_LCORE (128) EAL: lcore 132 >= RTE_MAX_LCORE (128) EAL: to use high physical core ids , please use --lcores to map them to lcore ids below RTE_LCORE_MAX, e.g.'--lcores 0@12,1@13,2@14,3@15,4@16,5@130,6@132' Thanks, Dave. >> >>>       --lcores 0@12,1@13,2@14,3@15,4@16,5@130,6@132 >>> >>> Signed-off-by: David Hunt >> With some more info to help the user: >> >> Acked-by: Bruce Richardson