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 E8BCD45EBC; Mon, 16 Dec 2024 11:02:19 +0100 (CET) Received: from mails.dpdk.org (localhost [127.0.0.1]) by mails.dpdk.org (Postfix) with ESMTP id 8114E4025F; Mon, 16 Dec 2024 11:02:19 +0100 (CET) Received: from mgamail.intel.com (mgamail.intel.com [198.175.65.19]) by mails.dpdk.org (Postfix) with ESMTP id 3C57040144 for ; Mon, 16 Dec 2024 11:02:17 +0100 (CET) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=intel.com; i=@intel.com; q=dns/txt; s=Intel; t=1734343339; x=1765879339; h=message-id:date:subject:to:cc:references:from: in-reply-to:content-transfer-encoding:mime-version; bh=jkdVvj3EcI5dpHG/fsILrQnij4BEnPVkMYxD6rM07GU=; b=cUppOv+EHao2j92G7+fTkzehxfjgJoWGtOJA2Xbh+YeNr1+bJH3Zc0YS CqIjYNdQnKiytoZGZnRpzSpaWH9WgTPXmV+uBnE30hUIIcF4Q3MVQamUW ohpweXZQvWPT0ei1qGuW7K7L88tZUOo1Mc/Nar1jfkOaYXJR3z4CG+DYk cBCqCkwQTYZy6Re/HfB+86YC2TWXgmLZIqL122Y+WmpNV25zUYQR85smQ X82XpQ4wFuPAatOBMcJoYklE+HqI72uBDZPSKA6tAdQ+8B871i4YNibOu uxDw4R36mgm/li5bM+r3bnL4bLZrVQj4OKFLsRVHrj0D8cPHaZRt2chEp Q==; X-CSE-ConnectionGUID: DO2gj43+S0Wd05sboFI9nQ== X-CSE-MsgGUID: zMYad09wRlegsSdt8fZX6A== X-IronPort-AV: E=McAfee;i="6700,10204,11287"; a="34599657" X-IronPort-AV: E=Sophos;i="6.12,238,1728975600"; d="scan'208";a="34599657" Received: from orviesa001.jf.intel.com ([10.64.159.141]) by orvoesa111.jf.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 16 Dec 2024 02:02:16 -0800 X-CSE-ConnectionGUID: 9UcrX+NdQPG0hmQuTHHhrA== X-CSE-MsgGUID: RkoVuLSNQ/C7gvOEB7VnMA== X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="6.12,224,1728975600"; d="scan'208";a="134488335" Received: from orsmsx601.amr.corp.intel.com ([10.22.229.14]) by orviesa001.jf.intel.com with ESMTP/TLS/AES256-GCM-SHA384; 16 Dec 2024 02:02:17 -0800 Received: from orsmsx601.amr.corp.intel.com (10.22.229.14) by ORSMSX601.amr.corp.intel.com (10.22.229.14) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256) id 15.1.2507.44; Mon, 16 Dec 2024 02:02:15 -0800 Received: from orsedg603.ED.cps.intel.com (10.7.248.4) by orsmsx601.amr.corp.intel.com (10.22.229.14) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256) id 15.1.2507.44 via Frontend Transport; Mon, 16 Dec 2024 02:02:15 -0800 Received: from NAM10-DM6-obe.outbound.protection.outlook.com (104.47.58.45) by edgegateway.intel.com (134.134.137.100) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.1.2507.44; Mon, 16 Dec 2024 02:02:14 -0800 ARC-Seal: i=1; a=rsa-sha256; s=arcselector10001; d=microsoft.com; cv=none; b=AR+JHwNxQttjPZR8D21RR/K1M4vGcA9FLQSmdEGd7gA14DTJMWtyVxJyUL4nwZQh3DAHWBlVh5O5m+D8C/Tp46io5WtjEQkNQY8FF18VIzdXInKv7OYRHmyTpbp3OeAaLhJLI8Cka2hx5YyzwEnypcYWopZvRQCdE77W4zGMiiC90IKn+RKtLN4HITanAZfPinQqr4l2J9QzIo/iIxeJtExXEJ/0YK+iuKrWh1gwNh8PIvyhl6ozH2N+eaoHNxQatl9N6+M02RAcpl6BwTDoVCcM8ZglYy4jc2xpUMd2dSieiAUC5xa9qZk3Jke30WkCYan9oUFwNlU0FDm0mRAtSQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=microsoft.com; s=arcselector10001; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-AntiSpam-MessageData-ChunkCount:X-MS-Exchange-AntiSpam-MessageData-0:X-MS-Exchange-AntiSpam-MessageData-1; bh=+MISKubAKCjQMUIEAusKsaf7qWgyREfJajWzSzpcp40=; b=oZYHfZ7W4oJbWEeTLuXGF23keixWUwhggPjHYsPFkmqxUA4QqWWzZjaEDO/uAZWC5epwl5cRaggI6h60+aXDEmZ6djGCHQpWn5kYpz5RK/XJnozSYLVx/77QTbJg4eZTVQqJjugzUG0OTXrN9/H2WPAAr9K8fRyO2S3IBMIPfYQTh8spGy+pJozdo8dT69YQP7GnvYcPiFR4cupD3Aj4HtpX0MwefO77oJenv6O/b2iaSILoz2tpV1AACpbrK3DlnUlA/gAvqefwK8hZc/iNZI7vIxCr8JY9k0QWSDTq4tCq16eLfM+GRHbks5W86P4v7nJi3F0CinjuGMFbvR9b7Q== 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 Authentication-Results: dkim=none (message not signed) header.d=none;dmarc=none action=none header.from=intel.com; Received: from DM4PR11MB6502.namprd11.prod.outlook.com (2603:10b6:8:89::7) by SA1PR11MB7132.namprd11.prod.outlook.com (2603:10b6:806:29e::22) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.8251.21; Mon, 16 Dec 2024 10:01:27 +0000 Received: from DM4PR11MB6502.namprd11.prod.outlook.com ([fe80::21e4:2d98:c498:2d7a]) by DM4PR11MB6502.namprd11.prod.outlook.com ([fe80::21e4:2d98:c498:2d7a%3]) with mapi id 15.20.8251.015; Mon, 16 Dec 2024 10:01:27 +0000 Message-ID: <7b5c81e8-0e64-4024-a068-f9788ec5bd5e@intel.com> Date: Mon, 16 Dec 2024 11:01:22 +0100 User-Agent: Mozilla Thunderbird Subject: Re: [PATCH 0/3] Defer lcore variables allocation To: =?UTF-8?Q?Mattias_R=C3=B6nnblom?= , David Marchand CC: , , , References: <20241205175754.1673888-1-david.marchand@redhat.com> <64f3a221-8692-4c4a-ae59-8e97a93dbf03@lysator.liu.se> Content-Language: en-US From: "Burakov, Anatoly" In-Reply-To: <64f3a221-8692-4c4a-ae59-8e97a93dbf03@lysator.liu.se> Content-Type: text/plain; charset="UTF-8"; format=flowed Content-Transfer-Encoding: 8bit X-ClientProxiedBy: DUZPR01CA0072.eurprd01.prod.exchangelabs.com (2603:10a6:10:3c2::10) To DM4PR11MB6502.namprd11.prod.outlook.com (2603:10b6:8:89::7) MIME-Version: 1.0 X-MS-PublicTrafficType: Email X-MS-TrafficTypeDiagnostic: DM4PR11MB6502:EE_|SA1PR11MB7132:EE_ X-MS-Office365-Filtering-Correlation-Id: be894a0b-cb66-41b3-1f3a-08dd1db89b15 X-LD-Processed: 46c98d88-e344-4ed4-8496-4ed7712e255d,ExtAddr X-MS-Exchange-SenderADCheck: 1 X-MS-Exchange-AntiSpam-Relay: 0 X-Microsoft-Antispam: BCL:0;ARA:13230040|366016|376014|1800799024; X-Microsoft-Antispam-Message-Info: =?utf-8?B?cnJRUVlYWUFmYmFhTHYwcjg0TTIvRG1KcXVEZFB6OEZKNGJJOEYxRjRoZjg0?= =?utf-8?B?MkpWTncyalV3d0c5Vm1SMWJIMkRsRkhDOW5GZjhJUzdXYmVrRDdabnIwVUtP?= =?utf-8?B?eHJRM2tJR1RSeXF5Skx5SWhYNU42T0U4TlByaVl0alUxSTN3bHdnNlFUVTJE?= =?utf-8?B?NGFoWHVIc2FtUzM3MUlRbFpzVjBIMHVlalY0NmxBUEZxUVBzTkplc1V3MnpC?= =?utf-8?B?TUlId05ha3MxaWhucDFNRGhnSGpTUE5MWTBrZjVlb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UUZTaTQvOVQyZ04rK25FbkZpaGJpdCtQNlZRTGlhS2RU?= =?utf-8?B?MVVwaGpYMzNqeGxjbys5MHEwVWcvODhwMHRVUnF0NEtkamtCNmVNOE5SUDcv?= =?utf-8?B?dVBSNCtYdmV3Sk5IRXJnNHhoMTFucEs2cndRTkdzelprSWZMbkh6ZExjSmxv?= =?utf-8?B?RUtUKzRjeGJES3VPY2w4L3o0YnBMdzhsOVZlSitLZ1ArdUZOeGN5K3dNT1VK?= =?utf-8?B?djdNS3BKMzdDVDBCbTBraGdtUU8wMjZITkFldmNIL25EQWJIREM5MDk4ek1H?= =?utf-8?B?UzhXVXhjcXU5WUNBSXpQbTM0MXd3R3BJcHJNSlBoQXdISjlldy9XNHZHTjMz?= =?utf-8?B?TCsyWHZjWC8wTTV0NU5wV2JKbDhLWDVqeWhJbXdqb2RxdThycGFwbmVORTgy?= =?utf-8?B?RFZ4aFgreGJHdlhEOERydHBHYmZZaGZRaWI3ZXVEejBKVUdHQkhqSytMQThu?= =?utf-8?B?NWxHZnFBaW9iNTkzVkdBSFpBdnRIM0gxYld1KzdKRnJveUFSZjV2Y01yeGt6?= =?utf-8?B?cTVzS1FoaDJudCtsTis0YVBkTWkrellCdHFtWk5vS3NkaFdFaVA1d1JiMTNH?= =?utf-8?B?Q0pSV1VlMDhOVFRhMVBEU2FMZFVUaGIyVXNkTDVxWXZrdmhQZDkyUmdUWTBM?= =?utf-8?B?NzhnZnJXY0JVclFtVTVEdz09?= X-Forefront-Antispam-Report: CIP:255.255.255.255; CTRY:; LANG:en; SCL:1; SRV:; IPV:NLI; SFV:NSPM; H:DM4PR11MB6502.namprd11.prod.outlook.com; PTR:; CAT:NONE; SFS:(13230040)(366016)(376014)(1800799024); DIR:OUT; SFP:1101; X-MS-Exchange-AntiSpam-MessageData-ChunkCount: 1 X-MS-Exchange-AntiSpam-MessageData-0: =?utf-8?B?Zm5yL2prRnZyNXFLVENTKytKeENpbEJPYk93bEl1Sjl5SkZTUzdpQ0du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Y0JuM3Byb1ZkcUNHeFluRnIxeFVS?= =?utf-8?B?N1VOaDJ4U0x0bVQ1T09qMDFGNXZjVFVqVmdpQmU3ODJoWFpuU3ppK1JWOGpl?= =?utf-8?B?amxEL3ZibDNvQmtPdkdGcmdES09DRVRQbnhXUDdzS1hsV0lvc1BrUVM4Q1Q2?= =?utf-8?B?VTFRNHFvaXN4blBJZjNodnlLWithT0dYRDhDRVNNM3c4b2d2bERlSmxrU3kw?= =?utf-8?B?azZxRHlxUitOMy9PODd3bkVmQkdYZ2tHT2xOcFZQdDYwUTBud0szdzh6WXFO?= =?utf-8?B?ZU5tYzVFV0lDTW52bm5zUy9nNGpXb0M4QkJoeWJOR1E1TTdrTGZnL09LWjFY?= =?utf-8?B?d0E9PQ==?= X-MS-Exchange-CrossTenant-Network-Message-Id: be894a0b-cb66-41b3-1f3a-08dd1db89b15 X-MS-Exchange-CrossTenant-AuthSource: DM4PR11MB6502.namprd11.prod.outlook.com X-MS-Exchange-CrossTenant-AuthAs: Internal X-MS-Exchange-CrossTenant-OriginalArrivalTime: 16 Dec 2024 10:01:27.0992 (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: 6ONMKFqiqK83ammfMOmIKgLpZ1KnthVVanK2V2X9c11G6+/DerI5WxobNRYkNSuycFhTxT+/0vfSJczva3fijEZn9E9I37a/kW9bkq9Znl4= X-MS-Exchange-Transport-CrossTenantHeadersStamped: SA1PR11MB7132 X-OriginatorOrg: intel.com 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 On 12/10/2024 10:41 AM, Mattias Rönnblom wrote: > > Maybe the DAG is available on the build (meson) level, and thus the code > can be generated out of that? There is in fact a patchset that produces just that kind of graph: https://patches.dpdk.org/project/dpdk/list/?series=34055 It's currently not very consumable by DPDK and it'd be a difficult task to integrate it into DPDK in such a way as to allow arbitrary libraries to use it, but building such a graph from build system is doable. However, IMO it would be easier to build such a graph at init time, where a component would register its dependencies with EAL, and EAL would handle the rest. That way, the bulk of the work lands in EAL, while component developers only have to specify the things they depend on. It could be a little tricky in that some components may depend on e.g. IPC which isn't a "component" as much as it's an init stage, but depending on IPC could just as well be depending on EAL having done init, while for internal components we can come up with some sort of internal init order mechanism. -- Thanks, Anatoly