Re: patch: p4tcc and speedstep cpufreq drivers

From: Nate Lawson <nate_at_root.org>
Date: Thu, 24 Feb 2005 13:02:30 -0800
Tobias Grosser wrote:
> with patch: "sysctl dev.cpu"
> --------------------------------------------------------------------
> dev.cpu.0.%desc: ACPI CPU (3 Cx states)
> dev.cpu.0.%driver: cpu
> dev.cpu.0.%location: handle=\_PR_.CPU_
> dev.cpu.0.%pnpinfo: _HID=none _UID=0
> dev.cpu.0.%parent: acpi0
> dev.cpu.0.freq: -1
> --------------------------------------------------------------------

This should be fixed now in -current.

> without patch: "sysctl dev.cpu"
> --------------------------------------------------------------------
> dev.cpu.0.%desc: ACPI CPU (3 Cx states)
> dev.cpu.0.%driver: cpu
> dev.cpu.0.%location: handle=\_PR_.CPU_
> dev.cpu.0.%pnpinfo: _HID=none _UID=0
> dev.cpu.0.%parent: acpi0
> dev.cpu.0.freq: 1700
> dev.cpu.0.freq_levels: 1700/24500 1487/21437 1400/19500 1275/18375
> 1225/17062 12 00/16000 1062/15312 1000/13000 900/12000 875/12187
> 850/12250 800/9500 750/10000 700/9750 637/9187 600/6000 525/7312
> 500/6500 450/6000 425/6125 400/4750 375/4875  350/4875 300/4000 250/3250
> 212/3062 175/2437 150/2000 125/1625 100/1187 75/750
> --------------------------------------------------------------------
> 
> 3. Since always my CPU gets different numbers of Cx states, if connected
> to power during boot or  not. 3 states with power 4 without. The number
> of the states doesn't change, if I plug or unplug the power connection.

That is a function of the BIOS.  It decides what states you get at 
various times.  The acpi_perf driver should successfully adjust when 
things change at runtime.  The other drivers have no way of knowing.

> 4. One question. Under Windows my battery should reach about 4.7 hrs
> under FBSD i reached about 3 hrs with est. Will your new patches change
> the BSD values?

I don't know but things should be getting better.

-- 
Nate
Received on Thu Feb 24 2005 - 20:02:32 UTC

This archive was generated by hypermail 2.4.0 : Wed May 19 2021 - 11:38:29 UTC