Is there any way to check if my CPU is working without errors? There are CPUburn and MPrime to stress-test the CPU and check for temperatures and throttling, but is there any program that will actually check for errors without necessarily stressing out the CPU? (E.g. compare multiple calculations and log silent errors, or similar?)
1 Answer
I suggest trying stress-ng with the cpu stressor and verify mode enabled:
sudo apt-get install stress-ng
stress-ng --cpu 0 --verify --verbose --timeout 5m
The above with run the CPU stress test with verification enabled on all CPUs for 5 minutes. If there is something broken, the verify mode may just detected it.
The CPU stressor will exercise the following CPU stress test methods: ackermann bitops callfunc cdouble cfloat clongdouble correlate crc16 decimal32 decimal64 decimal128 dither djb2a double euler explog fft factorial fibonacci float fnv1a gamma gcd gray hamming hanoi hyperbolic idct int128 int64 int32 int16 int8 int128float int128double int128longdouble int128decimal32 int128decimal64 int128decimal128 int64float int64double int64longdouble int32float int32double int32longdouble jenkin jmp ln2 longdouble loop matrixprod nsqrt omega parity phi pi pjw prime psi queens rand rand48 rgb sdbm sieve stats sqrt trig union zeta.
Consult the stress-ng manual using man stress-ng
for the full details of these cpu stressors.
-
-
@chovy at least on Debian 12 (stress-ng version
0.15.06
, kernel 6.1.0-13-amd64)--verify
is an option and--verifiable
lists on which stressors it applies. Also,--cpu -1
leads to total number of threads (24) whereas--cpu 0
uses 32 stressors in my case. I can't tell the relation, but it indeed works, unlike program refusing to run when no options provided (errorsNo stress workers invoked
). Could you add your system for search engine people to compare?– cbugkDec 13, 2023 at 21:24 -
I just ran it, and the difference between
-1
and0
seems to be number of configured and online threads. Understandable for an 5900x to behave like a cropped 5950x. That must be the relation.– cbugkDec 13, 2023 at 21:31
4+4=5
? What kind of errors?