nvidia-smi -q -d POWER
nvidia-smi -i 0 -pl 100
nvidia-settings -a [gpu:0]/GPUFanControlState=1 -a [fan:0]/GPUTargetFanSpeed=70 -c :0
nvidia-smi -q -d POWER
nvidia-smi -i 0 -pl 100
nvidia-settings -a [gpu:0]/GPUFanControlState=1 -a [fan:0]/GPUTargetFanSpeed=70 -c :0
https://www.suse.com/c/recovering-lost-lvm-volume-disk/
Best to have backups of the config files in: /etc/lvm/backup
# netstat -nat | awk '{print $6}' | sort | uniq -c | sort -n
1 established)
1 Foreign
17 LISTEN
18 SYN_SENT
198 ESTABLISHED
This assumes you got NVIDIA drivers loaded (525), clinfo, opencl all working. Also NVIDIA toolkit 11 installed.
vim CMakeLists.txt and comment out
#if(UNIX AND NOT APPLE)
# set(CMAKE_EXE_LINKER_FLAGS "${CMAKE_EXE_LINKER_FLAGS} -static-libstdc++ -static-libgcc -pthread")
#endif()
Now we can run the benchmarks
> 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
(dnf module install nvidia-driver:latest-dkms)
https://linuxhint.com/install-nvidia-drivers-centos/
dnf config-manager --set-enabled crb
yum install protobuf-compiler
swapoff /dev/zram0; zramctl --reset /dev/zram0
yum remove zram-generator-defaults -y
touch /etc/systemd/zram-generator.conf
dnf install https://download1.rpmfusion.org/free/fedora/rpmfusion-free-release-$(rpm -E %fedora).noarch.rpm -y
dnf install https://download1.rpmfusion.org/nonfree/fedora/rpmfusion-nonfree-release-$(rpm -E %fedora).noarch.rpm -y
dnf update -y
reboot
#fedora 38
dnf module disable nvidia-driver
dnf install akmod-nvidia xorg-x11-drv-nvidia-cuda clinfo nvtop -y
reboot
clinfo
dnf upgrade --refresh
dnf autoremove nvidia* --purge
dnf config-manager --add-repo https://developer.download.nvidia.com/compute/cuda/repos/fedora37/x86_64/cuda-fedora37.repo
dnf install 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 module install nvidia-driver:latest-dkms
lsof +fg /chia/scratch/disk01/subspace/plot3/plot-index-to-offset/000017.sst
COMMAND PID USER FD TYPE FILE-FLAG DEVICE SIZE/OFF NODE NAME
subspace- 134267 srv_subspace 273r REG LG,CX 254,6 67377874 45101533594 /chia/scratch/disk01/subspace/plot3/plot-index-to-offset/000017.sst
# man lsof |grep "Flag in C code" -A 21
Abbrev. Flag in C code (see open(2))
W O_WRONLY
RW O_RDWR
CR O_CREAT
EXCL O_EXCL
NTTY O_NOCTTY
TR O_TRUNC
AP O_APPEND
ND O_NDELAY
SYN O_SYNC
ASYN O_ASYNC
DIR O_DIRECT
DTY O_DIRECTORY
NFLK O_NOFOLLOW
NATM O_NOATIME
DSYN O_DSYNC
RSYN O_RSYNC
LG O_LARGEFILE
CX O_CLOEXEC
TMPF O_TMPFILE