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

Re: [PATCH v4 00/11] Arm cache coloring


  • To: Carlo Nonato <carlo.nonato@xxxxxxxxxxxxxxx>
  • From: Jan Beulich <jbeulich@xxxxxxxx>
  • Date: Mon, 23 Jan 2023 16:52:11 +0100
  • Arc-authentication-results: i=1; mx.microsoft.com 1; spf=pass smtp.mailfrom=suse.com; dmarc=pass action=none header.from=suse.com; dkim=pass header.d=suse.com; 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=WMrIkdY/8YnvQDKF/6QTAJDxwfaruzwGCLdEnVrHwMI=; b=HdSMLzjvVPU95gUKp5d+xbptMc2TTeBf3OVMAJIzd3xSUXMPHp0vmwANBUVIhZMc8wIa+mwU94Hl38LICp3sccWLh/NHHOyw3c9EM8i/DYay+MztFrwU8/OlRrEH3Zr7iwI6R2hYG1a06H8cSMM7y8djsOd/tujw3fMjRr86CM3aTwvJ9yrs6fyPPFSbLk15IL/i3Zbv0dVXXmo0ENynm2PrJyRAfd35We93Fke3VvwTAlj1qR23WEmKQG2c9amS278Zg5tSDCcWvyYk9lHK+G8N5OiKlAcJXnZ149x5O+YoSDQIunYshRb5HFQpIOCerty+eq+IfiaGak34HLt+eA==
  • Arc-seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=fUsbq+jxzMqtESt2kdk1hJ4+vt7pnSC79ONOsp4xQ3S2QEfLk9OGVgwccl49fmnvul+UBkrAPOG5plUX6ShhP041l7hefA5ndSNnktvPvMckKhf47Im4J1M+JHVR7afD0UuqDAG8JoeJUOi7Jkg6/nVkSxsiRTkpg2FeHgfhGC9Y762/1yLD7N+lsEGAILciO5nHsqsqZGHF0rAVNiFgqBjgqOn1XSPD+oRfakp2o3xWzQaYvFMj9iYG39ystK1rVALyM3i8CcLjZRB7CWKiam3/w62eBMsj5BoQTKGk8STM1U3UEL19tIgG+hVWAPknBsIeyflAy8BWm8jHc/5C0g==
  • Authentication-results: dkim=none (message not signed) header.d=none;dmarc=none action=none header.from=suse.com;
  • Cc: Andrew Cooper <andrew.cooper3@xxxxxxxxxx>, George Dunlap <george.dunlap@xxxxxxxxxx>, Julien Grall <julien@xxxxxxx>, Stefano Stabellini <sstabellini@xxxxxxxxxx>, Wei Liu <wl@xxxxxxx>, Bertrand Marquis <bertrand.marquis@xxxxxxx>, Volodymyr Babchuk <Volodymyr_Babchuk@xxxxxxxx>, Anthony PERARD <anthony.perard@xxxxxxxxxx>, Juergen Gross <jgross@xxxxxxxx>, xen-devel@xxxxxxxxxxxxxxxxxxxx
  • Delivery-date: Mon, 23 Jan 2023 15:52:24 +0000
  • List-id: Xen developer discussion <xen-devel.lists.xenproject.org>

On 23.01.2023 16:47, 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.
> 
> v4 global changes:
> - added "llc" acronym (Last Level Cache) in multiple places in code
>   (e.g. coloring.{c|h} -> llc_coloring.{c|h}) to better describe the

Please can you use dashes in favor of underscores in the names of new
files?

Jan



 


Rackspace

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