[ltp] X60s USB Bus unbind for more C states..

Martin Lorenz linux-thinkpad@linux-thinkpad.org
Mon, 18 Sep 2006 14:00:11 +0200


On Mon, Sep 18, 2006 at 12:15:10PM +0200, Florian Reitmeir wrote:
> > on my X60s I geht this results from
> > cat /proc/acpi/processor/CPU1/power
> > active state:            C3
> > max_cstate:              C8
> > bus master activity:     00000000
> > states:
> >     C1:                  type[C1] promotion[C2] demotion[--] latency[000]
> > usage[00000010] duration[00000000000000000000]
> >     C2:                  type[C2] promotion[C3] demotion[C1] latency[001]
> > usage[05715068] duration[00000000006254273748]
> >    *C3:                  type[C3] promotion[--] demotion[C2] latency[017]
> > usage[439660090] duration[00000000723258429365]
> > 
> > does not look very nice to me. What do I do wrong?
> > what to configure to get lower than C3?
> 
> my guess is, its because of the multicore cpu
> 
> a thing which forces the cpu to use C3 more .. is to load the "processor"
> module with the parameter bm_history=0x0000000F
> 
> 
> but there is something fishy.. 
> normally the battery rate is about "11000 mWh" on my laptop
> 
> - when i go to 
> /sys/devices/system/cpu/cpu1 
> - do a 
> echo 0 >online
> echo 1 >online
> 
> the rate gets down to "8955 mWh" (X running, HD spin up, USB online,
> bluetooth online)
> 
> is there some how can confirm this?

confirmed

strange 

# acpitool -B
  Battery #1     : present
    Remaining capacity : 28130 mWh, 99.08%, 02:09:01
    Design capacity    : 28800 mWh
    Last full capacity : 28390 mWh, 98.58% of design capacity
    Capacity loss      : 1.424%
    Present rate       : 13082 mW
    Charging state     : discharging
    Battery type       : rechargeable, LION
    Model number       : 92P1163
    Serial number      :  2046
root@gimli:/sys/devices/system/cpu/cpu1# echo 0 >online
root@gimli:/sys/devices/system/cpu/cpu1# echo 1 >online
root@gimli:/sys/devices/system/cpu/cpu1# acpitool -B
  Battery #1     : present
    Remaining capacity : 28100 mWh, 98.98%, 02:21:36
    Design capacity    : 28800 mWh
    Last full capacity : 28390 mWh, 98.58% of design capacity
    Capacity loss      : 1.424%
    Present rate       : 11906 mW
    Charging state     : discharging
    Battery type       : rechargeable, LION
    Model number       : 92P1163
    Serial number      :  2046


gruss
  mlo
--
Dipl.-Ing. Martin Lorenz

            They that can give up essential liberty 
	    to obtain a little temporary safety 
	    deserve neither liberty nor safety.
                                   Benjamin Franklin

please encrypt your mail to me
GnuPG key-ID: F1AAD37D
get it here:
http://blackhole.pca.dfn.de:11371/pks/lookup?op=get&search=0xF1AAD37D

ICQ UIN: 33588107