mirror of
https://github.com/Zeckmathederg/glfs.git
synced 2025-01-27 09:42:12 +08:00
b6d544942b
We were saying "-jN means using N cores (or N threads)". This is completely wrong. "-jN" only tells the building system to run N jobs simultaneously, but each job can start their own subprocesses or threads and there is no way for the building system to know how many subprocesses or threads a job will start. This caused a lot of misunderstandings and encouraged users to wrongly blame building systems. Fix the description of -jN, and add how to use cgroup to control the usage of CPU cores and system RAM. On a systemd-based system, systemd is the cgroup manager and manually operating on cgroups may puzzle systemd. So use systemd-run for creating and setting up cgroup. On a sysv-based system create and set up the cgroup manually.
10 lines
651 B
XML
10 lines
651 B
XML
<?xml version="1.0" encoding="ISO-8859-1"?>
|
|
<!DOCTYPE note PUBLIC "-//OASIS//DTD DocBook XML V4.5//EN"
|
|
"http://www.oasis-open.org/docbook/xml/4.5/docbookx.dtd">
|
|
<!-- Automatically generated by kernel-config.py
|
|
DO NOT EDIT! -->
|
|
<screen><emphasis role='blue'>G</emphasis>eneral setup --->
|
|
[*] <emphasis role='blue'>C</emphasis>ontrol Group support ---> [CGROUPS]
|
|
[*] M<emphasis role='blue'>e</emphasis>mory controller [MEMCG]
|
|
[*] <emphasis role='blue'>C</emphasis>puset controller [CPUSETS]</screen>
|