Coder Social home page Coder Social logo

Comments (5)

randomascii avatar randomascii commented on June 14, 2024 8

This issue has recently become particularly personally interesting for me because my work laptop has started intermittently throttling. I don't know if it is thermal throttling, power throttling, or something else. I suspect thermal throttling, perhaps due to thermal paste or some other aspect of the laptop degrading after ~four years of use.

Diagnosing this was tricky. I initially noticed intermittent sluggishness, then I went to Task Manager which showed the CPU was only ~27% busy. At first that seemed odd that the computer would feel so sluggish when 73% of the CPU time was available and I thought maybe the sluggishness was elsewhere in the system. But then I noticed that the CPU was running at ~0.8 GHz. Then I remembered that Task Manager shows percentage busy as a percentage of the nominally available CPU cycles, so in fact the CPU was 100% busy at 0.8 GHz and the sluggishness was from the low speed.

Which is to say, it took rather too much math (I had to multiply the 27% busy amount by the norminal frequency divided by the actual frequency in order to tell that the CPU was in fact fully occupied) and too much guessing ("I guess it's thermal throttling?") and I know that the CPU records its temperature and records when it hits thermal limits.

So, please show the throttling reasons. And please consider changing how Task Manager displays CPU usage. It rarely makes any difference during normal operation, but when throttling happens it is extremely confusing.

from windows-dev-performance.

AvriMSFT avatar AvriMSFT commented on June 14, 2024

Hey @randomascii thanks for submitting this issue and apologies for the delayed response! I've reached out to some folks on the issue and will get back to you with updates once I have them. Thanks for your patience!

from windows-dev-performance.

Eli-Black-Work avatar Eli-Black-Work commented on June 14, 2024

Having some sort of visual indicator in Process Manager that indicates CPU throttling is a great idea 🙂

from windows-dev-performance.

stolk avatar stolk commented on June 14, 2024

Ugh... I will have to inform my customers, that TurboLEDz no longer works under Windows. Disappointing.

The OS itself is still able to retrieve core frequencies, though, as you can see them in the Task-Manager.

I bet this was done to stop an exploit: if you can measure how busy cores are, you can get a modicum of information on secrets.

Frankly, as this call req'd administrator rights already, microsoft should have left this one alone.

from windows-dev-performance.

jwatte avatar jwatte commented on June 14, 2024

It's fine, you can just throw in a bogomips loop of 100,000 dry iterations before each vblank in your game, and time how long it takes using HPET or something. You'll be able to detect down-clocked CPUs that way.
Yes, that's a terrible idea. Yes, that's how it will be done, as long as the OS lies to us.

from windows-dev-performance.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.