From mboxrd@z Thu Jan 1 00:00:00 1970 Received: by 10.42.180.131 with SMTP id bu3cs80283icb; Wed, 10 Nov 2010 12:19:28 -0800 (PST) Received: by 10.231.35.200 with SMTP id q8mr6871912ibd.191.1289420367988; Wed, 10 Nov 2010 12:19:27 -0800 (PST) Return-Path: Received: from rubyforge.org (rubyforge.org [205.234.109.19]) by mx.google.com with ESMTP id w9si690067ibc.25.2010.11.10.12.19.27; Wed, 10 Nov 2010 12:19:27 -0800 (PST) Received-SPF: pass (google.com: domain of sup-devel-bounces@rubyforge.org designates 205.234.109.19 as permitted sender) client-ip=205.234.109.19; Authentication-Results: mx.google.com; spf=pass (google.com: domain of sup-devel-bounces@rubyforge.org designates 205.234.109.19 as permitted sender) smtp.mail=sup-devel-bounces@rubyforge.org Received: from rubyforge.org (rubyforge.org [127.0.0.1]) by rubyforge.org (Postfix) with ESMTP id 9E2FC185837E for ; Wed, 10 Nov 2010 15:19:27 -0500 (EST) Received: from rcsinet10.oracle.com (rcsinet10.oracle.com [148.87.113.121]) by rubyforge.org (Postfix) with ESMTP id AA988185836C for ; Wed, 10 Nov 2010 15:19:16 -0500 (EST) Received: from acsinet15.oracle.com (acsinet15.oracle.com [141.146.126.227]) by rcsinet10.oracle.com (Switch-3.4.2/Switch-3.4.2) with ESMTP id oAAKJ75W005086 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=OK); Wed, 10 Nov 2010 20:19:08 GMT Received: from acsmt353.oracle.com (acsmt353.oracle.com [141.146.40.153]) by acsinet15.oracle.com (Switch-3.4.2/Switch-3.4.1) with ESMTP id oAAE1tv1019046; Wed, 10 Nov 2010 20:19:05 GMT Received: from abhmt010.oracle.com by acsmt354.oracle.com with ESMTP id 766718331289420339; Wed, 10 Nov 2010 12:18:59 -0800 Received: from localhost (/66.66.148.185) by default (Oracle Beehive Gateway v4.0) with ESMTP ; Wed, 10 Nov 2010 12:18:59 -0800 From: Chris Mason To: William Morgan In-reply-to: <1289414078-sup-6701@masanjin.net> References: <1289349454-sup-1015@think> <1289399902-sup-201@think> <1289414078-sup-6701@masanjin.net> Date: Wed, 10 Nov 2010 15:18:58 -0500 Message-Id: <1289420219-sup-8511@think> User-Agent: Sup/git Cc: sup-devel Subject: Re: [sup-devel] really high wakeup count in powertop X-BeenThere: sup-devel@rubyforge.org X-Mailman-Version: 2.1.12 Precedence: list Reply-To: Sup developer discussion List-Id: Sup developer discussion List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Sender: sup-devel-bounces@rubyforge.org Errors-To: sup-devel-bounces@rubyforge.org 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