Comments (5)
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.
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.
Having some sort of visual indicator in Process Manager that indicates CPU throttling is a great idea 🙂
from windows-dev-performance.
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.
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)
- PROCESSOR_POWER_INFORMATION.CurrentMhz no longer shows CurrentMhz HOT 7
- Symbol server PE files are being overwritten with different versions HOT 13
- WinDbg's `dU` command is painfully slow HOT 4
- Merge module validation in Orca fails on well-formed merge module
- NT heap scales horrendously in some cases HOT 2
- Set up your dev environment on Windows for Rust HOT 2
- PrefetchVirtualMemory does not prefetch virtual memory (windows api bug) HOT 1
- Explorer leaks resources over a long time HOT 2
- Configuring RDP with MSA is impossible using the RDP Developer Menu HOT 1
- Argon containers use only weak cores on systems with heterogeneous CPUs HOT 4
- Extremely slow Context Menu launch in Windows Explorer HOT 2
- Unexpected Sleep(1) Precision with Different Clock Interrupt Frequencies (Timer Resolution) HOT 3
- Dev drive has vanished HOT 3
- Windows incorrectly schedules utility QoS threads exclusively to E-cores when running on AC power
- Alt + Tab Sometimes Skips over the Last Window HOT 1
- Dev Drive gone missing on recovery HOT 19
- Dev Drive hangs storage I/O on AMD Threadripper machine HOT 3
- "Must define a target architecture" issue from winnt.h when included by `.rc` files HOT 7
- Consistent CPU performance for benchmarking HOT 6
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from windows-dev-performance.