{"id":647,"date":"2014-11-20T12:58:39","date_gmt":"2014-11-20T11:58:39","guid":{"rendered":"http:\/\/it.tuxie.eu\/?p=647"},"modified":"2015-01-27T16:44:38","modified_gmt":"2015-01-27T15:44:38","slug":"pc-bsd-10-1-customizing-powerd","status":"publish","type":"post","link":"http:\/\/it.tuxie.eu\/?p=647","title":{"rendered":"PC-BSD 10.1 &#8211; customizing powerd"},"content":{"rendered":"<p>Know that feeling that something is just different while using new operating system? Ok, fan is running and &#8211; indeed &#8211; it is caused by power (non-)saving features in default setting (at least in my case). How to solve it and make your laptop quiet?<\/p>\n<p><!--more--><\/p>\n<p>For detailed information, please follow this <a href=\"https:\/\/wiki.freebsd.org\/TuningPowerConsumption\">link<\/a>. I wish I have so many information in my head :-)&#8230;<\/p>\n<p>First aid working perfectly for me:<\/p>\n<p>Added lines in <span style=\"color: #ff6600;\"><strong>\/boot\/loader.conf<\/strong><\/span> :<br \/>\n[crayon lang=&#8220;shell&#8220;]<br \/>\nhint.p4tcc.0.disabled=1<br \/>\nhint.acpi_throttle.0.disabled=1<br \/>\n[\/crayon]<br \/>\nAdded lines in <span style=\"color: #ff6600;\"><strong>\/etc\/rc.conf<\/strong><\/span> :<br \/>\n[crayon lang=&#8220;shell&#8220;]<br \/>\npowerd_enable=\u201dYES\u201d<br \/>\npowerd_flags=\u201d-i 85 -r 60 -p 100\u2033<br \/>\nperformance_cx_lowest=\u201dCmax\u201d<br \/>\neconomy_cx_lowest=\u201dCmax\u201d<br \/>\n[\/crayon]<br \/>\nReboot is necessary.<\/p>\n<p>Now you can check your current cpu demands by issuing (as root):<\/p>\n<p>[crayon lang=&#8220;shell&#8220;]<br \/>\npowerd -v<br \/>\n[\/crayon]<\/p>\n<p>My output:<\/p>\n<p>[crayon lang=&#8220;shell&#8220;]<br \/>\n[j@pcbsd101js] \/usr\/home\/j# powerd -v<br \/>\npowerd: using sysctl for AC line status<br \/>\npowerd: using devd for AC line status<br \/>\nload   0%, current freq  700 MHz (15), wanted freq  775 MHz<br \/>\nchanging clock speed from 700 MHz to 800 MHz<br \/>\nload  10%, current freq  700 MHz (15), wanted freq  750 MHz<br \/>\nchanging clock speed from 700 MHz to 800 MHz<br \/>\nload   7%, current freq  700 MHz (15), wanted freq  726 MHz<br \/>\nchanging clock speed from 700 MHz to 800 MHz<br \/>\nload   0%, current freq  600 MHz (16), wanted freq  703 MHz<br \/>\nchanging clock speed from 600 MHz to 800 MHz<br \/>\nload   0%, current freq  600 MHz (16), wanted freq  681 MHz<br \/>\nchanging clock speed from 600 MHz to 700 MHz<br \/>\nload   4%, current freq  700 MHz (15), wanted freq  659 MHz<br \/>\nload   4%, current freq  700 MHz (15), wanted freq  638 MHz<br \/>\nload   5%, current freq  700 MHz (15), wanted freq  618 MHz<br \/>\nload   0%, current freq  700 MHz (15), wanted freq  600 MHz<br \/>\nchanging clock speed from 700 MHz to 600 MHz<br \/>\nload   0%, current freq  600 MHz (16), wanted freq  600 MHz<br \/>\nload   0%, current freq  600 MHz (16), wanted freq  600 MHz<br \/>\nload  12%, current freq  600 MHz (16), wanted freq  600 MHz<br \/>\n[\/crayon]<\/p>\n<p>etc.<\/p>\n<p>Overall &#8211; C states are very interesting reading in general. Powerd can attract your attention for some time, indeed!<\/p>\n<p>Silent operating system again = happy user! \ud83d\ude42<\/p>\n<p>P.S.: Of course I&#8217;m asking why this is not setup by default installation. I don&#8216; t think I have somehow weird requirements.<\/p>\n<p>-a-<\/p>\n<p>&nbsp;<\/p>\n<p>&nbsp;<\/p>\n","protected":false},"excerpt":{"rendered":"<p>Know that feeling that something is just different while using new operating system? Ok, fan is running and &#8211; indeed &#8211; it is caused by power (non-)saving features in default setting (at least in my case). How to solve it &hellip; <a href=\"http:\/\/it.tuxie.eu\/?p=647\">Continue reading <span class=\"meta-nav\">&rarr;<\/span><\/a><\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"closed","ping_status":"open","sticky":false,"template":"","format":"standard","meta":[],"categories":[9],"tags":[],"_links":{"self":[{"href":"http:\/\/it.tuxie.eu\/index.php?rest_route=\/wp\/v2\/posts\/647"}],"collection":[{"href":"http:\/\/it.tuxie.eu\/index.php?rest_route=\/wp\/v2\/posts"}],"about":[{"href":"http:\/\/it.tuxie.eu\/index.php?rest_route=\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"http:\/\/it.tuxie.eu\/index.php?rest_route=\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"http:\/\/it.tuxie.eu\/index.php?rest_route=%2Fwp%2Fv2%2Fcomments&post=647"}],"version-history":[{"count":0,"href":"http:\/\/it.tuxie.eu\/index.php?rest_route=\/wp\/v2\/posts\/647\/revisions"}],"wp:attachment":[{"href":"http:\/\/it.tuxie.eu\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=647"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"http:\/\/it.tuxie.eu\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=647"},{"taxonomy":"post_tag","embeddable":true,"href":"http:\/\/it.tuxie.eu\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=647"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}