[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [sup-devel] really high wakeup count in powertop
Excerpts from William Morgan's message of 2010-11-10 13:35:41 -0500:
> Reformatted excerpts from Chris Mason's message of 2010-11-10:
> > I patched up ruby to poll every 500ms and things seem to work. Not
> > sure why the ruby developers didn't just change the timeout, but
> > chances are good they have a real reason.
>
> Yeah, the last time someone investigated this, they decided it was a
> Ruby issue as well. Keep us informed if that patch gets applied. You
> could also try 1.9.2 for kicks.
The 500ms patch apparently isn't good because it limits how often ruby
can switch between threads. This seems strange to me, because the
kernel should be scheduling the threads, so I'll ask again.
At any rate, it did trigger some discussion and doesn't seem to be fixed
yet in any ruby version.
(For sup uses, 500ms works just fine, and that's my only ruby app).
-chris
_______________________________________________
Sup-devel mailing list
Sup-devel@rubyforge.org
http://rubyforge.org/mailman/listinfo/sup-devel