On Wed, Jan 10, 2024 at 12:51:58PM +0100, Peter Krempa wrote:
On Mon, Jan 08, 2024 at 20:26:00 +0100, Andrea Bolognani wrote:
> The data is taken from an HPE Apollo 70 machine, which uses
> aarch64 CPUs. It is interesting for us because non-dummy
> information about CPU clusters is exposed through sysfs.
>
> Signed-off-by: Andrea Bolognani <abologna(a)redhat.com>
> ---
> .../linux-basic-clusters/system/cpu | 1 +
> .../linux-basic-clusters/system/node | 1 +
> .../vircaps-aarch64-basic-clusters.xml | 255 +++
> tests/vircaps2xmltest.c | 1 +
> .../linux-aarch64-with-clusters.cpuinfo | 2016 +++++++++++++++++
> .../linux-aarch64-with-clusters.expected | 1 +
> .../cpu/cpu0/topology/cluster_cpus | 1 +
> .../cpu/cpu0/topology/cluster_cpus_list | 1 +
> .../cpu/cpu0/topology/cluster_id | 1 +
> .../cpu/cpu0/topology/core_cpus | 1 +
> .../cpu/cpu0/topology/core_cpus_list | 1 +
> .../cpu/cpu0/topology/core_id | 1 +
> .../cpu/cpu0/topology/core_siblings | 1 +
> .../cpu/cpu0/topology/core_siblings_list | 1 +
> .../cpu/cpu0/topology/package_cpus | 1 +
> .../cpu/cpu0/topology/package_cpus_list | 1 +
> .../cpu/cpu0/topology/physical_package_id | 1 +
> .../cpu/cpu0/topology/thread_siblings | 1 +
> .../cpu/cpu0/topology/thread_siblings_list | 1 +
Uhh:
3149 files changed, 5418 insertions(+)
You're right, it's a bit silly.
For v2 I've compressed things from 224 CPUs down to just 8, all
while preserving the information we actually care about, i.e. there
being multiple clusters. The diffstat is a lot more reasonable:
85 files changed, 194 insertions(+)
--
Andrea Bolognani / Red Hat / Virtualization