From owner-freebsd-hackers@FreeBSD.ORG Wed Aug 8 16:49:36 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 361BB16A418 for ; Wed, 8 Aug 2007 16:49:36 +0000 (UTC) (envelope-from yurtesen@ispro.net) Received: from mail.ispro.net (mail.ispro.net [87.251.0.19]) by mx1.freebsd.org (Postfix) with SMTP id 5128F13C468 for ; Wed, 8 Aug 2007 16:49:34 +0000 (UTC) (envelope-from yurtesen@ispro.net) Received: (qmail 84566 invoked by uid 399); 8 Aug 2007 19:22:53 +0300 Received: from dsl-tkubrasgw1-fe26fa00-203.dhcp.inet.fi (HELO ?84.250.38.203?) (yurtesen@ispro.net@84.250.38.203) by mail.ispro.net with ESMTP; 8 Aug 2007 19:22:53 +0300 X-Originating-IP: 84.250.38.203 Message-ID: <46B9EDBF.80506@ispro.net> Date: Wed, 08 Aug 2007 19:22:23 +0300 From: Evren Yurtesen User-Agent: Thunderbird 1.5.0.12 (Windows/20070509) MIME-Version: 1.0 To: hackers@freebsd.org Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Cc: Subject: powerd feature proposal...(and a small problem) X-BeenThere: freebsd-hackers@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list 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 16:49:36 -0000 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 :) Also I am currently using acpi_ppc (http://www.spa.is.uec.ac.jp/~nfukuda/software/) for adaptive CPU speeds on some machines. It gives performance statistics like: hw.acpi.cpu.px_supported: 2200 1800 800 hw.acpi.cpu.px_usage: 3.33% 3.33% 93.33% Is it possible for powerd to create similar sysctl entries? Thanks, Evren