I was wondering if anybody else has a problem with sup/ruby causing lots of wakeups-from-idle? The following line comes from the output of powertop on my thinkpad:
... 20.6% ( 94.8) ruby : do_nanosleep (hrtimer_wakeup) ... That is, there are ~94.8 wakeups-from-idle per second occuring because ruby is do_nanosleep'ing a lot. Is there any workaround for this? Cursory searching seems to indicate that lots of wakeups can be caused by doing usleep()s instead of select()/poll(). I'm trying to save as much battery power as possible, and I currently leave sup off until I want to check my email, which introduces startup time, etc. I could just run it on some other host and access it with ssh, but for a few reasons (mostly not wanting to do X forwarding), I'd like to try getting ruby/sup to behave a little better. Thanks, --Phil _______________________________________________ sup-talk mailing list [email protected] http://rubyforge.org/mailman/listinfo/sup-talk
