CINXE.COM
LKML: Con Kolivas: Re: 2.6.15-ck1
<?xml version="1.0" encoding="UTF-8" standalone="yes"?> <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"><html xmlns="http://www.w3.org/1999/xhtml"><head><meta http-equiv="Content-Type" content="text/html; charset=UTF-8" /><title>LKML: Con Kolivas: Re: 2.6.15-ck1</title><link href="/css/message.css" rel="stylesheet" type="text/css" /><link href="/css/wrap.css" rel="alternate stylesheet" type="text/css" title="wrap" /><link href="/css/nowrap.css" rel="stylesheet" type="text/css" title="nowrap" /><link href="/favicon.ico" rel="shortcut icon" /><script src="/js/simple-calendar.js" type="text/javascript"></script><script src="/js/styleswitcher.js" type="text/javascript"></script><link rel="alternate" type="application/rss+xml" title="lkml.org : last 100 messages" href="/rss.php" /><link rel="alternate" type="application/rss+xml" title="lkml.org : last messages by Con Kolivas" href="/groupie.php?aid=27656" /><!--Matomo--><script> var _paq = window._paq = window._paq || []; /* tracker methods like "setCustomDimension" should be called before "trackPageView" */ _paq.push(["setDoNotTrack", true]); _paq.push(["disableCookies"]); _paq.push(['trackPageView']); _paq.push(['enableLinkTracking']); (function() { var u="//m.lkml.org/"; _paq.push(['setTrackerUrl', u+'matomo.php']); _paq.push(['setSiteId', '1']); var d=document, g=d.createElement('script'), s=d.getElementsByTagName('script')[0]; g.async=true; g.src=u+'matomo.js'; s.parentNode.insertBefore(g,s); })(); </script><!--End Matomo Code--></head><body onload="es.jasper.simpleCalendar.init();" itemscope="itemscope" itemtype="http://schema.org/BlogPosting"><table border="0" cellpadding="0" cellspacing="0"><tr><td width="180" align="center"><a href="/"><img style="border:0;width:135px;height:32px" src="/images/toprowlk.gif" alt="lkml.org" /></a></td><td width="32">聽</td><td class="nb"><div><a class="nb" href="/lkml"> [lkml]</a> 聽 <a class="nb" href="/lkml/2006"> [2006]</a> 聽 <a class="nb" href="/lkml/2006/1"> [Jan]</a> 聽 <a class="nb" href="/lkml/2006/1/4"> [4]</a> 聽 <a class="nb" href="/lkml/last100"> [last100]</a> 聽 <a href="/rss.php"><img src="/images/rss-or.gif" border="0" alt="RSS Feed" /></a></div><div>Views: <a href="#" class="nowrap" onclick="setActiveStyleSheet('wrap');return false;">[wrap]</a><a href="#" class="wrap" onclick="setActiveStyleSheet('nowrap');return false;">[no wrap]</a> 聽 <a class="nb" href="/lkml/mheaders/2006/1/4/403" onclick="this.href='/lkml/headers'+'/2006/1/4/403';">[headers]</a>聽 <a href="/lkml/bounce/2006/1/4/403">[forward]</a>聽 </div></td><td width="32">聽</td></tr><tr><td valign="top"><div class="es-jasper-simpleCalendar" baseurl="/lkml/"></div><div class="threadlist">Messages in this thread</div><ul class="threadlist"><li class="root"><a href="/lkml/2006/1/3/519">First message in thread</a></li><li><a href="/lkml/2006/1/4/244">Dave Jones</a><ul><li><a href="/lkml/2006/1/4/263">Dave Jones</a><ul><li><a href="/lkml/2006/1/4/284">Arjan van de Ven</a><ul><li><a href="/lkml/2006/1/4/306">Radoslaw Szkodzinski</a><ul><li><a href="/lkml/2006/1/4/433">Con Kolivas</a></li></ul></li><li><a href="/lkml/2006/1/4/313">Dave Jones</a></li><li><a href="/lkml/2006/1/4/488">Andi Kleen</a><ul><li><a href="/lkml/2006/1/4/492">Con Kolivas</a></li><li><a href="/lkml/2006/1/5/14">Dave Jones</a></li><li><a href="/lkml/2006/1/5/23">Vojtech Pavlik</a></li></ul></li><li><a href="/lkml/2006/1/4/498">Tony Lindgren</a></li></ul></li><li class="origin"><a href="/lkml/2006/1/4/499">Con Kolivas</a><ul><li><a href="/lkml/2006/1/4/499">Tony Lindgren</a></li><li><a href="/lkml/2006/1/5/326">Kevin Radloff</a><ul><li><a href="/lkml/2006/1/12/236">Daniel Petrini</a></li></ul></li></ul></li></ul></li><li><a href="/lkml/2006/1/4/286">Grant Coady</a><ul><li><a href="/lkml/2006/1/4/293">Dave Jones</a></li></ul></li><li><a href="/lkml/2006/1/12/335">Adam Belay</a><ul><li><a href="/lkml/2006/1/12/369">Dave Jones</a><ul><li><a href="/lkml/2006/1/12/405">Adam Belay</a><ul><li><a href="/lkml/2006/1/12/407">Dave Jones</a></li></ul></li><li><a href="/lkml/2006/1/16/243">Ben Slusky</a></li></ul></li></ul></li><li><a href="/lkml/2006/1/13/493">Philipp Rumpf</a><ul><li><a href="/lkml/2006/1/13/497">Dave Jones</a><ul><li><a href="/lkml/2006/1/14/93">Jens Axboe</a></li></ul></li></ul></li></ul></li></ul></td><td width="32" rowspan="2" class="c" valign="top"><img src="/images/icornerl.gif" width="32" height="32" alt="/" /></td><td class="c" rowspan="2" valign="top" style="padding-top: 1em"><table><tr><td><table><tr><td class="lp">From</td><td class="rp" itemprop="author">Con Kolivas <></td></tr><tr><td class="lp">Subject</td><td class="rp" itemprop="name">Re: 2.6.15-ck1</td></tr><tr><td class="lp">Date</td><td class="rp" itemprop="datePublished">Thu, 5 Jan 2006 10:10:53 +1100</td></tr></table></td><td></td></tr></table><pre itemprop="articleBody">On Thursday 05 January 2006 06:57, Dave Jones wrote:<br />> On Wed, Jan 04, 2006 at 02:05:54PM -0500, Dave Jones wrote:<br />> > On Wed, Jan 04, 2006 at 12:00:00PM +1100, Con Kolivas wrote:<br />> > > +2.6.15-dynticks-060101.patch<br />> > > +dynticks-disable_smp_config.patch<br />> > > Latest version of the dynticks patch. This is proving stable and<br />> > > effective on virtually all uniprocessor machines and will benefit<br />> > > systems that desire power savings. SMP kernels (even on UP machines)<br />> > > still misbehave so this config option is not available by default for<br />> > > this stable kernel.<br />> ><br />> > I've been curious for some time if this would actually show any<br />> > measurable power savings. So I hooked up my laptop to a gizmo[1] that<br />> > shows how much power is being sucked.<br />> ><br />> > both before, and after, it shows my laptop when idle is pulling 21W.<br />> > So either the savings here are <1W (My device can't measure more<br />> > accurately than a single watt), or this isn't actually buying us<br />> > anything at all, or something needs tuning.<br />><br />> Ah interesting. It needs to be totally idle for a period of time before<br />> anything starts to happen at all. After about a minute of doing nothing,<br />> it started to fluctuate once a second 20,21,19,20,19,20,18,21,19,20,22<br />> etc..<br />><br />> Goes no lower than 18W, and only occasionally peaks above the old idle<br />> power usage. Not bad at all.<br />><br />> Causing any activity at all puts it back to the 'have to wait a while<br />> for things to start happening' state again.<br /><br />Thanks for testing it. Indeed skipping the ticks alone does not really save <br />any significant amount of power. The real chance for power savings comes from <br />using this period for smarter C state programming. The other thing as you've <br />noticed is that timers need to be curbed or minimised to get the maximum <br />benefit and the ondemand governor alone, which unfortunately shows up as <br />something not obvious in timertop, polls at 140HZ itself - fiddling with <br />ondemand/ settings in sys can drop this but slows the rate at which it <br />adapts.<br /><br />I've basically stopped doing any development on dynticks at this time because <br />I simply do not know enough about the interaction between the IO Apic and <br />what is happening on SMP. The code to handle SMP seems sane, but I'll need <br />outside help to cope with whatever the IO APIC is doing. UP is working fine, <br />but it won't be long before truckloads of SMP laptops are here.<br /><br />Cheers,<br />Con<br />-<br />To unsubscribe from this list: send the line "unsubscribe linux-kernel" in<br />the body of a message to majordomo@vger.kernel.org<br />More majordomo info at <a href="http://vger.kernel.org/majordomo-info.html">http://vger.kernel.org/majordomo-info.html</a><br />Please read the FAQ at <a href="http://www.tux.org/lkml/">http://www.tux.org/lkml/</a><br /><br /></pre></td><td width="32" rowspan="2" class="c" valign="top"><img src="/images/icornerr.gif" width="32" height="32" alt="\" /></td></tr><tr><td align="right" valign="bottom"> 聽 </td></tr><tr><td align="right" valign="bottom">聽</td><td class="c" valign="bottom" style="padding-bottom: 0px"><img src="/images/bcornerl.gif" width="32" height="32" alt="\" /></td><td class="c">聽</td><td class="c" valign="bottom" style="padding-bottom: 0px"><img src="/images/bcornerr.gif" width="32" height="32" alt="/" /></td></tr><tr><td align="right" valign="top" colspan="2"> 聽 </td><td class="lm">Last update: 2006-01-05 00:14 聽聽 [from the cache]<br />漏2003-2020 <a href="http://blog.jasper.es/"><span itemprop="editor">Jasper Spaans</span></a>|hosted at <a href="https://www.digitalocean.com/?refcode=9a8e99d24cf9">Digital Ocean</a> and my Meterkast|<a href="http://blog.jasper.es/categories.html#lkml-ref">Read the blog</a></td><td>聽</td></tr></table><script language="javascript" src="/js/styleswitcher.js" type="text/javascript"></script></body></html>