From owner-freebsd-acpi@FreeBSD.ORG Fri Jan 9 22:31:50 2009 Return-Path: Delivered-To: freebsd-acpi@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 8AC151065672 for ; Fri, 9 Jan 2009 22:31:50 +0000 (UTC) (envelope-from glavoie@gmail.com) Received: from mail-bw0-f20.google.com (mail-bw0-f20.google.com [209.85.218.20]) by mx1.freebsd.org (Postfix) with ESMTP id 106E98FC13 for ; Fri, 9 Jan 2009 22:31:49 +0000 (UTC) (envelope-from glavoie@gmail.com) Received: by bwz13 with SMTP id 13so3302337bwz.19 for ; Fri, 09 Jan 2009 14:31:49 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:received:received:message-id:date:from:to :subject:cc:in-reply-to:mime-version:content-type :content-transfer-encoding:content-disposition:references; bh=/RfDSYqONXUvKKQ6xg9LNwvhW6x83SubFE54j3CRweg=; b=isEBlQhlZB7RckpXxlpZE+qTebuXPwyNIYXCijZgrhI5NuswUQv3FBHkG6RjOHCoHC fqzmSPtt29uLJUay3eOgSz6ds3TsMW8vIYW9XdtgVMVx2z0m3xNM3BQWZ5vfclI0XPy+ 4Rdk3rZUf0PeZOYGutYKfEuz6l75/mN6NIowU= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=message-id:date:from:to:subject:cc:in-reply-to:mime-version :content-type:content-transfer-encoding:content-disposition :references; b=TEqie4Yz9sfLhG7k2glj8ABxuk5jZ4JoyhPzS6flTMfOTuZTySqI/p0n/BkSc3FR2Q /LjJUHluNV2gihKVpjvhxuHtko6AX3x+jlEk1QaD6ega5tDlHL2hkWR9LtJVgxRvv7f7 Y5RpDTtGsoWR2a9Q4cEbOCsKbGhc9QdzmS40M= Received: by 10.180.239.8 with SMTP id m8mr9880423bkh.165.1231540309124; Fri, 09 Jan 2009 14:31:49 -0800 (PST) Received: by 10.181.26.14 with HTTP; Fri, 9 Jan 2009 14:31:48 -0800 (PST) Message-ID: Date: Fri, 9 Jan 2009 17:31:48 -0500 From: "Gabriel Lavoie" To: "Nate Lawson" In-Reply-To: <4967BE39.9020205@root.org> MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 7bit Content-Disposition: inline References: <7d6fde3d0901082151t4901824cv84eb6c2be2658b15@mail.gmail.com> <496780A8.7070801@root.org> <4967BE39.9020205@root.org> Cc: freebsd-acpi@freebsd.org Subject: Re: EST (Enhanced Intel SpeedStep(R) Technology) on amd64 X-BeenThere: freebsd-acpi@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: ACPI and power management development List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 09 Jan 2009 22:31:51 -0000 This is what I did by setting freq_lowest to 1200 but it would also be nice if we could configure the steps, or at least, be able to configure more powerd. Some setting like going from lowest frequency to highest frequency in one step if load is over 10% without having to wait a few msec for every steps between would be useful. Gabriel 2009/1/9 Nate Lawson : > Gabriel Lavoie wrote: >> Another question. Any reason why powerd doesn't use >> dev.est.0.freq_settings when it is available instead of >> dev.cpu.0.freq_levels? >> >> On my system: >> dev.cpu.0.freq_levels: 2500/88000 2187/77000 2000/47608 1750/41657 >> 1600/44616 1400/39039 1200/41800 1050/36575 900/31350 750/26125 >> 600/20900 450/15675 300/10450 150/5225 >> dev.est.0.freq_settings: 2500/88000 2000/47608 1600/44616 1200/41800 >> >> If I don't lower the polling time of powerd to 100ms, my system >> becomes way too much unresponsive because powerd takes too much time >> to increase the frequency, step by step and there are a lot of >> settings with dev.est.0.freq_settings (14). With >> dev.est.0.freq_settings, the minimal setting is high enough so the >> system stays responsive and powerd would bring it up to max frequency >> quickly enough, even if the polling time is still kept at 500ms. This >> would work more like Windows or Linux where the lowest frequency at >> which the CPU will drop is the lowest EIST gives (here 1200 MHz). >> > > levels is derived from settings. Set a lower bound with the sysctl for > freq_lowest. > > -- > Nate > -- Gabriel Lavoie glavoie@gmail.com