Skip to content

Crazy temperature with nstress-ng? #298

Description

@yohplala

Hi there,
My setup is as follow:

  • a MSI Vector 16 HX AI laptop,
  • Ubuntu 25.10.
  • I tweaked BIOS to undervolt and reduce strongly TDP (see this tuto), with these values:
    • TDP (Advanced > Power & Performance > CPU PMC > Config TDP Configurations):
      • Power Limit 1 to 45,000 and Power Limit 2 to 80,000 and Time Window to 40 seconds,
    • Turbo Clock (Advanced > Power & Performance > CPU PMC > View/Configure Turbo Options):
      • Energy Efficient Turbo to Enabled
      • P-core Ratio0 and Ratio1 set to 50,
      • the remaining P-cores to 46,
      • and all E-cores to 34.
    • Undervolting (Advanced > OverClocking Performance > Processor), voltage setting for individual cores (VF Configuration Scope > Per Core):
      • for all P-cores, set the Voltage Offset to -60
      • for all E-Cores to -50.

I installed msi-ec drivers & MControlCenter from Github repo (so last version in main).
I run a stress test with nstress-ng.

pierre@pierre-A2XWJG:~$ stress-ng --cpu $(nproc) --timeout 30m --metrics
stress-ng: info:  [8446] setting to a 30 mins run per stressor
stress-ng: info:  [8446] dispatching hogs: 24 cpu
stress-ng: info:  [8446] note: 24 cpus have scaling governors set to powersave and this may impact performance; setting /sys/devices/system/cpu/cpu*/cpufreq/scaling_governor to 'performance' may improve performance
stress-ng: info:  [8446] stopping 24 stressors
stress-ng: metrc: [8446] stressor       bogo ops real time  usr time  sys time   bogo ops/s     bogo ops/s CPU used per       RSS Max
stress-ng: metrc: [8446]                           (secs)    (secs)    (secs)   (real time) (usr+sys time) instance (%)          (KB)
stress-ng: metrc: [8446] cpu            48228828   1606.11  38056.67     33.68     30028.30        1266.17        98.82          8688
stress-ng: info:  [8446] skipped: 0
stress-ng: info:  [8446] passed: 24: cpu (24)
stress-ng: info:  [8446] failed: 0
stress-ng: info:  [8446] metrics untrustworthy: 0
stress-ng: info:  [8446] successful run completed in 26 mins, 46.13 secs

I stopped manually this test because at approximately 24mn, fans started to run at ?max? speed, and temperature displayed in MControlCenter for CPU has been 255°C

Image

I did not panic, because at same time, I had sudo turbostat --interval 1 running, telling me a different picture, with a temperature at max 50°C.

Image

After stopping nstress-ng, situation returned to normal in MControlCenter without me doing anything.

Image

Similar in turbostat

Image

I am then thinking there might be a bug lying in MControlCenter, when tested for a while with nstress-ng, but I don't have much more clue?

Another thing, I don't think it is related. I think it has been reported already.
There can be conflict between Ubuntu energy management system and MControlCenter. I don't know if this can be improved, but both can compete together regarding how managing loading/disloading battery. Maybe a message should indicate in MControlCenter not to use Ubuntu's (Gnome?) 'preserve battery life' button?

Image

Thanks again for this great tool you are making available to common mortals. It is definitely a great utility!

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions