CPU threads stress test problem

Hi everybody,

I want to test my CPU threads in full load.
I wrote this code:

https://github.com/mbzadegan/Fortran_Julia_HPC/blob/main/cpu_stress_test.jl

When I run it with the -t auto option, my CPU threads get a full load of 100% for around 2 seconds, and then the load drops to around 60% on all CPU threads!

Why my CPU usage was not kept at %100 till the program ended?

Thank you.

Just to let you know, the link to your code is broken (here’s a working link).

Are you using a CPU with asymmetric multiprocessing? (ARM big.LITTLE, 12th generation and later Intel CPUs)

1 Like

Thank you for your update,

I’m using Intel (R) Core™ i5-6500T CPU @ 2.50GHz CPU.