[Python-Dev] Signals+Threads (PyGTK waking up 10x/sec).

Jan Claeys lists at janc.be
Mon Dec 17 22:57:52 CET 2007

Op dinsdag 11-12-2007 om 17:03 uur [tijdzone -0800], schreef Guido van
> On Dec 11, 2007 4:54 PM, Jan Claeys <lists at janc.be> wrote:
> > Op vrijdag 07-12-2007 om 07:26 uur [tijdzone -0700], schreef Sean
> > Reifschneider:
> > > I would say that this is an optimization that helps a specific set of
> > > platforms, including one that I think we really care about, the OLPC
> > > which needs it for decreased battery use.
> >
> > Almost every laptop user would benefit from it, and even some desktop or
> > server users might save on their electric power bill...
> Do you have data to support this claim?

Not PyGTK-specific data, but you can see power-saving by reducing
wakeups by playing with Intel's 'powertop' utility on linux (also see
the "lesswatts" site mentioned earlier).

One example was the interaction between PulseAudio & ALSA that caused a
lot of "wakeups", and thus prevented laptops from going into the more
"agressive" power saving modes; if PyGTK has a similar issue, that would
make it less useful on laptops...

Jan Claeys

More information about the Python-Dev mailing list