Skip to content

Commit f442b69

Browse files
author
docs-bot
committed
docs: update from source@4c32194
1 parent ad0e137 commit f442b69

3 files changed

Lines changed: 10 additions & 3 deletions

File tree

‎docs/kernel-configuration.html‎

Lines changed: 8 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -127,11 +127,13 @@ <h3 id="step-1-mandatory-configuration">Step 1: Mandatory configuration <a class
127127
<span class="nv">CONFIG_CGROUP_FREEZER</span><span class="o">=</span>y
128128
<span class="nv">CONFIG_CGROUP_NET_PRIO</span><span class="o">=</span>y
129129

130-
<span class="c"># Resource limits: --memory, --cpus, --pids-limit, in that order.</span>
130+
<span class="c"># Resource limits: --memory, --cpus, --pids-limit, in that order, then the</span>
131+
<span class="c"># accounting that reports CPU usage on kernels before 4.15.</span>
131132
<span class="c"># Optional: a limit whose option is missing is skipped with a warning</span>
132133
<span class="nv">CONFIG_MEMCG</span><span class="o">=</span>y
133134
<span class="nv">CONFIG_CFS_BANDWIDTH</span><span class="o">=</span>y
134135
<span class="nv">CONFIG_CGROUP_PIDS</span><span class="o">=</span>y
136+
<span class="nv">CONFIG_CGROUP_CPUACCT</span><span class="o">=</span>y
135137

136138
<span class="c"># Device filesystem support</span>
137139
<span class="nv">CONFIG_DEVTMPFS</span><span class="o">=</span>y
@@ -454,6 +456,11 @@ <h3 id="3-what-to-do-if-something-is-missing">3. What to do if something is miss
454456
<td><code>CONFIG_CGROUP_PIDS=y</code></td>
455457
<td><code>--pids-limit</code> is skipped.</td>
456458
</tr>
459+
<tr>
460+
<td>CPU usage accounting</td>
461+
<td><code>CONFIG_CGROUP_CPUACCT=y</code> (kernels before 4.15)</td>
462+
<td><code>info</code> shows no CPU usage, and a CPU-limited container sees the host's figures in <code>/proc/stat</code>.</td>
463+
</tr>
457464
</tbody>
458465
</table></div>
459466
<hr />

‎docs/search.json‎

Lines changed: 1 addition & 1 deletion
Large diffs are not rendered by default.

‎index.html‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -127,7 +127,7 @@ <h1>A homelab that keeps running when the power cuts.</h1>
127127
<a href="/downloads.html" class="button button-filled"><span class="icon" aria-hidden="true">download</span>Download</a>
128128
<a href="/docs/" class="button button-outlined"><span class="icon" aria-hidden="true">menu_book</span>Documentation</a>
129129
</div>
130-
<p class="body-md">Release <span data-version>v6.6.0</span>, GPLv3. <span data-stars>2,270</span> stars and <span data-contributors>89</span> contributors <a href="https://github.com/ravindu644/Droidspaces-OSS" rel="noopener noreferrer">on GitHub</a>.</p>
130+
<p class="body-md">Release <span data-version>v6.6.0</span>, GPLv3. <span data-stars>2,271</span> stars and <span data-contributors>89</span> contributors <a href="https://github.com/ravindu644/Droidspaces-OSS" rel="noopener noreferrer">on GitHub</a>.</p>
131131
</div>
132132
<div class="stage">
133133
<div class="shape arrive" style="--shape: url(/assets/shapes/cookie-12.svg)"></div>

0 commit comments

Comments
 (0)