Skip to content

e2e: enforce virtual machine cache topology levels#716

Draft
askervin wants to merge 1 commit into
containers:mainfrom
askervin:5i4-e2e-force-cache-topology
Draft

e2e: enforce virtual machine cache topology levels#716
askervin wants to merge 1 commit into
containers:mainfrom
askervin:5i4-e2e-force-cache-topology

Conversation

@askervin

Copy link
Copy Markdown
Collaborator

On some host platforms, Qemu reports every virtual machine CPU hyperthread having its own L1d, L1i and L2 caches. Force virtual CPU cache topology where these caches are shared between thread siblings.

On some host platforms, Qemu reports every virtual machine CPU
hyperthread having its own L1d, L1i and L2 caches. Force virtual CPU
cache topology where these caches are shared between thread siblings.

Signed-off-by: Antti Kervinen <antti.kervinen@intel.com>
@askervin

askervin commented Jul 10, 2026

Copy link
Copy Markdown
Collaborator Author

This does not seem to be enough, problem persists (and gets even worse, see L3...) at least on one host system:

[root@n4c16-fedora-43-containerd ~]# grep . /sys/devices/system/cpu/cpu0/cache/index*/*_list
/sys/devices/system/cpu/cpu0/cache/index0/shared_cpu_list:0
/sys/devices/system/cpu/cpu0/cache/index1/shared_cpu_list:0
/sys/devices/system/cpu/cpu0/cache/index2/shared_cpu_list:0
/sys/devices/system/cpu/cpu0/cache/index3/shared_cpu_list:0-3

[root@n4c16-fedora-43-containerd ~]# grep . /sys/devices/system/cpu/cpu0/topology/{thread_siblings_list,package_cpus_list}
/sys/devices/system/cpu/cpu0/topology/thread_siblings_list:0-1
/sys/devices/system/cpu/cpu0/topology/package_cpus_list:0-7

--> keeping the PR as Draft.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant