{"id":361,"date":"2017-12-28T12:48:16","date_gmt":"2017-12-28T12:48:16","guid":{"rendered":"https:\/\/mellowhost.com\/blog\/?p=361"},"modified":"2017-12-28T12:48:16","modified_gmt":"2017-12-28T12:48:16","slug":"what-is-kondemand-why-do-i-see-a-lot-of-kondemand-process-in-my-process-list","status":"publish","type":"post","link":"https:\/\/mellowhost.com\/blog\/what-is-kondemand-why-do-i-see-a-lot-of-kondemand-process-in-my-process-list.html","title":{"rendered":"What is Kondemand? Why do I see a lot of Kondemand process in my process list?"},"content":{"rendered":"<p><strong>Question: What is Kondemand? Why do I see a lot of Kondemand process in my process list?<\/strong><\/p>\n<p>Answer: Kondemand is the process used for automatic CPU scaling on multi core linux system. It automatically reduce\/drops the CPU clock speed to power usage when the CPU is not in use. This is done through scaling_governor available on linux. To see if your scaling_governor is set to &#8216;ondemand&#8217; or not, you may use the following command:<\/p>\n<blockquote><p># cat \/sys\/devices\/system\/cpu\/cpu*\/cpufreq\/scaling_governor<\/p><\/blockquote>\n<p>If your CPU is showing &#8216;ondemand&#8217; scanling governor then the kondemand kernel process is active and will reduce your CPU clock speed on fly to reduce power usage. You can change this settings to performance on fly using the following small shell code:<\/p>\n<blockquote><p>for CPUFREQ in \/sys\/devices\/system\/cpu\/cpu*\/cpufreq\/scaling_governor; do [ -f $CPUFREQ ] || continue; echo -n performance &gt; $CPUFREQ; done<\/p><\/blockquote>\n<p>There is a linux service called CPUSpeed, this can tune your scaling governor back to ondemand after the reboot. You may shut it down:<\/p>\n<blockquote><p>service cpuspeed stop<br \/>\nchkconfig off cpuspeed<\/p><\/blockquote>\n<p>You may check your CPU speed is restored to the original through the proc filesystem:<\/p>\n<blockquote><p>cat \/proc\/cpuinfo<\/p><\/blockquote>\n","protected":false},"excerpt":{"rendered":"<p>Question: What is Kondemand? Why do I see a lot of Kondemand process in my process list? Answer: Kondemand is the process used for automatic CPU scaling on multi core linux system. It automatically reduce\/drops the CPU clock speed to power usage when the CPU is not in use. This is done through scaling_governor available &hellip; <a href=\"https:\/\/mellowhost.com\/blog\/what-is-kondemand-why-do-i-see-a-lot-of-kondemand-process-in-my-process-list.html\" class=\"more-link\">Continue reading<span class=\"screen-reader-text\"> &#8220;What is Kondemand? Why do I see a lot of Kondemand process in my process list?&#8221;<\/span><\/a><\/p>\n","protected":false},"author":3,"featured_media":0,"comment_status":"open","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":[],"categories":[169,12,176,21,150,25,26],"tags":[177,179,139,178],"_links":{"self":[{"href":"https:\/\/mellowhost.com\/blog\/wp-json\/wp\/v2\/posts\/361"}],"collection":[{"href":"https:\/\/mellowhost.com\/blog\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/mellowhost.com\/blog\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/mellowhost.com\/blog\/wp-json\/wp\/v2\/users\/3"}],"replies":[{"embeddable":true,"href":"https:\/\/mellowhost.com\/blog\/wp-json\/wp\/v2\/comments?post=361"}],"version-history":[{"count":1,"href":"https:\/\/mellowhost.com\/blog\/wp-json\/wp\/v2\/posts\/361\/revisions"}],"predecessor-version":[{"id":362,"href":"https:\/\/mellowhost.com\/blog\/wp-json\/wp\/v2\/posts\/361\/revisions\/362"}],"wp:attachment":[{"href":"https:\/\/mellowhost.com\/blog\/wp-json\/wp\/v2\/media?parent=361"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/mellowhost.com\/blog\/wp-json\/wp\/v2\/categories?post=361"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/mellowhost.com\/blog\/wp-json\/wp\/v2\/tags?post=361"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}