<?xml version="1.0" encoding="utf-8"?><?xml-stylesheet title="XSL formatting" type="text/xsl" href="http://julien.danjou.info/blog/index.php/feed/rss2/xslt" ?><rss version="2.0"
  xmlns:dc="http://purl.org/dc/elements/1.1/"
  xmlns:wfw="http://wellformedweb.org/CommentAPI/"
  xmlns:content="http://purl.org/rss/1.0/modules/content/"
  xmlns:atom="http://www.w3.org/2005/Atom">
<channel>
  <title>jd:/dev/blog - Tag - kernel</title>
  <link>http://julien.danjou.info/blog/index.php/</link>
  <atom:link href="http://julien.danjou.info/blog/index.php/feed/tag/kernel/rss2" rel="self" type="application/rss+xml"/>
  <description>Julien Danjou's blog</description>
  <language>fr</language>
  <pubDate>Fri, 14 Nov 2008 16:30:23 +0100</pubDate>
  <copyright>All Right Reserved</copyright>
  <docs>http://blogs.law.harvard.edu/tech/rss</docs>
  <generator>Dotclear</generator>
  
    
  <item>
    <title>Save power, aka easy CPU frequency scaling</title>
    <link>http://julien.danjou.info/blog/index.php/post/2008/08/13/Save-power-aka-easy-CPU-frequency-scaling</link>
    <guid isPermaLink="false">urn:md5:426ea97c92879dddab516d3eb69d9d50</guid>
    <pubDate>Wed, 13 Aug 2008 14:32:00 +0200</pubDate>
    <dc:creator>jd</dc:creator>
        <category>Debian</category>
        <category>cpufreq</category><category>debian</category><category>kernel</category>    
    <description>    &lt;p&gt;Recently I came with the idea that my big computer is just useless. I know I was not using its entire CPU power, so I decided to take a look at CPU frequency scaling.&lt;/p&gt;


&lt;p&gt;Last time I tried, it was a PITA, required something like a daemon, and just did not work. With recent hardware and/or kernels, it's just easy as Debian.&lt;/p&gt;


&lt;h2&gt;etch&lt;/h2&gt;
&lt;ul&gt;
&lt;li&gt;Look at /proc/cpuinfo to determine your CPU and the cpufreq module. If it's a Pentium, you can try &lt;em&gt;p4-clockmod&lt;/em&gt;, &lt;em&gt;powernow-k7&lt;/em&gt; for AMD, or &lt;em&gt;acpi-cpufreq&lt;/em&gt; for both. Well, if none loads, let it go, it won't work unless you get newer hardware or maybe newer kernel.&lt;/li&gt;
&lt;li&gt;Add this module in &lt;em&gt;/etc/modules&lt;/em&gt; to get it loaded at boot time.&lt;/li&gt;
&lt;li&gt;Run &lt;em&gt;apt-get install cpufrequtils&lt;/em&gt;&lt;/li&gt;
&lt;li&gt;Edit &lt;em&gt;/etc/default/cpufrequtils&lt;/em&gt; to enable it at boot time, and specify the governor if you want. I usually use &lt;em&gt;ondemande&lt;/em&gt;, which is just fine.&lt;/li&gt;
&lt;li&gt;Run &lt;em&gt;/etc/init.d/cpufrequtils start&lt;/em&gt;&lt;/li&gt;
&lt;li&gt;Play with &lt;em&gt;cpufreq-info&lt;/em&gt; and &lt;em&gt;cpufreq-set&lt;/em&gt; as you wish.&lt;/li&gt;
&lt;/ul&gt;

&lt;h2&gt;lenny&lt;/h2&gt;
&lt;ul&gt;
&lt;li&gt;Run &lt;em&gt;apt-get install cpufrequtils&lt;/em&gt;&lt;/li&gt;
&lt;li&gt;Edit &lt;em&gt;/etc/default/cpufrequtils&lt;/em&gt; to enable it at boot time, and specify the governor if you want. I usually use &lt;em&gt;ondemande&lt;/em&gt;, which is just fine.&lt;/li&gt;
&lt;li&gt;Run &lt;em&gt;/etc/init.d/loadcpufreq start&lt;/em&gt;&lt;/li&gt;
&lt;li&gt;Run &lt;em&gt;/etc/init.d/cpufrequtils start&lt;/em&gt;&lt;/li&gt;
&lt;li&gt;Play with &lt;em&gt;cpufreq-info&lt;/em&gt; and &lt;em&gt;cpufreq-set&lt;/em&gt; as you wish.&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;On my box, the 3 GHz CPUs (Core 2 Duo) are running at 2 GHz (the lower value) at 99.13% of the time. That's almost a bit less power wasted.&lt;/p&gt;</description>
    
    
    
          <comments>http://julien.danjou.info/blog/index.php/post/2008/08/13/Save-power-aka-easy-CPU-frequency-scaling#comment-form</comments>
      <wfw:comment>http://julien.danjou.info/blog/index.php/post/2008/08/13/Save-power-aka-easy-CPU-frequency-scaling#comment-form</wfw:comment>
      <wfw:commentRss>http://julien.danjou.info/blog/index.php/feed/rss2/comments/480</wfw:commentRss>
      </item>
    
  <item>
    <title>ATL1E support in 2.6.26-1</title>
    <link>http://julien.danjou.info/blog/index.php/post/2008/07/31/ATL1E-support-in-2626-1</link>
    <guid isPermaLink="false">urn:md5:3d27b45b37e1c2fb27b748f1bb52f894</guid>
    <pubDate>Thu, 31 Jul 2008 11:59:00 +0200</pubDate>
    <dc:creator>jd</dc:creator>
        <category>Debian</category>
        <category>atl1e</category><category>debian</category><category>eeepc</category><category>hardware</category><category>kernel</category>    
    <description>    &lt;p&gt;Ben Armstrong opened an &lt;a href=&quot;http://bugs.debian.org/492029&quot;&gt;ITP&lt;/a&gt; for the ATL1E NIC driver, which is found on some Asus EeePC laptops.
So, as suggested by Maximilian Attems, &lt;a href=&quot;http://lists.debian.org/debian-kernel/2008/07/msg00638.html&quot;&gt;I provided a clean patch for this driver&lt;/a&gt;, made from a cherry-pick from the linux-netdev 2.6.27 tree. It has been commited into the 2.6.26-1 Debian kernel, which will be furnished with Lenny.&lt;/p&gt;


&lt;p&gt;What's fun, is that in the mean time, I got a new computer at work. Wait, it's not fun yet. Because what I did not know is that it's made of an &lt;a href=&quot;http://asus.com/products.aspx?l1=3&amp;amp;l2=11&amp;amp;l3=709&amp;amp;l4=0&amp;amp;model=2164&amp;amp;modelmenu=1&quot;&gt;Asus P5Q motherboard&lt;/a&gt; which runs a NIC needing the ATL1E driver (and now you see it's fun).&lt;/p&gt;


&lt;p&gt;So I've just upgraded to 2.6.26-1-amd64 and I'm glad that my own work is useful to me (and will be probably be to others as well). &lt;img src=&quot;/blog//themes/geeek.org/smilies/smile.png&quot; alt=&quot;:-)&quot; class=&quot;smiley&quot; /&gt;&lt;/p&gt;</description>
    
    
    
          <comments>http://julien.danjou.info/blog/index.php/post/2008/07/31/ATL1E-support-in-2626-1#comment-form</comments>
      <wfw:comment>http://julien.danjou.info/blog/index.php/post/2008/07/31/ATL1E-support-in-2626-1#comment-form</wfw:comment>
      <wfw:commentRss>http://julien.danjou.info/blog/index.php/feed/rss2/comments/473</wfw:commentRss>
      </item>
    
  <item>
    <title>Waiting so long</title>
    <link>http://julien.danjou.info/blog/index.php/post/2007/09/14/Waiting-so-long</link>
    <guid isPermaLink="false">urn:md5:152fd3c8a3384a925d382a665a7bb4a4</guid>
    <pubDate>Fri, 14 Sep 2007 19:16:00 +0200</pubDate>
    <dc:creator>jd</dc:creator>
        <category>Life</category>
        <category>fun</category><category>kernel</category><category>life</category><category>software</category><category>thinking</category>    
    <description>    &lt;p&gt;Oh my god, I'd be happy the day La Poste (french post offices) will call a kernel hacker to...&lt;/p&gt;


&lt;p&gt;Wait for it...&lt;/p&gt;


&lt;p&gt;Explain them what is a queue scheduler.&lt;/p&gt;</description>
    
    
    
      </item>
    
</channel>
</rss>