We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
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.
nhc_hw_gather_data()
/proc/cpuinfo
[root@<redacted> ~]# time nhc real 0m9.824s user 0m1.532s sys 0m8.232s
With the proposed patch, the time is now reduced by a factor of 5+
[root@<redacted>~]# time nhc real 0m1.692s user 0m1.563s sys 0m0.105s
The patch works by caching the content of /proc/cpuinfo in a local variable
Informations :
0001-Makes-proc-cpuinfo-parsing-faster-by-caching-the-con.patch
The text was updated successfully, but these errors were encountered:
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
Sorry, something went wrong.
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
No branches or pull requests
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
The text was updated successfully, but these errors were encountered: