CPU Burn in

ace777

Fully Optimized
Messages
3,110
I want to script a CPU burn in tool. IDK why just need something to pass the summer time with. Whats the best way to do this, are there any open source ones that I can reference to get an idea on how to program one. and whats the best language to script on in, I can program in Java, Python, and some C basic.
 

berry120

Fully Optimized
Messages
3,434
Location
UK
It depends exactly what you want to test, but just loading it with mathematical equations is pretty trivial in any language. In Java the core of it could just call BigInteger.probablePrime() over and over until you tell it to stop which would load the CPU up a fair bit. For testing more cores, just fire more of these off in more threads (though it's worth pointing out there's no actual guarantee the underlying OS will map these to separate cores.)
 
Top