<?xml version="1.0" encoding="utf-8" standalone="yes"?>
<rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom">
	<channel>
		<title>PowerNow on iMil.net</title>
		<link>http://imil.net/blog/tags/powernow/</link>
		<description>Recent content in PowerNow on iMil.net</description>
		<generator>Hugo</generator>
		<language>en-us</language>
		
		
		
		
			<lastBuildDate>Thu, 02 May 2013 09:49:49 +0000</lastBuildDate>
		
			<atom:link href="http://imil.net/blog/tags/powernow/index.xml" rel="self" type="application/rss+xml" />
			<item>
				<title>CPU dynamic scaling on NetBSD</title>
				<link>http://imil.net/blog/posts/2013/cpu-dynamic-scaling-on-netbsd/</link>
				<pubDate>Thu, 02 May 2013 09:49:49 +0000</pubDate>
				<guid>http://imil.net/blog/posts/2013/cpu-dynamic-scaling-on-netbsd/</guid>
				<description>&lt;p&gt;I know about &lt;a href=&#34;http://wiki.netbsd.org/tutorials/cpu_frequency_scaling/&#34;&gt;estd&lt;/a&gt; for a while, that daemon &amp;ldquo;dynamically sets the CPU-frequency on Enhanced SpeedStep, PowerNow, and APCI P-States-enabled CPUs depending on current cpu-utilization&amp;rdquo; (manpage excerpt). Thing is, I&amp;rsquo;ve never seen any CPU changing from its current speed while monitoring the &lt;code&gt;machdep.powernow.frequency.current&lt;/code&gt; &lt;em&gt;sysctl&lt;/em&gt;.&lt;/p&gt;&#xA;&lt;p&gt;In order to understand what was happening, I started &lt;code&gt;estd&lt;/code&gt; with the &lt;code&gt;-o&lt;/code&gt; flag, which outputs the CPU-frequencies as they are set. I then realized that the &amp;ldquo;ligh watermark percentage&amp;rdquo; and &amp;ldquo;low watermark percentage&amp;rdquo; default values were way too high (respectively 40 and 80) and were never reached, so the CPU speed was never changed.&lt;/p&gt;</description>
			</item>
	</channel>
</rss>
