Uploaded image for project: 'RHEL'
  1. RHEL
  2. RHEL-102789

rteval cpu count on grace hopper

Linking RHIVOS CVEs to...Migration: Automation ...Sync from "Extern...XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Unresolved
    • Icon: Undefined Undefined
    • None
    • rhel-9.6
    • rteval
    • None
    • No
    • None
    • 1
    • rhel-kernel-rts-real
    • 0
    • False
    • False
    • Hide

      None

      Show
      None
    • None
    • CK Parent Issues In Progress
    • None
    • None
    • Unspecified
    • Unspecified
    • Unspecified
    • aarch64
    • None

      What were you trying to do that didn't work?

      Help shows misleading CPU info on grace hopper.

      What is the impact of this issue to you?

      Little confusing

      Please provide the package NVR for which the bug is seen:

      rteval-3.9-5.el9.noarch

      How reproducible is this bug?:

      always

      Steps to reproduce

      1.  rteval on grace hopper
      2.  
      3.  

      Expected results

       exclude nodes without cpu probably the less confusing

      Actual results

      [root@cnfdg45 ~]# rteval
      got system topology: 9 node system (72 cores per node)

      [root@cnfdg45 ~]# numactl --hardware
      available: 9 nodes (0-8)
      node 0 cpus: 0 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71
      node 0 size: 488709 MB
      node 0 free: 483198 MB
      node 1 cpus:
      node 1 size: 0 MB
      node 1 free: 0 MB
      node 2 cpus:
      node 2 size: 0 MB
      node 2 free: 0 MB
      node 3 cpus:
      node 3 size: 0 MB
      node 3 free: 0 MB
      node 4 cpus:
      node 4 size: 0 MB
      node 4 free: 0 MB
      node 5 cpus:
      node 5 size: 0 MB
      node 5 free: 0 MB
      node 6 cpus:
      node 6 size: 0 MB
      node 6 free: 0 MB
      node 7 cpus:
      node 7 size: 0 MB
      node 7 free: 0 MB
      node 8 cpus:
      node 8 size: 0 MB
      node 8 free: 0 MB
      node distances:
      node     0    1    2    3    4    5    6    7    8 
         0:   10   80   80   80   80   80   80   80   80 
         1:   80   10   11   11   11   11   11   11   11 
         2:   80   11   10   11   11   11   11   11   11 
         3:   80   11   11   10   11   11   11   11   11 
         4:   80   11   11   11   10   11   11   11   11 
         5:   80   11   11   11   11   10   11   11   11 
         6:   80   11   11   11   11   11   10   11   11 
         7:   80   11   11   11   11   11   11   10   11 
         8:   80   11   11   11   11   11   11   11   10 

       

      Interestingly here https://issues.redhat.com/browse/RHEL-76130 I mentioned rteval handling it better, likely not at printing, or something changed.

      It is reported as 9 node system , but only one of them has 72 CPU not each,
      you might want drop the zero cpu nodes from the node count or average the CPU .
      Alternatively print and count "total cores" or "total threads" instead.

              jkacur John Kacur
              afazekas1@redhat.com Attila Fazekas
              John Kacur John Kacur
              Attila Fazekas Attila Fazekas
              Votes:
              0 Vote for this issue
              Watchers:
              6 Start watching this issue

                Created:
                Updated: