Skip to content

Commit

Permalink
tests/linux: cleanup missing cpus in nvidiagpunumanodes
Browse files Browse the repository at this point in the history
Some cpus were removed from /sys/devices/system/cpu to reduce the size
of the topology, but the corresponding symlinks in /sys/bus/cpu/devices
were still there.
This causes these cpu to appear as offline when discovering through
/sys/bus/cpu/devices (while they don't exist at all), and to not
appear at all when discovering through /sys/devices/system/cpu.

Remove the broken symlinks so that discovery from both directory sees
the same (reduced) cpuset.

Signed-off-by: Brice Goglin <Brice.Goglin@inria.fr>
  • Loading branch information
bgoglin committed Jul 2, 2022
1 parent d868b80 commit cf4a652
Show file tree
Hide file tree
Showing 3 changed files with 0 additions and 2 deletions.
1 change: 0 additions & 1 deletion tests/hwloc/linux/nvidiagpunumanodes.kept.output
Expand Up @@ -106,5 +106,4 @@ Relative latency matrix (name NUMALatency kind 5) between 8 NUMANodes (depth -3)
1 80 80 80 80 80 10 80 80
2 80 80 80 80 80 80 10 80
3 80 80 80 80 80 80 80 10
144 processors not represented in topology: 0x0000ffff,0xffffffff,0xffffff00,0x00ffffff,0xffffffff,0xffff0000
Topology not from this system
1 change: 0 additions & 1 deletion tests/hwloc/linux/nvidiagpunumanodes.output
Expand Up @@ -94,5 +94,4 @@ Relative latency matrix (name NUMALatency kind 5) between 2 NUMANodes (depth -3)
index 0 1
0 10 40
1 40 10
144 processors not represented in topology: 0x0000ffff,0xffffffff,0xffffff00,0x00ffffff,0xffffffff,0xffff0000
Topology not from this system
Binary file modified tests/hwloc/linux/nvidiagpunumanodes.tar.bz2
Binary file not shown.

0 comments on commit cf4a652

Please sign in to comment.