{"id":764,"date":"2025-03-23T14:30:58","date_gmt":"2025-03-23T13:30:58","guid":{"rendered":"https:\/\/3c71.com\/wp\/?p=764"},"modified":"2025-03-23T14:30:58","modified_gmt":"2025-03-23T13:30:58","slug":"what-are-cpu-governors","status":"publish","type":"post","link":"https:\/\/3c71.com\/wp\/what-are-cpu-governors\/","title":{"rendered":"What are CPU governors"},"content":{"rendered":"\n<p>Each phone offers a list of governors which can differ from phone to phone, manufacturer to manufacturer. Custom Kernels can even implement their own governors.<\/p>\n\n\n\n<p>The governor is the algorithm used to control the CPU frequencies between the defined minimum and maximum frequencies. It is always possible to change those min\/max frequencies, but the governor will decide how to regulate it between those min\/max, and <em>it may well change those min\/max frequencies on its own<\/em> (very likely).<\/p>\n\n\n\n<p>Each governor offer a set of options which can be changed in <a href=\"https:\/\/3c71.com\/wp\/?page_id=259\">CPU governor<\/a> tab of <a href=\"https:\/\/3c71.com\/wp\/?page_id=258\">CPU manager<\/a>.<\/p>\n\n\n\n<p>Here is a list of most used governors and how they control CPU frequencies:<\/p>\n\n\n\n<ul class=\"wp-block-list\">\n<li>Performance: frequency is always set to the max frequency. Maximum battery usage<\/li>\n\n\n\n<li>Powersaver: frequency is always set to the min frequency. Minimum battery usage<\/li>\n\n\n\n<li>OnDemand: frequency raises when CPU load (%) goes beyond a threshold\u00a0and decreases when it goes below another\u00a0threshold.<\/li>\n\n\n\n<li>Interactive: same as OnDemand except it automatically and slowly decreases back to min frequency. Usually consumes more than OnDemand.<\/li>\n\n\n\n<li>Hotplug: Only available on some phone\/custom kernels with dual cores. It is used to turn off one of the core when load is below a given threshold.<\/li>\n<\/ul>\n\n\n\n<p>Note that custom Kernels or manufacturers can predefine various thresholds and even different governors than those above.<\/p>\n\n\n\n<p>Usually the OnDemand and Interactive thresholds can be set (in the boot settings of the\u00a0 app).<\/p>\n\n\n\n<p>Best and most used&nbsp;up-thresholds for OnDemand is 65% and 25% for down-threshold.<\/p>\n\n\n\n<p>The&nbsp;Interactive up-threshold&nbsp;is also&nbsp;mostly set at 65%.<\/p>\n\n\n\n<p>Raising the up-threshold will make the device less reactive. Raising the down-threshold will keep device responsive but consume more.<\/p>\n\n\n\n<p>Another factor is used with this 2 governors,&nbsp;the sampling rate, which is the rate in micro-seconds to check the CPU load. Increasing the value decreases responsiveness and vice-versa.&nbsp;Custom ROM mostly set this value between 10 and 15 milliseconds.<\/p>\n","protected":false},"excerpt":{"rendered":"<p>Each phone offers a list of governors which can differ from phone to phone, manufacturer&hellip;<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[27],"tags":[],"class_list":["post-764","post","type-post","status-publish","format-standard","hentry","category-information"],"_links":{"self":[{"href":"https:\/\/3c71.com\/wp\/wp-json\/wp\/v2\/posts\/764","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/3c71.com\/wp\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/3c71.com\/wp\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/3c71.com\/wp\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/3c71.com\/wp\/wp-json\/wp\/v2\/comments?post=764"}],"version-history":[{"count":1,"href":"https:\/\/3c71.com\/wp\/wp-json\/wp\/v2\/posts\/764\/revisions"}],"predecessor-version":[{"id":765,"href":"https:\/\/3c71.com\/wp\/wp-json\/wp\/v2\/posts\/764\/revisions\/765"}],"wp:attachment":[{"href":"https:\/\/3c71.com\/wp\/wp-json\/wp\/v2\/media?parent=764"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/3c71.com\/wp\/wp-json\/wp\/v2\/categories?post=764"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/3c71.com\/wp\/wp-json\/wp\/v2\/tags?post=764"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}