Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 5 Apr 2012 01:46:27 -0700
From:      =?windows-1251?B?y/7h7uzo8CDD8Ojj7vDu4g==?= <nm.knife@gmail.com>
To:        freebsd-stable@freebsd.org
Subject:   lowest C-state changes
Message-ID:  <CAHi1Jscju7t1PdZa7yjY6kKK0tAuqwc8GUidO3e8o=P__BybQA@mail.gmail.com>

next in thread | raw e-mail | index | archive | help
Hello all, I am using FreeBSD 9.0-STABLE with Konstantin's patch from March
22nd. Everything else is stock. However, after heavy load, or compiling,
C-states go to C1 as lowest. I think once they pass the threshold, they
don't go back.

ThinkPad X220
i5 2520M with integrated Intel video

In /etc/sysctl.conf
dev.cpu.0.cx_lowest=C3
dev.cpu.1.cx_lowest=C3
dev.cpu.2.cx_lowest=C3
dev.cpu.0.cx_lowest=C3

In /etc/rc.conf
powerd_enable="YES"
powerd_flags="-a hiadaptive -b adaptive -i 85 -r 60 -p 100"

However, once the  cores go to C1, they stay there forever, unless I
manually set them all back.

Any idea on this?

-- 
Lyubomir Grigorov (bgalakazam)



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