Somebody in our local mailing list asked this and it also got my curious I decided to ask it as my first EE question:
How do I purposely hog CPU (in all cores) in a controlled manner? By controlled manner I mean hogging CPU by 70% only or 80%. This means the script should actively monitor how much CPU it is burning and adjust its load generation accordingly. Preferably done in Perl.
Any ideas/pointers? Thanks