From owner-freebsd-hackers@FreeBSD.ORG Wed Aug 8 22:24:59 2007 Return-Path: Delivered-To: hackers@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 6D2A316A417 for ; Wed, 8 Aug 2007 22:24:59 +0000 (UTC) (envelope-from hartzell@alerce.com) Received: from merlin.alerce.com (merlin.alerce.com [64.62.142.94]) by mx1.freebsd.org (Postfix) with ESMTP id 5B4A813C465 for ; Wed, 8 Aug 2007 22:24:59 +0000 (UTC) (envelope-from hartzell@alerce.com) Received: from merlin.alerce.com (localhost [127.0.0.1]) by merlin.alerce.com (Postfix) with ESMTP id EEF3733C5D; Wed, 8 Aug 2007 14:59:50 -0700 (PDT) Received: from postfix.alerce.com (w092.z064001164.sjc-ca.dsl.cnc.net [64.1.164.92]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (Client CN "satchel.alerce.com", Issuer "alerce.com" (verified OK)) by merlin.alerce.com (Postfix) with ESMTP id BFC7033C5B; Wed, 8 Aug 2007 14:59:50 -0700 (PDT) Received: by postfix.alerce.com (Postfix, from userid 501) id 2FEC01326BA; Wed, 8 Aug 2007 14:59:50 -0700 (PDT) From: George Hartzell MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Message-ID: <18106.15573.957137.177128@almost.alerce.com> Date: Wed, 8 Aug 2007 14:59:49 -0700 To: Evren Yurtesen In-Reply-To: <46B9EDBF.80506@ispro.net> References: <46B9EDBF.80506@ispro.net> X-Mailer: VM 7.19 under Emacs 22.1.1 X-Virus-Scanned: ClamAV using ClamSMTP X-Mailman-Approved-At: Wed, 08 Aug 2007 22:28:46 +0000 Cc: hackers@freebsd.org Subject: Re: powerd feature proposal...(and a small problem) X-BeenThere: freebsd-hackers@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list Reply-To: hartzell@alerce.com List-Id: Technical Discussions relating to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 08 Aug 2007 22:24:59 -0000 Evren Yurtesen writes: > Hi, > > The problem is with an 8 processor system. If a process is not threaded and > starts using 100% cpu time of a single processor, the system still shows over > 80% idle. Whereas this single process works really slow if the system is already > at the slowest speed. Is there a simple way to fix this problem? It is not so > big problem but sometimes it is quite annoying :) > [...] I edited /etc/rc.d/powerd and just after the command line I added command_arg="-r 84 -i 93" [values determined by trial and error] g.