vikyd / go-cpu-load

Generate CPU load on Windows/Linux/Mac
MIT License
44 stars 16 forks source link

Nothing else like it, but won't go over 70 percent #2

Open DarwinJS opened 4 years ago

DarwinJS commented 4 years ago

I have been searching high and low for something simple like this that is also provided as a binary.

It works great, but it won't go over 70 percent on my 8 core system on Windows 10.

I am actually going to use it to drive an AWS ASG to step it through it's autoscaling configuration - so I need the ranges above 70 percent as that is typically where scaling is configured.

Would love to see it working!

vikyd commented 4 years ago

I am not using AWS, it is not easy for me to test on AWS ASG.

What about your local Windows machines or AWS EC2?

In my free AWS EC2 single core Ubuntu instance, it works as expect.

DarwinJS commented 4 years ago

It works a bit better on AWS - maybe because there isn't so much background junk running. Interestingly the linux utility stress-ng is as precise running under WSL as it is on linux - but I need to support older versions of Windows and don't want to install WSL just to do this test.

While doing more testing it also seems less precise at really low levels - like 10%.

Let me know if you ever want testing of new versions.