amanusk / s-tui

Terminal-based CPU stress and monitoring utility
https://amanusk.github.io/s-tui/
GNU General Public License v2.0
4.06k stars 140 forks source link

Negative wattage reading #68

Closed GM-Script-Writer-62850 closed 5 years ago

GM-Script-Writer-62850 commented 6 years ago

Step 1: Describe your environment

Motherboard: Asrock Z97 Killer CPU: Intel i5-4690k (overclocked of course, around 4.3Ghz, vcc; 1.225) Cooler: NH-D14

Step 2: Describe the problem:

Observed Results:

amanusk commented 6 years ago

Thanks for opening the issue and the detailed information, It seems like an overflow bug. I actually didn't get the chance to runs a stress test this long ;) I'll take a look at this soon

GM-Script-Writer-62850 commented 6 years ago

if you think the -d option will give you some useful data i can try it this weekend when i try to get another 100 Mhz in my overclock

amanusk commented 6 years ago

It seems the problem occurs when the file we are reading for wattage usage elapses. We are actually reading power consumption in joules, and dividing by time to get Watts.

I have added a simple fix, to keep the previous reading when this happens. Could you please try cloning the master branch and test if this fixes the issue for you?

GM-Script-Writer-62850 commented 6 years ago

I'll give it a try when I try to get another 100 Mhz later today that I did not get a chance to last week.

GM-Script-Writer-62850 commented 6 years ago

i have done 2 long stress test and did not notice any negative readings appear, i could have not been looking at the screen at the time, but so far so good

as for the 100 Mhz, i did not like the voltage required... so +050 Mhz

amanusk commented 6 years ago

Thanks, You can use --csv to record all values into a file, so you can see all values in retrospect

amanusk commented 6 years ago

@GM-Script-Writer-62850 did you get a chance to see if this was fixed? If so, could this be closed?

GM-Script-Writer-62850 commented 6 years ago

i have not used --csv i only checked for it that one time

GM-Script-Writer-62850 commented 6 years ago

If the system crashes during a stress test will any data observed be saved?

amanusk commented 6 years ago

The data is saved to the CSV in this format:

Time Top Freq Cur Freq Perf Lost Utilization Max Temp Cur Temp Max Power Cur Power Fan
2018-08-28_08:22:05 3300 MHz 2275.0 MHz 0 (N/A) run sudo 28.6 % 55.0 C 55.0 C 9.0 W 8.2 W 3080.0 RPM

It is written each time a sample is takes, so if the system crashes, the file will be kept

amanusk commented 5 years ago

Assuming this is closed. Please reopen if needed.