{"id":681,"date":"2010-08-05T09:56:33","date_gmt":"2010-08-05T04:26:33","guid":{"rendered":"http:\/\/judepereira.com\/blog\/?p=681"},"modified":"2010-10-02T00:14:52","modified_gmt":"2010-10-01T18:44:52","slug":"cpu-scaling-governors-and-you","status":"publish","type":"post","link":"https:\/\/judepereira.com\/blog\/cpu-scaling-governors-and-you\/","title":{"rendered":"CPU scaling governors and you"},"content":{"rendered":"<p>What is your CPU being governed by? Should it be governed by it? Why? How?<br \/>\nHere&#8217;s an outlook on the various CPU frequency governors, namely conservative, ondemand, powersave, userspace, and performance, that steps up and steps down the CPU:<br \/>\n<strong><a>conservative<\/a><\/strong><br \/>\nPros:<\/p>\n<ul>\n<li>very much alike the ondemand governor<\/li>\n<li>gracefully increases the stepping, unlike ondemand which sets it to maximum when there is any load<\/li>\n<li>more suitable for battery powered environments<\/li>\n<\/ul>\n<p><strong><a>ondemand<\/a><\/strong><br \/>\nPros:<\/p>\n<ul>\n<li>the best of all<\/li>\n<li>sets the speed to what is required<\/li>\n<li>saves power<\/li>\n<li>doesn&#8217;t hinder CPU power, as it scales to what is required<\/li>\n<\/ul>\n<p><strong><a>powersave<\/a><\/strong><br \/>\nPros:<\/p>\n<ul>\n<li>sets the CPU statically to use the lowest possible frequency supported<\/li>\n<li>you save power<\/li>\n<\/ul>\n<p>Cons:<\/p>\n<ul>\n<li>if you use resource hungry software, your machine may start to lag<\/li>\n<\/ul>\n<p><strong><a>userspace<\/a><\/strong><br \/>\nPros:<\/p>\n<ul>\n<li>another application can be used to specify the frequency<\/li>\n<li>lets you manually specify the frequency your CPU should run on<\/li>\n<\/ul>\n<p>Cons:<\/p>\n<ul>\n<li>mostly useless!<\/li>\n<li>external application may set it low, you save power, but less performance<\/li>\n<li>external application may set it high, you consume more power<\/li>\n<\/ul>\n<p><strong><a>performance<\/a><\/strong><br \/>\nPros:<\/p>\n<ul>\n<li>statically sticks to the highest possible CPU scaling available, regardless of the available ones<\/li>\n<li>your system will run as fast as possible<\/li>\n<\/ul>\n<p>Cons:<\/p>\n<ul>\n<li>takes the most power that you CPU is able to consume<\/li>\n<li>not very suitable for battery powered environments, or even to save more power your machine consumes<\/li>\n<\/ul>\n","protected":false},"excerpt":{"rendered":"<p>What is your CPU being governed by? Should it be governed by it? Why? How? Here&#8217;s an outlook on the various CPU frequency governors, namely conservative, ondemand, powersave, userspace, and performance, that steps up and steps down the CPU: conservative Pros: very much alike the ondemand governor gracefully increases the stepping, unlike ondemand which sets [&hellip;]<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"jetpack_post_was_ever_published":false,"_jetpack_newsletter_access":"","_jetpack_dont_email_post_to_subs":false,"_jetpack_newsletter_tier_id":0,"_jetpack_memberships_contains_paywalled_content":false,"_jetpack_memberships_contains_paid_content":false,"footnotes":"","jetpack_publicize_message":"","jetpack_publicize_feature_enabled":true,"jetpack_social_post_already_shared":false,"jetpack_social_options":{"image_generator_settings":{"template":"highway","default_image_id":0,"font":"","enabled":false},"version":2}},"categories":[11,10,12],"tags":[152,149,148,154,151,26,150,153],"class_list":["post-681","post","type-post","status-publish","format-standard","hentry","category-gen-sab-fed","category-linux","category-misc","tag-conservative","tag-cpu-frequency","tag-cpu-scaling","tag-frequency-governors","tag-ondemand","tag-performance","tag-powersave","tag-userspace"],"aioseo_notices":[],"jetpack_publicize_connections":[],"jetpack_featured_media_url":"","jetpack_shortlink":"https:\/\/wp.me\/pqtyx-aZ","jetpack-related-posts":[],"jetpack_sharing_enabled":true,"_links":{"self":[{"href":"https:\/\/judepereira.com\/blog\/wp-json\/wp\/v2\/posts\/681","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/judepereira.com\/blog\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/judepereira.com\/blog\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/judepereira.com\/blog\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/judepereira.com\/blog\/wp-json\/wp\/v2\/comments?post=681"}],"version-history":[{"count":10,"href":"https:\/\/judepereira.com\/blog\/wp-json\/wp\/v2\/posts\/681\/revisions"}],"predecessor-version":[{"id":841,"href":"https:\/\/judepereira.com\/blog\/wp-json\/wp\/v2\/posts\/681\/revisions\/841"}],"wp:attachment":[{"href":"https:\/\/judepereira.com\/blog\/wp-json\/wp\/v2\/media?parent=681"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/judepereira.com\/blog\/wp-json\/wp\/v2\/categories?post=681"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/judepereira.com\/blog\/wp-json\/wp\/v2\/tags?post=681"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}