Skip to main content

Posts

Showing posts from May, 2022

CPU throttling

Sometime we come across situation where we need to throttle or degrade CPU performance . Suppose there is a situation you deploy your application in low performance system but development is done on high performance system .  To simulate lower performance system you need to do CPU throttling.  Here I am discussing how we can do this using Windows 11 OS. Similar feature should be available in Linux or other operating systems as well.  Assuming we are using Windows 11 OS as super user , open Performance Monitor application tool. In Windows you can open this by invoking perfmon.exe /res from search or run option. Using this tool open CPU performance monitor to monitor current CPU(s). In the GUI there are two panes. From left pane, tree view choose Performance -> Monitoring Tools -> Performance Monitor view.  In the right pane, you should see two sub-view one graph view on the top and one selected counters view on the bottom. Right click on the the bottom view and choose Add Coun