Tuesday, January 31, 2023

Check NVIDIA GPU NUMA Affinity

> nvidia-smi topo -m
        GPU0    CPU Affinity    NUMA Affinity
GPU0     X      64-127,192-254  1

Legend:

  X    = Self
  SYS  = Connection traversing PCIe as well as the SMP interconnect between NUMA nodes (e.g., QPI/UPI)
  NODE = Connection traversing PCIe as well as the interconnect between PCIe Host Bridges within a NUMA node
  PHB  = Connection traversing PCIe as well as a PCIe Host Bridge (typically the CPU)
  PXB  = Connection traversing multiple PCIe bridges (without traversing the PCIe Host Bridge)
  PIX  = Connection traversing at most a single PCIe bridge
  NV#  = Connection traversing a bonded set of # NVLinks

Friday, January 27, 2023

Centos9 NVIDIA drivers

  • dnf makecache
  • dnf config-manager --set-enabled crb
  • dnf install epel-release epel-next-release -y
  • dnf makecache
  • dnf install -y kernel-headers kernel-devel tar bzip2 make automake gcc gcc-c++ pciutils elfutils-libelf-devel libglvnd-opengl libglvnd-glx libglvnd-devel acpid pkgconfig dkms
  • dnf config-manager --add-repo http://developer.download.nvidia.com/compute/cuda/repos/rhel9/$(uname -i)/cuda-rhel9.repo
  • dnf makecache
  • dnf module install -y nvidia-driver
  • dnf install -y nvtop clinfo

(dnf module install nvidia-driver:latest-dkms) 


https://linuxhint.com/install-nvidia-drivers-centos/