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

Re: [PATCH v13 00/12] Arm cache coloring


  • To: Carlo Nonato <carlo.nonato@xxxxxxxxxxxxxxx>, <xen-devel@xxxxxxxxxxxxxxxxxxxx>
  • From: Michal Orzel <michal.orzel@xxxxxxx>
  • Date: Fri, 20 Dec 2024 08:34:39 +0100
  • Arc-authentication-results: i=1; mx.microsoft.com 1; spf=pass (sender ip is 165.204.84.17) smtp.rcpttodomain=minervasys.tech smtp.mailfrom=amd.com; dmarc=pass (p=quarantine sp=quarantine pct=100) action=none header.from=amd.com; dkim=none (message not signed); arc=none (0)
  • 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=2VMEixpDlPajZnnEZsgtj9QhLL0VDGS22c/b5M3I8ck=; b=HNJu+HqrIDvuqFlNNz52VJ/kRtzBPKZUQ3Oo6X2JUh20LUmfcnUMgYM+R4HqJUAX5kmuezG9pvM8vhiIDnNLBYZ1lMDebL9UvIFA4FMY/wpNCn08l+0QBFEgyX8hD61WE6CD064BUpYDiX0/130CWEKgHzUdMXcwUuGK0q79ncX9kjgNny68qj2PGhQ6RfzJznIavNnN3TdZ730TV0zp99U2M3mTXVdwVtYu3/smomSbTxVZ5Sl4Ipz2PgjiB2s7tcXDo/095AY8iUZgNoHav2C6p2B0sghq/bNHirFOFcM1i76PUDgblRhHt90GERnyKM80qNlXKiRhrqgWhe9TPA==
  • Arc-seal: i=1; a=rsa-sha256; s=arcselector10001; d=microsoft.com; cv=none; b=UzcVewO9216oveH4SvJ4dD6sBm/wILbaCZn71G0/RuwICuG4BCjhccmWbjdJy932zk1XC+BTHbjIHdbDDyYnvGJg2ufzOFetMLymmDHiVutqxFvElUTX57yG4Fw+5cqSEA+cAWGfCPBLFyXQpL0ILQvI4JFG466oT4ggqUINYUKS8RYMPKl8J2I0LRaJlBRbLl3j5AMyJMbRv4ehZsylXpMEuA5erWNHHLVj72aR2IGH60hkESZsh4J3VptAfuB+KeIqxkqw3Vm+5UV2ZpX7fNWC9nLJSy6IUu3LFJ6MfBjwWici6FQwDxnsTzOycMstPbjvrEYsASfKRKsEm+R4yg==
  • Cc: <andrea.bastoni@xxxxxxxxxxxxxxx>, <marco.solieri@xxxxxxxxxxxxxxx>, Andrew Cooper <andrew.cooper3@xxxxxxxxxx>, Anthony PERARD <anthony.perard@xxxxxxxxxx>, Jan Beulich <jbeulich@xxxxxxxx>, Julien Grall <julien@xxxxxxx>, Roger Pau Monné <roger.pau@xxxxxxxxxx>, Stefano Stabellini <sstabellini@xxxxxxxxxx>, Bertrand Marquis <bertrand.marquis@xxxxxxx>, Volodymyr Babchuk <Volodymyr_Babchuk@xxxxxxxx>, Nick Rosbrook <rosbrookn@xxxxxxxxx>, George Dunlap <gwd@xxxxxxxxxxxxxx>, Juergen Gross <jgross@xxxxxxxx>
  • Delivery-date: Fri, 20 Dec 2024 07:34:55 +0000
  • List-id: Xen developer discussion <xen-devel.lists.xenproject.org>


On 17/12/2024 18:06, Carlo Nonato wrote:
> 
> 
> Shared caches in multi-core CPU architectures represent a problem for
> predictability of memory access latency. This jeopardizes applicability
> of many Arm platform in real-time critical and mixed-criticality
> scenarios. We introduce support for cache partitioning with page
> coloring, a transparent software technique that enables isolation
> between domains and Xen, and thus avoids cache interference.
> 
> When creating a domain, a simple syntax (e.g. `0-3` or `4-11`) allows
> the user to define assignments of cache partitions ids, called colors,
> where assigning different colors guarantees no mutual eviction on cache
> will ever happen. This instructs the Xen memory allocator to provide
> the i-th color assignee only with pages that maps to color i, i.e. that
> are indexed in the i-th cache partition.
> 
> The proposed implementation supports the dom0less feature.
> The proposed implementation doesn't support the static-mem feature.
> The solution has been tested in several scenarios, including Xilinx Zynq
> MPSoCs.
> 
> Carlo Nonato (11):
>   xen/common: add cache coloring common code
>   xen/arm: add initial support for LLC coloring on arm64
>   xen/arm: permit non direct-mapped Dom0 construction
>   xen/arm: add Dom0 cache coloring support
>   xen: extend domctl interface for cache coloring
>   tools: add support for cache coloring configuration
>   xen/arm: add support for cache coloring configuration via device-tree
>   xen/page_alloc: introduce preserved page flags macro
>   xen: add cache coloring allocator for domains
>   xen/arm: make consider_modules() available for xen relocation
>   xen/arm: add cache coloring support for Xen image
> 
> Luca Miccio (1):
>   xen/arm: add Xen cache colors command line parameter
The series is now committed. Thanks.

It's definitely a change that wants mentioning in CHANGELOG. I'll send a patch
to add a note shortly.

~Michal




 


Rackspace

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