ColinIanKing / stress-ng

This is the stress-ng upstream project git repository. stress-ng will stress test a computer system in various selectable ways. It was designed to exercise various physical subsystems of a computer as well as the various operating system kernel interfaces.
https://github.com/ColinIanKing/stress-ng
GNU General Public License v2.0
1.82k stars 290 forks source link

Add cpu stress count armstrong #414

Closed akash27j closed 3 months ago

akash27j commented 3 months ago

I have a general interest in this repo and want to contribute . need your guidance. I created a cpu stress function using the concept of armstrong number . it actually takes a very large number (0 to 16384) and checks every number whether it is a armstrong number or not.

ColinIanKing commented 3 months ago

Hi,

thank you for your contribution. I am afraid I won't be applying this to stress-ng because the CPU stressor is now being used by several projects (such as the Phoronix Test Suite) and adding a new method to the stressor will change the benchmark bogo-op rates and this can lead to problems for folk tracking performance regressions.

Kind regards,

Colin