From owner-freebsd-questions@FreeBSD.ORG Sun Mar 9 12:02:38 2008 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 13D1F106567B for ; Sun, 9 Mar 2008 12:02:38 +0000 (UTC) (envelope-from erikt@midgard.homeip.net) Received: from ch-smtp02.sth.basefarm.net (ch-smtp02.sth.basefarm.net [80.76.149.213]) by mx1.freebsd.org (Postfix) with ESMTP id 4ECF98FC16 for ; Sun, 9 Mar 2008 12:02:34 +0000 (UTC) (envelope-from erikt@midgard.homeip.net) Received: from c83-253-25-183.bredband.comhem.se ([83.253.25.183]:62469 helo=falcon.midgard.homeip.net) by ch-smtp02.sth.basefarm.net with esmtp (Exim 4.68) (envelope-from ) id 1JYKEb-0007dJ-7J for freebsd-questions@freebsd.org; Sun, 09 Mar 2008 13:02:33 +0100 Received: (qmail 92665 invoked from network); 9 Mar 2008 13:02:30 +0100 Received: from owl.midgard.homeip.net (10.1.5.7) by falcon.midgard.homeip.net with ESMTP; 9 Mar 2008 13:02:30 +0100 Received: (qmail 16339 invoked by uid 1001); 9 Mar 2008 13:02:30 +0100 Date: Sun, 9 Mar 2008 13:02:30 +0100 From: Erik Trulsson To: Marcel Cuculici Message-ID: <20080309120230.GA16246@owl.midgard.homeip.net> Mail-Followup-To: Marcel Cuculici , freebsd-questions@freebsd.org References: <4bdb2e0b0803090428j60c67b54q8fc74f415d316cf4@mail.gmail.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <4bdb2e0b0803090428j60c67b54q8fc74f415d316cf4@mail.gmail.com> User-Agent: Mutt/1.5.17 (2007-11-01) X-Originating-IP: 83.253.25.183 X-Scan-Result: No virus found in message 1JYKEb-0007dJ-7J. X-Scan-Signature: ch-smtp02.sth.basefarm.net 1JYKEb-0007dJ-7J 01a4afbce44dda37f33407b116735486 Cc: freebsd-questions@freebsd.org Subject: Re: CPU Frequency Scaling X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 09 Mar 2008 12:02:39 -0000 On Sun, Mar 09, 2008 at 01:28:17PM +0200, Marcel Cuculici wrote: > Hello everyone! My system hardware is Asus P5B with Intel Core Duo 2 e6600. > I installed on it freeBSD 7.0 Release yesterday, but I don`t understand > something. In Gnome there is CPU Frequency Scaling Monitor Witch it`s set to > Performance, and the Cpu freq. is 2.39 Ghz, I can change it MANUALLY to > other freq as can bee see it in the link`s above, but can not set to Economy > :| > > In bios I have Intel Speed Step Enabled, and Cpu Freq set to AUTO. > > However, in Windows XP, my power scheme is set to Minimal Power Management > And the cpu freq stay at 1.58-1.60, and when computer need more cpu power > it AUTOMATICALY jump`s to 2.40 Ghz. > The same thing happen`s in Ubuntu linux 7.10 and Debian Etch, the Cpu stay > at ~1.60 Ghz and it jump`s auto when more Cpu resources is needed. > > I don`t undersntand why in linux and windows the cpu is automatically > controlled by operating system and in freeBSD I need to set it manually. How > can be this changed for freeBSD, to act as windows/linux at cpu freq scaling > chapter? You can have it done automatically on FreeBSD too. First you need to have 'device cpufreq' in your kernel config or load the cpufreq kernel module with "kldload cpufreq". If you can change the frequency manually, then this is probably already done. Then you need to run the powerd(8) daemon. It can be enabled to start automatically at boot time by putting the line 'powerd_enable="YES"' in /etc/rc.conf -- Erik Trulsson ertr1013@student.uu.se