[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [PATCH 4/5] xen/cpupool: Create different cpupools at boot time


  • To: Juergen Gross <jgross@xxxxxxxx>
  • From: Luca Fancellu <luca.fancellu@xxxxxxx>
  • Date: Tue, 15 Feb 2022 17:56:48 +0000
  • Arc-authentication-results: i=1; mx.microsoft.com 1; spf=none; dmarc=none; dkim=none; arc=none
  • 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-AntiSpam-MessageData-ChunkCount:X-MS-Exchange-AntiSpam-MessageData-0:X-MS-Exchange-AntiSpam-MessageData-1; bh=zOQsaqlE5PeDQaANSbG7W5ZFK1FQeQi88BOq4vaUGwA=; b=KQozMf3BisBcGUp2IJop7rkq4UK9prsYkHiapTXAAln+XxvoNENRA6GwGbYBxgf5Zh/MlcOs85CY5FnUXOFyhk8vf67nzQlz+/cPDP1+Y4fUdv8wwiUTbv1oQ5sU1CZMuEJCKRcJx6ezAcEOXqWeOZI9RFBSXlNzZUclbVgowlj5xP3Wim5ue0WLYgFlEVEsiLMTlfehYCIMbAgNXjHaW3cjufIUxuo6ixajTyTkOBeEJnKP+I5r4HlJ3j53E5ywEuuCIuCKHUwGHIbq4Qs8s1/IfVAKJeQxGtBvtNj5ABqaQrJ0hUxm+lqu2Z1Z5TJzYiKXsqWHNSScePQMe9MpBw==
  • Arc-seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=JXMuLnKQ0tFABBCfy+H4doIqV6nvD1anuqRXpl3dghQNpIYDoTiVElpwqaEgUHfky9o0nPVr/UpGNSH1bH6K2f5m1VDjt4kMAdfu3eCF+F9C4KwUlt5IrEwMIbCpX5xd9I2ch1IbjBcd719FXrn/e8k4nPlyU1ngzxO0ovK5VuTSGByg570KOEyLQR+Y9CQL7A/rX43NDDMG2LrTT30LlhW+DiiS/w6yPSu47GnAvhLmU9FK7rjJkJae138Usiv5dFEtlP/7Elo0/4oL4PvBU6lKaTRIlwbUSDw9BFY2jTMvmMQLomojvSUlhUqu9AgJlRwlfnfSCze5KOhfM4Wkuw==
  • Authentication-results-original: dkim=none (message not signed) header.d=none;dmarc=none action=none header.from=arm.com;
  • Cc: Xen-devel <xen-devel@xxxxxxxxxxxxxxxxxxxx>, Wei Chen <wei.chen@xxxxxxx>, Stefano Stabellini <sstabellini@xxxxxxxxxx>, Julien Grall <julien@xxxxxxx>, Volodymyr Babchuk <Volodymyr_Babchuk@xxxxxxxx>, Bertrand Marquis <bertrand.marquis@xxxxxxx>, Andrew Cooper <andrew.cooper3@xxxxxxxxxx>, George Dunlap <george.dunlap@xxxxxxxxxx>, Jan Beulich <jbeulich@xxxxxxxx>, Wei Liu <wl@xxxxxxx>, Dario Faggioli <dfaggioli@xxxxxxxx>
  • Delivery-date: Tue, 15 Feb 2022 17:57:15 +0000
  • List-id: Xen developer discussion <xen-devel.lists.xenproject.org>
  • Nodisclaimer: true
  • Original-authentication-results: dkim=none (message not signed) header.d=none;dmarc=none action=none header.from=arm.com;


> On 15 Feb 2022, at 10:48, Juergen Gross <jgross@xxxxxxxx> wrote:
> 
> On 15.02.22 11:15, Luca Fancellu wrote:
>> Introduce an architecture specific way to create different cpupools
>> at boot time, this is particularly useful on ARM big.LITTLE system
>> where there might be the need to have different cpupools for each type
>> of core, but also systems using NUMA can have different cpu pools for
>> each node.
>> The feature on arm relies on a specification of the cpupools from the
>> device tree to build pools and assign cpus to them.
>> Documentation is created to explain the feature.
>> Signed-off-by: Luca Fancellu <luca.fancellu@xxxxxxx>
> 
> IIRC I suggested to have the core functionality in common code in order
> to allow using boot time cpupool creation e.g. via commandline for x86,
> too.

Yes, however I think the parser to handle everything by command line would
be huge due to input sanitisation and not easy enough as the DT, however
I see Hyperlaunch has plans to use DT on x86 so I guess it would be ok to make
this feature common once the DT is available also on x86.

Cheers,
Luca

> 
> 
> Juergen
> <OpenPGP_0xB0DE9DD628BF132F.asc>




 


Rackspace

Lists.xenproject.org is hosted with RackSpace, monitoring our
servers 24x7x365 and backed by RackSpace's Fanatical Support®.