From: Mark Somerville Date: 2011-03-07T19:15:37+09:00 Subject: [ruby-core:35448] Re: Power consumption of timer thread --bCsyhTFzCvuiizWE Content-Type: text/plain; charset=iso-8859-1 Content-Disposition: inline Content-Transfer-Encoding: quoted-printable Hi Chris! On Tue, Nov 16, 2010 at 01:29:31AM +0900, Chris Mason wrote: > Excerpts from SASADA Koichi's message of 2010-11-14 16:34:20 -0500: > >=20 >=20 > Thank you for spending time on this issue. >=20 > If you're running an unplugged laptop, powertop will show actual power > consumption from the battery. But, your power meter results are also > going to be accurate. =20 > The power consumption is only really increased if the machine is > otherwise idle. If the machine is able to power down a CPU, waking that > CPU up for the timer thread is fairly expensive. If the CPU is already > awake doing other tasks, the timer thread has a fairly small cost. In case you missed it, you may be interested in checking out a different thread/patch[1] on ruby-core. It would be great to hear some more feedback about this. [1] - http://blade.nagaokaut.ac.jp/cgi-bin/scat.rb/ruby/ruby-core/33456 --bCsyhTFzCvuiizWE Content-Type: application/pgp-signature -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.11 (GNU/Linux) iEUEARECAAYFAk10sEMACgkQFC+QcFj+6g10xQCfWm2SBcFGH4M2SDXnaC2B++1E O7wAmM6T8RU7PZZMs6zKteAj5/u2MHc= =I0yr -----END PGP SIGNATURE----- --bCsyhTFzCvuiizWE--