Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 15 Feb 2005 08:34:17 -0800
From:      Nate Lawson <nate@root.org>
To:        Jiawei Ye <leafy7382@gmail.com>
Cc:        current@freebsd.org
Subject:   Re: HEADSUP: cpufreq import complete, acpi_throttling changed
Message-ID:  <42122489.4030705@root.org>
In-Reply-To: <c21e92e205021507102119e1fa@mail.gmail.com>
References:  <20050213231306.376E05D07@ptavv.es.net> <420FE3C7.6020003@root.org> <20050214152319.bqxon1xk0g008s4k@netchild.homeip.net> <c21e92e205021407184fe399f8@mail.gmail.com>	 <4210D155.6080706@root.org> <c21e92e205021409243caeeee3@mail.gmail.com>	 <4211A8DD.4010406@root.org> <c21e92e205021507102119e1fa@mail.gmail.com>

next in thread | previous in thread | raw e-mail | index | archive | help
Jiawei Ye wrote:
> On Mon, 14 Feb 2005 23:46:37 -0800, Nate Lawson <nate@root.org> wrote:
> 
>>I just committed a patch that may fix this issue.
>>
>>--
>>Nate
>>
> 
> Does this look right to you?
> 
> leafy@chihiro:~$ sysctl dev.cpu
> dev.cpu.0.%desc: ACPI CPU
> dev.cpu.0.%driver: cpu
> dev.cpu.0.%location: handle=\_PR_.CPU1
> dev.cpu.0.%pnpinfo: _HID=none _UID=0
> dev.cpu.0.%parent: acpi0
> dev.cpu.0.freq: 1818
> dev.cpu.0.freq_levels: 1818/-1 1590/-1 1363/-1 1136/-1 909/-1 681/-1
> 454/-1 227/-1

I don't know, what's your CPUs actual full speed clock rate?  Your 
system only has throttling so the only way to get those levels is to 
estimate the full speed rate and derive the rest from it.  I'm working 
to make the estimate more correct in the future, but the current code 
should be right +/- a few Mhz.

-- 
Nate



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?42122489.4030705>