From owner-freebsd-acpi@FreeBSD.ORG Wed Apr 9 18:22:20 2014 Return-Path: Delivered-To: freebsd-acpi@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [8.8.178.115]) (using TLSv1 with cipher ADH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTPS id A3560FD2 for ; Wed, 9 Apr 2014 18:22:20 +0000 (UTC) Received: from mail-ee0-x22a.google.com (mail-ee0-x22a.google.com [IPv6:2a00:1450:4013:c00::22a]) (using TLSv1 with cipher ECDHE-RSA-RC4-SHA (128/128 bits)) (Client CN "smtp.gmail.com", Issuer "Google Internet Authority G2" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 3C5B41C69 for ; Wed, 9 Apr 2014 18:22:20 +0000 (UTC) Received: by mail-ee0-f42.google.com with SMTP id d17so2196681eek.29 for ; Wed, 09 Apr 2014 11:22:18 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :cc:content-type; bh=caTNs38Jihi4GvHZNGcfki7c1IEERFWPSBXHYpW4JDw=; b=ot30eI1k1xhwyk0G7uPI7xzVbG0F908EMpPEOVsNyx3KkYdIC1MiRQjNNMn3HRSv77 VUiwXsLkzVgzYvbI7+rmBOaVjfdqV9xLxy0t1NzBip0KzN+IPd4JEppwl4N+gDvIb9OZ XO77+ep9nwFCSc/T7t8UH0DtzlNe5nmUuLiJenbN8TBe2Q+nnxHsY5RTybPBkQybyrzn m2DECnDBlv4xIRYjdhxacgYA9QZVJIXeV3BpwFrnsHNeY5FAnIau2JO8nIvavI1vx4DL TQIahRiA4sUn32oyw1Akajrt9ZiY/T0lGggUcyiYOyvHlYvK5b3F7GAc4tKZYJ3vrtaf NhRw== MIME-Version: 1.0 X-Received: by 10.15.53.135 with SMTP id r7mr354169eew.102.1397067738332; Wed, 09 Apr 2014 11:22:18 -0700 (PDT) Received: by 10.14.213.194 with HTTP; Wed, 9 Apr 2014 11:22:18 -0700 (PDT) In-Reply-To: References: Date: Wed, 9 Apr 2014 11:22:18 -0700 Message-ID: Subject: Re: C-States configuration From: hiren panchasara To: Anton Sayetsky Content-Type: text/plain; charset=UTF-8 Cc: freebsd-acpi@freebsd.org X-BeenThere: freebsd-acpi@freebsd.org X-Mailman-Version: 2.1.17 Precedence: list List-Id: ACPI and power management development List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 09 Apr 2014 18:22:20 -0000 On Wed, Apr 9, 2014 at 11:07 AM, Anton Sayetsky wrote: > 2014-04-09 20:40 GMT+03:00 hiren panchasara : >> 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