From owner-freebsd-stable@FreeBSD.ORG Mon Mar 8 16:40:30 2010 Return-Path: Delivered-To: freebsd-stable@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 25822106566B; Mon, 8 Mar 2010 16:40:30 +0000 (UTC) (envelope-from dan.naumov@gmail.com) Received: from mail-gy0-f182.google.com (mail-gy0-f182.google.com [209.85.160.182]) by mx1.freebsd.org (Postfix) with ESMTP id C35018FC3B; Mon, 8 Mar 2010 16:40:29 +0000 (UTC) Received: by gyg8 with SMTP id 8so1518015gyg.13 for ; Mon, 08 Mar 2010 08:40:29 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:mime-version:received:in-reply-to:references :date:message-id:subject:from:to:content-type; bh=KUNYp6Jw1K6u7vAh3lVGp1YoHkjNVBN8NaSYa9iJrxg=; b=TvnI/fGB/etLTjha2Dq7pxlUPHhMWsMWZIDETXlt+S2U8l7vDTgGX8XwLVI7H9LtmK NzVLhIeuMm675h9NlaQhEHWSosiz0d2pfbvFNTf3YI07dij/hQxiFQ659v01srXZpH3h RNSkgDH6622j8cVR476AivPzpsgnDunk/kwo4= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :content-type; b=sG4mx18WCJ/d79T1gMi/xudgnU0DgpNAfZ9v2nfJMMsTBfQDL4joSNnjHvLJuK5HW2 Ba9pRdAzuG9Q11ebnyFwKWPH+HC/673JvxydQTbyW8tdH8wsZkh9nCLv3RkXl/sD9JZ+ QmYGVzweAS/tNDTVNdN/G0h6QoFVkzD4a/S9A= MIME-Version: 1.0 Received: by 10.101.155.38 with SMTP id h38mr7687304ano.131.1268066428994; Mon, 08 Mar 2010 08:40:28 -0800 (PST) In-Reply-To: References: Date: Mon, 8 Mar 2010 18:40:28 +0200 Message-ID: From: Dan Naumov To: FreeBSD-STABLE Mailing List , Jeremy Chadwick , freebsd-questions@freebsd.org Content-Type: text/plain; charset=ISO-8859-1 Cc: Subject: Re: powerd on 8.0, is it considered safe? X-BeenThere: freebsd-stable@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Production branch of FreeBSD source code List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 08 Mar 2010 16:40:30 -0000 OK, now I feel a bit stupid. The second half of my PR at http://www.freebsd.org/cgi/query-pr.cgi?pr=144551 (anything related to powerd behaviour) can be ignored. For testing purposes, I started powerd in the foreground and observed it's behaviour. It works exactly as advertised and apparently the very act of issuing a "sysctl -a | grep dev.cpu.0.freq" command uses up a high % of CPU time for a fraction of a second, resulting in confusing output, I was always getting the highest cpu frequency state as the output. Testing powerd in foreground however, shows correct behaviour, CPU is downclocked both before and after issuing that command :) Still doesn't explain why the system boots up at 1249 Mhz, but that's not that big of an issue at this point now I see that powerd is behaving correctly. - Sincerely, Dan Naumov