Archive of RubyForge sup-devel mailing list
 help / color / mirror / Atom feed
From: Chris Mason <chris.mason@oracle.com>
To: William Morgan <wmorgan-sup@masanjin.net>
Cc: sup-devel <sup-devel@rubyforge.org>
Subject: Re: [sup-devel] really high wakeup count in powertop
Date: Wed, 10 Nov 2010 15:18:58 -0500	[thread overview]
Message-ID: <1289420219-sup-8511@think> (raw)
In-Reply-To: <1289414078-sup-6701@masanjin.net>

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


      reply	other threads:[~2010-11-10 20:19 UTC|newest]

Thread overview: 5+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2010-11-10  0:40 Chris Mason
2010-11-10 14:41 ` Chris Mason
2010-11-10 16:13   ` Gaute Hope
2010-11-10 18:35   ` William Morgan
2010-11-10 20:18     ` Chris Mason [this message]

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=1289420219-sup-8511@think \
    --to=chris.mason@oracle.com \
    --cc=sup-devel@rubyforge.org \
    --cc=wmorgan-sup@masanjin.net \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox