Hi,

I wanted to use the new performance throttling system but I had to look
for what to change so if I can prevent others from doing it. Feel free
to modify the wording :)

Cheers,
Daniel

Index: sysctl.8
===================================================================
RCS file: /cvs/src/sbin/sysctl/sysctl.8,v
retrieving revision 1.184
diff -u -p -u -p -r1.184 sysctl.8
--- sysctl.8    27 Aug 2014 14:04:15 -0000      1.184
+++ sysctl.8    23 Oct 2014 16:48:57 -0000
@@ -358,6 +358,7 @@ and a few require a kernel compiled with
 .It hw.uuid Ta string Ta no
 .It hw.ncpufound Ta integer Ta no
 .It hw.allowpowerdown Ta integer Ta yes
+.It hw.perfpolicy Ta string Ta yes
 .It machdep.console_device Ta dev_t Ta no
 .It machdep.unaligned_print Ta integer Ta yes
 .It machdep.unaligned_fix Ta integer Ta yes


Index: faq/current.html
===================================================================
RCS file: /cvs/www/faq/current.html,v
retrieving revision 1.562
diff -u -p -u -p -r1.562 current.html
--- faq/current.html    19 Oct 2014 13:21:42 -0000      1.562
+++ faq/current.html    23 Oct 2014 17:00:56 -0000
@@ -77,6 +77,7 @@
 <li><a href="#20140919">2014/09/19 - rc.conf(8) moved to the base set</a>
 <li><a href="#20140925">2014/09/25 - [ports] collectd updated to 5.4.1</a>
 <li><a href="#20141013">2014/10/13 - lkm removed</a>
+<li><a href="#20141023">2014/10/23 - Performance throttling in the kernel</a>
 </ul>
 
 <hr>
@@ -914,6 +915,19 @@ and the lkm directory should be deleted:
        rm -f /usr/share/man/man4/lkm.4
        rm -f /usr/share/mk/bsd.lkm.mk /usr/include/sys/lkm.h
 </pre>
+
+<a name="20141023"></a>
+<h3>2014/10/23 - Performance throttling in the kernel</h3>
+Perfomance throttling is now available from the kernel. It replaces
+apmd's -C flag which has been removed. If you used this flag, remove it
+from your /etc/rc.conf.local.
+To use the new performance throttling system, set the sysctl
+hw.perfpolicy to "auto" with:
+<pre>
+        sysctl hw.perfpolicy=auto
+</pre>
+Remember to edit your /etc/sysctl.conf if you want to keep it after
+your next reboot.
 
 <br>
 <hr>

Reply via email to