Open sdiak opened 3 months ago
We have similar nodes, and NHC is somewhat faster:
real 0m3.018s user 0m0.253s sys 0m2.084s
OS: Rocky Linux 8.9 (Green Obsidian) Kernel: 4.18.0-513.18.1.el8_9.x86_64 CPU: Dual-socket AMD EPYC 9474F 48-Core Processor
This is running on a IDLE node where CPUs are set to powersave
This is a problem on this given site because CPU throttling when a power supply is lost makes slurm draining the node :
time nhc
is 19.992s and the node stays in production with degraded performances
Hello,
on a cluster that I have installed for a client, the function
nhc_hw_gather_data()
spends a lot of time parsing/proc/cpuinfo
.With the proposed patch, the time is now reduced by a factor of 5+
The patch works by caching the content of
/proc/cpuinfo
in a local variableInformations :
0001-Makes-proc-cpuinfo-parsing-faster-by-caching-the-con.patch