Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 9 Apr 2014 11:22:18 -0700
From:      hiren panchasara <hiren.panchasara@gmail.com>
To:        Anton Sayetsky <vsjcfm@gmail.com>
Cc:        freebsd-acpi@freebsd.org
Subject:   Re: C-States configuration
Message-ID:  <CALCpEUGShjBoZ850L9KGJou4s_Onj_-oduh7Ttc4itqCB518OA@mail.gmail.com>
In-Reply-To: <CAFG2KCLgXOWXsRQTXAOLgK%2BihdOU9Pp=jhX1thg_qHePUxii5g@mail.gmail.com>
References:  <CALCpEUGxSSFRNk8jj5Mm1vVz5zWa2=B58%2B=JEybAv3rvzrZ%2BMQ@mail.gmail.com> <CAFG2KCLgXOWXsRQTXAOLgK%2BihdOU9Pp=jhX1thg_qHePUxii5g@mail.gmail.com>

next in thread | previous in thread | raw e-mail | index | archive | help
On Wed, Apr 9, 2014 at 11:07 AM, Anton Sayetsky <vsjcfm@gmail.com> wrote:
> 2014-04-09 20:40 GMT+03:00 hiren panchasara <hiren.panchasara@gmail.com>:
>> I am running -current on my T420 at r263906M
>>
>> debug.acpi.acpi_ca_version: 20130823
>>
>> o/p of sysctl -a | grep acpi - http://bpaste.net/show/199806/
>>
>>  and I have following in my rc.conf:
>>
>> performance_cx_lowest="Cmax"
>> economy_cx_lowest="Cmax"
>>
>> But I still get:
>>
>> % sysctl -a | grep cx_lowest
>> hw.acpi.cpu.cx_lowest: C1
>> dev.cpu.0.cx_lowest: C1
>> dev.cpu.1.cx_lowest: C1
>> dev.cpu.2.cx_lowest: C1
>> dev.cpu.3.cx_lowest: C1
>>
>> And I can do:
>> # sysctl dev.cpu.0.cx_lowest=Cmax
>> dev.cpu.0.cx_lowest: C1 -> C8
>>
>> that tells me that Cmax is C8.
>>
>> % sysctl -d dev.cpu.0.cx_lowest
>> dev.cpu.0.cx_lowest: lowest Cx sleep state to use
>>
>> I was expecting cx_lowest to be set to C8 because of rc.conf config I have.
>>
>> What am I missing here?
>>
>> cheers,
>> Hiren
> Try to set LOW instead of Cmax.

I will try it again.

Interestingly enough, on an amd machine, it worked as I expected with
a bit more current version of -head but same version of acpica:
debug.acpi.acpi_ca_version: 20130823

cpus came up with cx_lowest set to C8 with Cmax in rc.conf

cheers,
Hiren



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