<?xml version="1.0" encoding="utf-8"?>
<rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom"><channel><title>Recent changes to Home</title><link>https://sourceforge.net/p/powerlimit/wiki/Home/</link><description>Recent changes to Home</description><atom:link href="https://sourceforge.net/p/powerlimit/wiki/Home/feed" rel="self"/><language>en</language><lastBuildDate>Fri, 05 Mar 2021 14:27:48 -0000</lastBuildDate><atom:link href="https://sourceforge.net/p/powerlimit/wiki/Home/feed" rel="self" type="application/rss+xml"/><item><title>Home modified by Michael</title><link>https://sourceforge.net/p/powerlimit/wiki/Home/</link><description>&lt;div class="markdown_content"&gt;&lt;pre&gt;--- v7
+++ v8
@@ -1,12 +1,12 @@
 Welcome to Powerlimit!
 ===================
-Follows these instructions to get Powerlimit working.
+Follow these instructions to get Powerlimit working.

 Prerequisites
 ----------------
 Powerlimit uses the kernel module msr. So make sure that this module get loaded.

-You can load it once with:
+You can load the module once with:

 `$ modprobe msr`

&lt;/pre&gt;
&lt;/div&gt;</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">Michael</dc:creator><pubDate>Fri, 05 Mar 2021 14:27:48 -0000</pubDate><guid>https://sourceforge.netebfe1044a7e8b53f8c7e73849a48b53f4a396223</guid></item><item><title>Home modified by Michael</title><link>https://sourceforge.net/p/powerlimit/wiki/Home/</link><description>&lt;div class="markdown_content"&gt;&lt;pre&gt;--- v6
+++ v7
@@ -8,29 +8,24 @@

 You can load it once with:

-~~~
-$ modprobe msr
-~~~
-Or add &lt;code&gt;msr&lt;/code&gt; to file &lt;code&gt;/etc/modules&lt;/code&gt; or add a file with it to &lt;code&gt;/etc/modules-load.d&lt;/code&gt;.
+`$ modprobe msr`
+
+Or add `msr` to file `/etc/modules` or add a file with it to `/etc/modules-load.d`.

 How to compile
 -------------------
 Download the single source file powerlimit.c and compile it with:

-~~~
-$ gcc -static powerlimit.c -lm -s -o powerlimit
-~~~
+`$ gcc -static powerlimit.c -lm -s -o powerlimit`

-This will produce a statically linked executable. If you prefer a dynamically linked executable, simply omit the &lt;code&gt;-static&lt;/code&gt; parameter.
+This will produce a statically linked executable. If you prefer a dynamically linked executable, simply omit the `-static` parameter.

 Execute Powerlimit
 ------------------------

 To a description of all option of Powerlimit, execute:

-~~~
-$ ./powerlimit help
-~~~
+`$ ./powerlimit help`

 This command will produce the following output:

@@ -70,14 +65,26 @@

 For example to enable all power limits with clamping, you can execute:

-~~~
-$ ./powerlimit pkg=E,,,E,E,,,E,
-~~~
+`$ ./powerlimit pkg=E,,,E,E,,,E,`
+

 Starting Powerlimit as a systemd service
 --------------------------------------------------
-To start as a service create a file &lt;code&gt;/etc/systemd/system/powerlimit.service&lt;/code&gt; with the following content:
+To start as a service create a file `/etc/systemd/system/powerlimit.service` with the following content:
+
+~~~
+[Unit]
+Description=Powerlimit Service
+After=sleep.target suspend.target hibernate.target getty.target
+Requires=systemd-modules-load.target
+[Service]
+ExecStart=/path/to/powerlimit options...
+[Install]
+WantedBy=multi-user.target
+WantedBy=sleep.target

+~~~
+  
  Finally enable the service with: 
 `$ systemctl enable powerlimit.service`

&lt;/pre&gt;
&lt;/div&gt;</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">Michael</dc:creator><pubDate>Fri, 05 Mar 2021 14:16:37 -0000</pubDate><guid>https://sourceforge.net9f60cd635ae9df3bba396da929fcbe539abd3cc8</guid></item><item><title>Home modified by Michael</title><link>https://sourceforge.net/p/powerlimit/wiki/Home/</link><description>&lt;div class="markdown_content"&gt;&lt;pre&gt;--- v5
+++ v6
@@ -78,23 +78,9 @@
 --------------------------------------------------
 To start as a service create a file &lt;code&gt;/etc/systemd/system/powerlimit.service&lt;/code&gt; with the following content:

- ~~~
-Unit
-Description=Powerlimit Service
-After=sleep.target suspend.target hibernate.target getty.target
-Requires=systemd-modules-load.target
-Service
- ExecStart=/path/to/powerlimit options...
-Install
- WantedBy=multi-user.target
- WantedBy=sleep.target
- ~~~
- 
- Finally enable the service with:
- 
- ~~~
- $ systemctl enable powerlimit.service
-~~~
+ Finally enable the service with: 
+`$ systemctl enable powerlimit.service`
+

 [[members limit=20]]
 [[download_button]]
&lt;/pre&gt;
&lt;/div&gt;</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">Michael</dc:creator><pubDate>Fri, 05 Mar 2021 14:12:17 -0000</pubDate><guid>https://sourceforge.net1256a52e834ffaa0ab9157568cfc0ebff8a50c41</guid></item><item><title>Home modified by Michael</title><link>https://sourceforge.net/p/powerlimit/wiki/Home/</link><description>&lt;div class="markdown_content"&gt;&lt;pre&gt;--- v4
+++ v5
@@ -79,13 +79,13 @@
 To start as a service create a file &lt;code&gt;/etc/systemd/system/powerlimit.service&lt;/code&gt; with the following content:

  ~~~
-[Unit]
+Unit
 Description=Powerlimit Service
 After=sleep.target suspend.target hibernate.target getty.target
 Requires=systemd-modules-load.target
-[Service]
+Service
  ExecStart=/path/to/powerlimit options...
- [Install]
+Install
  WantedBy=multi-user.target
  WantedBy=sleep.target
  ~~~
&lt;/pre&gt;
&lt;/div&gt;</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">Michael</dc:creator><pubDate>Fri, 05 Mar 2021 14:08:37 -0000</pubDate><guid>https://sourceforge.netcda99a28ae3c0984431e76141eb5b39d9318de3c</guid></item><item><title>Home modified by Michael</title><link>https://sourceforge.net/p/powerlimit/wiki/Home/</link><description>&lt;div class="markdown_content"&gt;&lt;pre&gt;&lt;/pre&gt;
&lt;/div&gt;</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">Michael</dc:creator><pubDate>Fri, 05 Mar 2021 14:06:42 -0000</pubDate><guid>https://sourceforge.net0c68da4fee859bdfcefd5f1cfac7eb8e575bcf86</guid></item><item><title>Home modified by Michael</title><link>https://sourceforge.net/p/powerlimit/wiki/Home/</link><description>&lt;div class="markdown_content"&gt;&lt;pre&gt;--- v2
+++ v3
@@ -2,15 +2,99 @@
 ===================
 Follows these instructions to get Powerlimit working.

+Prerequisites
+----------------
+Powerlimit uses the kernel module msr. So make sure that this module get loaded.
+
+You can load it once with:
+
+~~~
+$ modprobe msr
+~~~
+Or add &lt;code&gt;msr&lt;/code&gt; to file &lt;code&gt;/etc/modules&lt;/code&gt; or add a file with it to &lt;code&gt;/etc/modules-load.d&lt;/code&gt;.
+
 How to compile
 -------------------
-Download the single sopurce file powerlimit.c and compile it with:
+Download the single source file powerlimit.c and compile it with:

-:::bash
+~~~
 $ gcc -static powerlimit.c -lm -s -o powerlimit
+~~~

+This will produce a statically linked executable. If you prefer a dynamically linked executable, simply omit the &lt;code&gt;-static&lt;/code&gt; parameter.

+Execute Powerlimit
+------------------------

+To a description of all option of Powerlimit, execute:
+
+~~~
+$ ./powerlimit help
+~~~
+
+This command will produce the following output:
+
+~~~
+Usage: powerlimit info | [option=value]...
+The following options are available:
+
+  pkg=[E|D],[WATT#],[SECONDS#],[E|D],[E|D],[WATT#],[SECONDS#],[E|D],[L|U]
+    Set Package Power Limit #1 (Long Term) and #2 (Short Term):
+    E|D       Enabled/Disablede Power Limit #1
+    WATT#     Package Power Limit #1 (Watts)
+    SECONDS#  Time Window for Power Limit #1 (Seconds)
+    E|D       Enabled/Disablede Package Clamping Limitation #1
+    E|D       Enabled/Disablede Power Limit #2
+    WATT#     Package Power Limit #2 (Watts)
+    SECONDS#  Time Window for Power Limit #2 (Seconds)
+    E|D       Enabled/Disablede Package Clamping Limitation #2
+    L|U       Lock/Unlock Package Power Limits
+
+  pp0=[E|D],[WATT#],[SECONDS#],[E|D],[L|U]
+    Set PP0 (Cores) Power Limit
+
+  pp1=[E|D],[WATT#],[SECONDS#],[E|D],[L|U]
+    Set PP1 (Graphics) Power Limit
+
+  dram=[E|D],[WATT#],[SECONDS#],[E|D],[L|U]
+    Set DRAM Power Limit
+
+  volt=[CORE#],[GPU#],[CACHE#],[UNCORE#],[ANALOG_IO#],[DIGITAL_IO]
+    Set Voltage Offsets (Millivolts)
+
+  temp=TEMP_OFFSET#
+    Set Temperature Target Offset (Kelvins)
+~~~
+
+All other option except help require you to run Powerlimit as root.
+
+For example to enable all power limits with clamping, you can execute:
+
+~~~
+$ ./powerlimit pkg=E,,,E,E,,,E,
+~~~
+
+Starting Powerlimit as a systemd service
+--------------------------------------------------
+To start as a service create a file &lt;code&gt;/etc/systemd/system/powerlimit.service&lt;/code&gt; with the following content:
+ 
+ ~~~
+[Unit]
+Description=Powerlimit Service
+After=sleep.target suspend.target hibernate.target getty.target
+Requires=systemd-modules-load.target
+[Service]
+ ExecStart=/path/to/powerlimit options...
+ [Install]
+ WantedBy=multi-user.target
+ WantedBy=sleep.target
+ ~~~
+ 
+ Finally enable the service with:
+ 
+ ~~~
+ $ systemctl enable powerlimit.service
+~~~

 [[members limit=20]]
 [[download_button]]
&lt;/pre&gt;
&lt;/div&gt;</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">Michael</dc:creator><pubDate>Fri, 05 Mar 2021 14:06:12 -0000</pubDate><guid>https://sourceforge.net2a5b17fbdacee8163c703ccaef3ec4409a8e1700</guid></item><item><title>Home modified by Michael</title><link>https://sourceforge.net/p/powerlimit/wiki/Home/</link><description>&lt;div class="markdown_content"&gt;&lt;pre&gt;--- v1
+++ v2
@@ -1,8 +1,16 @@
-Welcome to your wiki!
+Welcome to Powerlimit!
+===================
+Follows these instructions to get Powerlimit working.

-This is the default page, edit it as you see fit. To add a new page simply reference it within brackets, e.g.: [SamplePage].
+How to compile
+-------------------
+Download the single sopurce file powerlimit.c and compile it with:

-The wiki uses [Markdown](/p/powerlimit/wiki/markdown_syntax/) syntax.
+:::bash
+$ gcc -static powerlimit.c -lm -s -o powerlimit
+
+
+

 [[members limit=20]]
 [[download_button]]
&lt;/pre&gt;
&lt;/div&gt;</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">Michael</dc:creator><pubDate>Fri, 05 Mar 2021 13:48:49 -0000</pubDate><guid>https://sourceforge.net7b5b88987ffbaa0016c5af8ad29b70735166c998</guid></item><item><title>Home modified by Michael</title><link>https://sourceforge.net/p/powerlimit/wiki/Home/</link><description>&lt;div class="markdown_content"&gt;&lt;p&gt;Welcome to your wiki!&lt;/p&gt;
&lt;p&gt;This is the default page, edit it as you see fit. To add a new page simply reference it within brackets, e.g.: &lt;span&gt;[SamplePage]&lt;/span&gt;.&lt;/p&gt;
&lt;p&gt;The wiki uses &lt;a class="" href="/p/powerlimit/wiki/markdown_syntax/"&gt;Markdown&lt;/a&gt; syntax.&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;&lt;h6&gt;Project Members:&lt;/h6&gt;
	&lt;ul class="md-users-list"&gt;
		&lt;li&gt;&lt;a href="/u/net-sf-michael/"&gt;Michael&lt;/a&gt; (admin)&lt;/li&gt;
		
	&lt;/ul&gt;&lt;br/&gt;
&lt;p&gt;&lt;span class="download-button-5f059925b9a6894fe01bb72f" style="margin-bottom: 1em; display: block;"&gt;&lt;/span&gt;&lt;/p&gt;&lt;p&gt;&lt;/p&gt;&lt;/div&gt;</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">Michael</dc:creator><pubDate>Fri, 05 Mar 2021 13:44:23 -0000</pubDate><guid>https://sourceforge.netefd16361db1c4899216ae2fb0a27373108f21ce5</guid></item></channel></rss>