Debian Codegraph @

templates/man7/cpuset.7.pot

raw
1 # SOME DESCRIPTIVE TITLE
2 # Copyright (C) YEAR Free Software Foundation, Inc.
3 # This file is distributed under the same license as the PACKAGE package.
4 # FIRST AUTHOR <EMAIL@ADDRESS>, YEAR.
5 #
6 #, fuzzy
7 msgid ""
8 msgstr ""
9 "Project-Id-Version: PACKAGE VERSION\n"
10 "POT-Creation-Date: 2026-06-05 06:21+0200\n"
11 "PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n"
12 "Last-Translator: FULL NAME <EMAIL@ADDRESS>\n"
13 "Language-Team: LANGUAGE <[email protected]>\n"
14 "Language: \n"
15 "MIME-Version: 1.0\n"
16 "Content-Type: text/plain; charset=UTF-8\n"
17 "Content-Transfer-Encoding: 8bit\n"
18
19 #. type: TH
20 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
21 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
22 #, no-wrap
23 msgid "cpuset"
24 msgstr ""
25
26 #. type: TH
27 #: archlinux debian-unstable mageia-cauldron opensuse-leap-16-1
28 #: opensuse-tumbleweed
29 #, no-wrap
30 msgid "2026-02-08"
31 msgstr ""
32
33 #. type: TH
34 #: archlinux debian-unstable
35 #, no-wrap
36 msgid "Linux man-pages 6.18"
37 msgstr ""
38
39 #. type: SH
40 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
41 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
42 #, no-wrap
43 msgid "NAME"
44 msgstr ""
45
46 #. type: Plain text
47 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
48 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
49 msgid "cpuset - confine processes to processor and memory node subsets"
50 msgstr ""
51
52 #. type: SH
53 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
54 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
55 #, no-wrap
56 msgid "DESCRIPTION"
57 msgstr ""
58
59 #. type: Plain text
60 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
61 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
62 msgid ""
63 "The cpuset filesystem is a pseudo-filesystem interface to the kernel cpuset "
64 "mechanism, which is used to control the processor placement and memory "
65 "placement of processes. It is commonly mounted at I</dev/cpuset>."
66 msgstr ""
67
68 #. type: Plain text
69 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
70 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
71 msgid ""
72 "On systems with kernels compiled with built in support for cpusets, all "
73 "processes are attached to a cpuset, and cpusets are always present. If a "
74 "system supports cpusets, then it will have the entry B<nodev cpuset> in the "
75 "file I</proc/filesystems>. By mounting the cpuset filesystem (see the "
76 "B<EXAMPLES> section below), the administrator can configure the cpusets on a "
77 "system to control the processor and memory placement of processes on that "
78 "system. By default, if the cpuset configuration on a system is not modified "
79 "or if the cpuset filesystem is not even mounted, then the cpuset mechanism, "
80 "though present, has no effect on the system's behavior."
81 msgstr ""
82
83 #. type: Plain text
84 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
85 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
86 msgid "A cpuset defines a list of CPUs and memory nodes."
87 msgstr ""
88
89 #. type: Plain text
90 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
91 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
92 msgid ""
93 "The CPUs of a system include all the logical processing units on which a "
94 "process can execute, including, if present, multiple processor cores within "
95 "a package and Hyper-Threads within a processor core. Memory nodes include "
96 "all distinct banks of main memory; small and SMP systems typically have just "
97 "one memory node that contains all the system's main memory, while NUMA (non-"
98 "uniform memory access) systems have multiple memory nodes."
99 msgstr ""
100
101 #. type: Plain text
102 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
103 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
104 msgid ""
105 "Cpusets are represented as directories in a hierarchical pseudo-filesystem, "
106 "where the top directory in the hierarchy (I</dev/cpuset>) represents the "
107 "entire system (all online CPUs and memory nodes) and any cpuset that is the "
108 "child (descendant) of another parent cpuset contains a subset of that "
109 "parent's CPUs and memory nodes. The directories and files representing "
110 "cpusets have normal filesystem permissions."
111 msgstr ""
112
113 #. type: Plain text
114 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
115 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
116 msgid ""
117 "Every process in the system belongs to exactly one cpuset. A process is "
118 "confined to run only on the CPUs in the cpuset it belongs to, and to "
119 "allocate memory only on the memory nodes in that cpuset. When a process "
120 "B<fork>(2)s, the child process is placed in the same cpuset as its parent. "
121 "With sufficient privilege, a process may be moved from one cpuset to another "
122 "and the allowed CPUs and memory nodes of an existing cpuset may be changed."
123 msgstr ""
124
125 #. type: Plain text
126 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
127 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
128 msgid ""
129 "When the system begins booting, a single cpuset is defined that includes all "
130 "CPUs and memory nodes on the system, and all processes are in that cpuset. "
131 "During the boot process, or later during normal system operation, other "
132 "cpusets may be created, as subdirectories of this top cpuset, under the "
133 "control of the system administrator, and processes may be placed in these "
134 "other cpusets."
135 msgstr ""
136
137 #. type: Plain text
138 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
139 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
140 msgid ""
141 "Cpusets are integrated with the B<sched_setaffinity>(2) scheduling affinity "
142 "mechanism and the B<mbind>(2) and B<set_mempolicy>(2) memory-placement "
143 "mechanisms in the kernel. Neither of these mechanisms let a process make "
144 "use of a CPU or memory node that is not allowed by that process's cpuset. "
145 "If changes to a process's cpuset placement conflict with these other "
146 "mechanisms, then cpuset placement is enforced even if it means overriding "
147 "these other mechanisms. The kernel accomplishes this overriding by silently "
148 "restricting the CPUs and memory nodes requested by these other mechanisms to "
149 "those allowed by the invoking process's cpuset. This can result in these "
150 "other calls returning an error, if for example, such a call ends up "
151 "requesting an empty set of CPUs or memory nodes, after that request is "
152 "restricted to the invoking process's cpuset."
153 msgstr ""
154
155 #. type: Plain text
156 #: archlinux debian-unstable mageia-cauldron opensuse-leap-16-1
157 #: opensuse-tumbleweed
158 msgid ""
159 "Typically, a cpuset is used to manage the CPU and memory-node confinement "
160 "for a set of cooperating processes, such as a batch scheduler job, and these "
161 "other mechanisms are used to manage the placement of individual processes or "
162 "memory regions within that set or job."
163 msgstr ""
164
165 #. type: SH
166 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
167 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
168 #, no-wrap
169 msgid "FILES"
170 msgstr ""
171
172 #. type: Plain text
173 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
174 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
175 msgid ""
176 "Each directory below I</dev/cpuset> represents a cpuset and contains a fixed "
177 "set of pseudo-files describing the state of that cpuset."
178 msgstr ""
179
180 #. type: Plain text
181 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
182 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
183 msgid ""
184 "New cpusets are created using the B<mkdir>(2) system call or the "
185 "B<mkdir>(1) command. The properties of a cpuset, such as its flags, "
186 "allowed CPUs and memory nodes, and attached processes, are queried and "
187 "modified by reading or writing to the appropriate file in that cpuset's "
188 "directory, as listed below."
189 msgstr ""
190
191 #. type: Plain text
192 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
193 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
194 msgid ""
195 "The pseudo-files in each cpuset directory are automatically created when the "
196 "cpuset is created, as a result of the B<mkdir>(2) invocation. It is not "
197 "possible to directly add or remove these pseudo-files."
198 msgstr ""
199
200 #. type: Plain text
201 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
202 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
203 msgid ""
204 "A cpuset directory that contains no child cpuset directories, and has no "
205 "attached processes, can be removed using B<rmdir>(2) or B<rmdir>(1). It is "
206 "not necessary, or possible, to remove the pseudo-files inside the directory "
207 "before removing it."
208 msgstr ""
209
210 #. type: Plain text
211 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
212 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
213 msgid ""
214 "The pseudo-files in each cpuset directory are small text files that may be "
215 "read and written using traditional shell utilities such as B<cat>(1), and "
216 "B<echo>(1), or from a program by using file I/O library functions or system "
217 "calls, such as B<open>(2), B<read>(2), B<write>(2), and B<close>(2)."
218 msgstr ""
219
220 #. ====================== tasks ======================
221 #. type: Plain text
222 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
223 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
224 msgid ""
225 "The pseudo-files in a cpuset directory represent internal kernel state and "
226 "do not have any persistent image on disk. Each of these per-cpuset files is "
227 "listed and described below."
228 msgstr ""
229
230 #. type: TP
231 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
232 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
233 #, no-wrap
234 msgid "I<tasks>"
235 msgstr ""
236
237 #. type: Plain text
238 #: archlinux debian-unstable mageia-cauldron opensuse-leap-16-1
239 #: opensuse-tumbleweed
240 msgid ""
241 "List of the process IDs (PIDs) of the processes in that cpuset. The list is "
242 "formatted as a series of ASCII decimal numbers, each followed by a newline. "
243 "A process may be added to a cpuset (automatically removing it from the "
244 "cpuset that previously contained it) by writing its PID to that cpuset's "
245 "I<tasks> file (with or without a trailing newline)."
246 msgstr ""
247
248 #. =================== notify_on_release ===================
249 #. type: Plain text
250 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
251 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
252 msgid ""
253 "B<Warning:> only one PID may be written to the I<tasks> file at a time. If "
254 "a string is written that contains more than one PID, only the first one will "
255 "be used."
256 msgstr ""
257
258 #. type: TP
259 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
260 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
261 #, no-wrap
262 msgid "I<notify_on_release>"
263 msgstr ""
264
265 #. #-#-#-#-# archlinux: cpuset.7.pot (PACKAGE VERSION) #-#-#-#-#
266 #. Sx
267 #. ====================== cpus ======================
268 #. type: Plain text
269 #. #-#-#-#-# debian-trixie: cpuset.7.pot (PACKAGE VERSION) #-#-#-#-#
270 #. ====================== cpus ======================
271 #. type: Plain text
272 #. #-#-#-#-# debian-unstable: cpuset.7.pot (PACKAGE VERSION) #-#-#-#-#
273 #. Sx
274 #. ====================== cpus ======================
275 #. type: Plain text
276 #. #-#-#-#-# fedora-44: cpuset.7.pot (PACKAGE VERSION) #-#-#-#-#
277 #. ====================== cpus ======================
278 #. type: Plain text
279 #. #-#-#-#-# fedora-rawhide: cpuset.7.pot (PACKAGE VERSION) #-#-#-#-#
280 #. ====================== cpus ======================
281 #. type: Plain text
282 #. #-#-#-#-# mageia-cauldron: cpuset.7.pot (PACKAGE VERSION) #-#-#-#-#
283 #. Sx
284 #. ====================== cpus ======================
285 #. type: Plain text
286 #. #-#-#-#-# opensuse-leap-16-1: cpuset.7.pot (PACKAGE VERSION) #-#-#-#-#
287 #. Sx
288 #. ====================== cpus ======================
289 #. type: Plain text
290 #. #-#-#-#-# opensuse-tumbleweed: cpuset.7.pot (PACKAGE VERSION) #-#-#-#-#
291 #. Sx
292 #. ====================== cpus ======================
293 #. type: Plain text
294 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
295 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
296 msgid ""
297 "Flag (0 or 1). If set (1), that cpuset will receive special handling after "
298 "it is released, that is, after all processes cease using it (i.e., terminate "
299 "or are moved to a different cpuset) and all child cpuset directories have "
300 "been removed. See the B<Notify On Release> section, below."
301 msgstr ""
302
303 #. type: TP
304 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
305 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
306 #, no-wrap
307 msgid "I<cpuset.cpus>"
308 msgstr ""
309
310 #. #-#-#-#-# archlinux: cpuset.7.pot (PACKAGE VERSION) #-#-#-#-#
311 #. Sx
312 #. type: Plain text
313 #. #-#-#-#-# debian-trixie: cpuset.7.pot (PACKAGE VERSION) #-#-#-#-#
314 #. type: Plain text
315 #. #-#-#-#-# debian-unstable: cpuset.7.pot (PACKAGE VERSION) #-#-#-#-#
316 #. Sx
317 #. type: Plain text
318 #. #-#-#-#-# fedora-44: cpuset.7.pot (PACKAGE VERSION) #-#-#-#-#
319 #. type: Plain text
320 #. #-#-#-#-# fedora-rawhide: cpuset.7.pot (PACKAGE VERSION) #-#-#-#-#
321 #. type: Plain text
322 #. #-#-#-#-# mageia-cauldron: cpuset.7.pot (PACKAGE VERSION) #-#-#-#-#
323 #. Sx
324 #. type: Plain text
325 #. #-#-#-#-# opensuse-leap-16-1: cpuset.7.pot (PACKAGE VERSION) #-#-#-#-#
326 #. Sx
327 #. type: Plain text
328 #. #-#-#-#-# opensuse-tumbleweed: cpuset.7.pot (PACKAGE VERSION) #-#-#-#-#
329 #. Sx
330 #. type: Plain text
331 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
332 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
333 msgid ""
334 "List of the physical numbers of the CPUs on which processes in that cpuset "
335 "are allowed to execute. See B<List Format> below for a description of the "
336 "format of I<cpus>."
337 msgstr ""
338
339 #. ==================== cpu_exclusive ====================
340 #. type: Plain text
341 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
342 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
343 msgid ""
344 "The CPUs allowed to a cpuset may be changed by writing a new list to its "
345 "I<cpus> file."
346 msgstr ""
347
348 #. type: TP
349 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
350 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
351 #, no-wrap
352 msgid "I<cpuset.cpu_exclusive>"
353 msgstr ""
354
355 #. type: Plain text
356 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
357 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
358 msgid ""
359 "Flag (0 or 1). If set (1), the cpuset has exclusive use of its CPUs (no "
360 "sibling or cousin cpuset may overlap CPUs). By default, this is off (0). "
361 "Newly created cpusets also initially default this to off (0)."
362 msgstr ""
363
364 #. ====================== mems ======================
365 #. type: Plain text
366 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
367 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
368 msgid ""
369 "Two cpusets are I<sibling> cpusets if they share the same parent cpuset in "
370 "the I</dev/cpuset> hierarchy. Two cpusets are I<cousin> cpusets if neither "
371 "is the ancestor of the other. Regardless of the I<cpu_exclusive> setting, "
372 "if one cpuset is the ancestor of another, and if both of these cpusets have "
373 "nonempty I<cpus>, then their I<cpus> must overlap, because the I<cpus> of "
374 "any cpuset are always a subset of the I<cpus> of its parent cpuset."
375 msgstr ""
376
377 #. type: TP
378 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
379 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
380 #, no-wrap
381 msgid "I<cpuset.mems>"
382 msgstr ""
383
384 #. #-#-#-#-# archlinux: cpuset.7.pot (PACKAGE VERSION) #-#-#-#-#
385 #. Sx
386 #. ==================== mem_exclusive ====================
387 #. type: Plain text
388 #. #-#-#-#-# debian-trixie: cpuset.7.pot (PACKAGE VERSION) #-#-#-#-#
389 #. ==================== mem_exclusive ====================
390 #. type: Plain text
391 #. #-#-#-#-# debian-unstable: cpuset.7.pot (PACKAGE VERSION) #-#-#-#-#
392 #. Sx
393 #. ==================== mem_exclusive ====================
394 #. type: Plain text
395 #. #-#-#-#-# fedora-44: cpuset.7.pot (PACKAGE VERSION) #-#-#-#-#
396 #. ==================== mem_exclusive ====================
397 #. type: Plain text
398 #. #-#-#-#-# fedora-rawhide: cpuset.7.pot (PACKAGE VERSION) #-#-#-#-#
399 #. ==================== mem_exclusive ====================
400 #. type: Plain text
401 #. #-#-#-#-# mageia-cauldron: cpuset.7.pot (PACKAGE VERSION) #-#-#-#-#
402 #. Sx
403 #. ==================== mem_exclusive ====================
404 #. type: Plain text
405 #. #-#-#-#-# opensuse-leap-16-1: cpuset.7.pot (PACKAGE VERSION) #-#-#-#-#
406 #. Sx
407 #. ==================== mem_exclusive ====================
408 #. type: Plain text
409 #. #-#-#-#-# opensuse-tumbleweed: cpuset.7.pot (PACKAGE VERSION) #-#-#-#-#
410 #. Sx
411 #. ==================== mem_exclusive ====================
412 #. type: Plain text
413 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
414 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
415 msgid ""
416 "List of memory nodes on which processes in this cpuset are allowed to "
417 "allocate memory. See B<List Format> below for a description of the format "
418 "of I<mems>."
419 msgstr ""
420
421 #. type: TP
422 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
423 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
424 #, no-wrap
425 msgid "I<cpuset.mem_exclusive>"
426 msgstr ""
427
428 #. #-#-#-#-# archlinux: cpuset.7.pot (PACKAGE VERSION) #-#-#-#-#
429 #. Sx
430 #. type: Plain text
431 #. #-#-#-#-# debian-trixie: cpuset.7.pot (PACKAGE VERSION) #-#-#-#-#
432 #. type: Plain text
433 #. #-#-#-#-# debian-unstable: cpuset.7.pot (PACKAGE VERSION) #-#-#-#-#
434 #. Sx
435 #. type: Plain text
436 #. #-#-#-#-# fedora-44: cpuset.7.pot (PACKAGE VERSION) #-#-#-#-#
437 #. type: Plain text
438 #. #-#-#-#-# fedora-rawhide: cpuset.7.pot (PACKAGE VERSION) #-#-#-#-#
439 #. type: Plain text
440 #. #-#-#-#-# mageia-cauldron: cpuset.7.pot (PACKAGE VERSION) #-#-#-#-#
441 #. Sx
442 #. type: Plain text
443 #. #-#-#-#-# opensuse-leap-16-1: cpuset.7.pot (PACKAGE VERSION) #-#-#-#-#
444 #. Sx
445 #. type: Plain text
446 #. #-#-#-#-# opensuse-tumbleweed: cpuset.7.pot (PACKAGE VERSION) #-#-#-#-#
447 #. Sx
448 #. type: Plain text
449 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
450 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
451 msgid ""
452 "Flag (0 or 1). If set (1), the cpuset has exclusive use of its memory nodes "
453 "(no sibling or cousin may overlap). Also if set (1), the cpuset is a "
454 "B<Hardwall> cpuset (see below). By default, this is off (0). Newly created "
455 "cpusets also initially default this to off (0)."
456 msgstr ""
457
458 #. ==================== mem_hardwall ====================
459 #. type: Plain text
460 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
461 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
462 msgid ""
463 "Regardless of the I<mem_exclusive> setting, if one cpuset is the ancestor of "
464 "another, then their memory nodes must overlap, because the memory nodes of "
465 "any cpuset are always a subset of the memory nodes of that cpuset's parent "
466 "cpuset."
467 msgstr ""
468
469 #. type: TP
470 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
471 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
472 #, no-wrap
473 msgid "I<cpuset.mem_hardwall> (since Linux 2.6.26)"
474 msgstr ""
475
476 #. ==================== memory_migrate ====================
477 #. type: Plain text
478 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
479 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
480 msgid ""
481 "Flag (0 or 1). If set (1), the cpuset is a B<Hardwall> cpuset (see below). "
482 "Unlike B<mem_exclusive>, there is no constraint on whether cpusets marked "
483 "B<mem_hardwall> may have overlapping memory nodes with sibling or cousin "
484 "cpusets. By default, this is off (0). Newly created cpusets also initially "
485 "default this to off (0)."
486 msgstr ""
487
488 #. type: TP
489 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
490 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
491 #, no-wrap
492 msgid "I<cpuset.memory_migrate> (since Linux 2.6.16)"
493 msgstr ""
494
495 #. #-#-#-#-# archlinux: cpuset.7.pot (PACKAGE VERSION) #-#-#-#-#
496 #. Sx
497 #. ==================== memory_pressure ====================
498 #. type: Plain text
499 #. #-#-#-#-# debian-trixie: cpuset.7.pot (PACKAGE VERSION) #-#-#-#-#
500 #. ==================== memory_pressure ====================
501 #. type: Plain text
502 #. #-#-#-#-# debian-unstable: cpuset.7.pot (PACKAGE VERSION) #-#-#-#-#
503 #. Sx
504 #. ==================== memory_pressure ====================
505 #. type: Plain text
506 #. #-#-#-#-# fedora-44: cpuset.7.pot (PACKAGE VERSION) #-#-#-#-#
507 #. ==================== memory_pressure ====================
508 #. type: Plain text
509 #. #-#-#-#-# fedora-rawhide: cpuset.7.pot (PACKAGE VERSION) #-#-#-#-#
510 #. ==================== memory_pressure ====================
511 #. type: Plain text
512 #. #-#-#-#-# mageia-cauldron: cpuset.7.pot (PACKAGE VERSION) #-#-#-#-#
513 #. Sx
514 #. ==================== memory_pressure ====================
515 #. type: Plain text
516 #. #-#-#-#-# opensuse-leap-16-1: cpuset.7.pot (PACKAGE VERSION) #-#-#-#-#
517 #. Sx
518 #. ==================== memory_pressure ====================
519 #. type: Plain text
520 #. #-#-#-#-# opensuse-tumbleweed: cpuset.7.pot (PACKAGE VERSION) #-#-#-#-#
521 #. Sx
522 #. ==================== memory_pressure ====================
523 #. type: Plain text
524 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
525 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
526 msgid ""
527 "Flag (0 or 1). If set (1), then memory migration is enabled. By default, "
528 "this is off (0). See the B<Memory Migration> section, below."
529 msgstr ""
530
531 #. type: TP
532 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
533 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
534 #, no-wrap
535 msgid "I<cpuset.memory_pressure> (since Linux 2.6.16)"
536 msgstr ""
537
538 #. #-#-#-#-# archlinux: cpuset.7.pot (PACKAGE VERSION) #-#-#-#-#
539 #. Sx
540 #. ================= memory_pressure_enabled =================
541 #. type: Plain text
542 #. #-#-#-#-# debian-trixie: cpuset.7.pot (PACKAGE VERSION) #-#-#-#-#
543 #. ================= memory_pressure_enabled =================
544 #. type: Plain text
545 #. #-#-#-#-# debian-unstable: cpuset.7.pot (PACKAGE VERSION) #-#-#-#-#
546 #. Sx
547 #. ================= memory_pressure_enabled =================
548 #. type: Plain text
549 #. #-#-#-#-# fedora-44: cpuset.7.pot (PACKAGE VERSION) #-#-#-#-#
550 #. ================= memory_pressure_enabled =================
551 #. type: Plain text
552 #. #-#-#-#-# fedora-rawhide: cpuset.7.pot (PACKAGE VERSION) #-#-#-#-#
553 #. ================= memory_pressure_enabled =================
554 #. type: Plain text
555 #. #-#-#-#-# mageia-cauldron: cpuset.7.pot (PACKAGE VERSION) #-#-#-#-#
556 #. Sx
557 #. ================= memory_pressure_enabled =================
558 #. type: Plain text
559 #. #-#-#-#-# opensuse-leap-16-1: cpuset.7.pot (PACKAGE VERSION) #-#-#-#-#
560 #. Sx
561 #. ================= memory_pressure_enabled =================
562 #. type: Plain text
563 #. #-#-#-#-# opensuse-tumbleweed: cpuset.7.pot (PACKAGE VERSION) #-#-#-#-#
564 #. Sx
565 #. ================= memory_pressure_enabled =================
566 #. type: Plain text
567 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
568 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
569 msgid ""
570 "A measure of how much memory pressure the processes in this cpuset are "
571 "causing. See the B<Memory Pressure> section, below. Unless "
572 "I<memory_pressure_enabled> is enabled, always has value zero (0). This file "
573 "is read-only. See the B<WARNINGS> section, below."
574 msgstr ""
575
576 #. type: TP
577 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
578 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
579 #, no-wrap
580 msgid "I<cpuset.memory_pressure_enabled> (since Linux 2.6.16)"
581 msgstr ""
582
583 #. #-#-#-#-# archlinux: cpuset.7.pot (PACKAGE VERSION) #-#-#-#-#
584 #. Sx
585 #. ================== memory_spread_page ==================
586 #. type: Plain text
587 #. #-#-#-#-# debian-trixie: cpuset.7.pot (PACKAGE VERSION) #-#-#-#-#
588 #. ================== memory_spread_page ==================
589 #. type: Plain text
590 #. #-#-#-#-# debian-unstable: cpuset.7.pot (PACKAGE VERSION) #-#-#-#-#
591 #. Sx
592 #. ================== memory_spread_page ==================
593 #. type: Plain text
594 #. #-#-#-#-# fedora-44: cpuset.7.pot (PACKAGE VERSION) #-#-#-#-#
595 #. ================== memory_spread_page ==================
596 #. type: Plain text
597 #. #-#-#-#-# fedora-rawhide: cpuset.7.pot (PACKAGE VERSION) #-#-#-#-#
598 #. ================== memory_spread_page ==================
599 #. type: Plain text
600 #. #-#-#-#-# mageia-cauldron: cpuset.7.pot (PACKAGE VERSION) #-#-#-#-#
601 #. Sx
602 #. ================== memory_spread_page ==================
603 #. type: Plain text
604 #. #-#-#-#-# opensuse-leap-16-1: cpuset.7.pot (PACKAGE VERSION) #-#-#-#-#
605 #. Sx
606 #. ================== memory_spread_page ==================
607 #. type: Plain text
608 #. #-#-#-#-# opensuse-tumbleweed: cpuset.7.pot (PACKAGE VERSION) #-#-#-#-#
609 #. Sx
610 #. ================== memory_spread_page ==================
611 #. type: Plain text
612 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
613 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
614 msgid ""
615 "Flag (0 or 1). This file is present only in the root cpuset, normally I</"
616 "dev/cpuset>. If set (1), the I<memory_pressure> calculations are enabled "
617 "for all cpusets in the system. By default, this is off (0). See the "
618 "B<Memory Pressure> section, below."
619 msgstr ""
620
621 #. type: TP
622 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
623 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
624 #, no-wrap
625 msgid "I<cpuset.memory_spread_page> (since Linux 2.6.17)"
626 msgstr ""
627
628 #. Sx
629 #. ================== memory_spread_slab ==================
630 #. type: Plain text
631 #: archlinux debian-unstable mageia-cauldron opensuse-leap-16-1
632 #: opensuse-tumbleweed
633 msgid ""
634 "Flag (0 or 1). If set (1), pages in the kernel page cache (filesystem "
635 "buffers) are uniformly spread across the cpuset. By default, this is off "
636 "(0) in the top cpuset, and inherited from the parent cpuset in newly created "
637 "cpusets. See the B<Memory Spread> section, below."
638 msgstr ""
639
640 #. type: TP
641 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
642 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
643 #, no-wrap
644 msgid "I<cpuset.memory_spread_slab> (since Linux 2.6.17)"
645 msgstr ""
646
647 #. Sx
648 #. ================== sched_load_balance ==================
649 #. type: Plain text
650 #: archlinux debian-unstable mageia-cauldron opensuse-leap-16-1
651 #: opensuse-tumbleweed
652 msgid ""
653 "Flag (0 or 1). If set (1), the kernel slab caches for file I/O (directory "
654 "and inode structures) are uniformly spread across the cpuset. By default, "
655 "this is off (0) in the top cpuset, and inherited from the parent cpuset in "
656 "newly created cpusets. See the B<Memory Spread> section, below."
657 msgstr ""
658
659 #. type: TP
660 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
661 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
662 #, no-wrap
663 msgid "I<cpuset.sched_load_balance> (since Linux 2.6.24)"
664 msgstr ""
665
666 #. Sx
667 #. ================== sched_relax_domain_level ==================
668 #. type: Plain text
669 #: archlinux debian-unstable mageia-cauldron opensuse-leap-16-1
670 #: opensuse-tumbleweed
671 msgid ""
672 "Flag (0 or 1). If set (1, the default) the kernel will automatically load "
673 "balance processes in that cpuset over the allowed CPUs in that cpuset. If "
674 "cleared (0), the kernel will avoid load balancing processes in this cpuset, "
675 "I<unless> some other cpuset with overlapping CPUs has its "
676 "I<sched_load_balance> flag set. See B<Scheduler Load Balancing>, below, for "
677 "further details."
678 msgstr ""
679
680 #. type: TP
681 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
682 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
683 #, no-wrap
684 msgid "I<cpuset.sched_relax_domain_level> (since Linux 2.6.26)"
685 msgstr ""
686
687 #. Sx
688 #. ================== proc cpuset ==================
689 #. type: Plain text
690 #: archlinux debian-unstable mageia-cauldron opensuse-leap-16-1
691 #: opensuse-tumbleweed
692 msgid ""
693 "Integer, between -1 and a small positive value. The "
694 "I<sched_relax_domain_level> controls the width of the range of CPUs over "
695 "which the kernel scheduler performs immediate rebalancing of runnable tasks "
696 "across CPUs. If I<sched_load_balance> is disabled, then the setting of "
697 "I<sched_relax_domain_level> does not matter, as no such load balancing is "
698 "done. If I<sched_load_balance> is enabled, then, the higher the value of "
699 "the I<sched_relax_domain_level>, the wider the range of CPUs over which "
700 "immediate load balancing is attempted. See B<Scheduler Relax Domain Level>, "
701 "below, for further details."
702 msgstr ""
703
704 #. ================== proc status ==================
705 #. type: Plain text
706 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
707 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
708 msgid ""
709 "In addition to the above pseudo-files in each directory below I</dev/"
710 "cpuset>, each process has a pseudo-file, I</proc/>pidI</cpuset>, that "
711 "displays the path of the process's cpuset directory relative to the root of "
712 "the cpuset filesystem."
713 msgstr ""
714
715 #. #-#-#-#-# archlinux: cpuset.7.pot (PACKAGE VERSION) #-#-#-#-#
716 #. Sx
717 #. Sx
718 #. type: Plain text
719 #. #-#-#-#-# debian-trixie: cpuset.7.pot (PACKAGE VERSION) #-#-#-#-#
720 #. type: Plain text
721 #. #-#-#-#-# debian-unstable: cpuset.7.pot (PACKAGE VERSION) #-#-#-#-#
722 #. Sx
723 #. Sx
724 #. type: Plain text
725 #. #-#-#-#-# fedora-44: cpuset.7.pot (PACKAGE VERSION) #-#-#-#-#
726 #. type: Plain text
727 #. #-#-#-#-# fedora-rawhide: cpuset.7.pot (PACKAGE VERSION) #-#-#-#-#
728 #. type: Plain text
729 #. #-#-#-#-# mageia-cauldron: cpuset.7.pot (PACKAGE VERSION) #-#-#-#-#
730 #. Sx
731 #. Sx
732 #. type: Plain text
733 #. #-#-#-#-# opensuse-leap-16-1: cpuset.7.pot (PACKAGE VERSION) #-#-#-#-#
734 #. Sx
735 #. Sx
736 #. type: Plain text
737 #. #-#-#-#-# opensuse-tumbleweed: cpuset.7.pot (PACKAGE VERSION) #-#-#-#-#
738 #. Sx
739 #. Sx
740 #. type: Plain text
741 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
742 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
743 msgid ""
744 "Also the I</proc/>pidI</status> file for each process has four added lines, "
745 "displaying the process's I<Cpus_allowed> (on which CPUs it may be scheduled) "
746 "and I<Mems_allowed> (on which memory nodes it may obtain memory), in the two "
747 "formats B<Mask Format> and B<List Format> (see below) as shown in the "
748 "following example:"
749 msgstr ""
750
751 #. type: Plain text
752 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
753 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
754 #, no-wrap
755 msgid ""
756 "Cpus_allowed: ffffffff,ffffffff,ffffffff,ffffffff\n"
757 "Cpus_allowed_list: 0-127\n"
758 "Mems_allowed: ffffffff,ffffffff\n"
759 "Mems_allowed_list: 0-63\n"
760 msgstr ""
761
762 #. ================== EXTENDED CAPABILITIES ==================
763 #. type: Plain text
764 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
765 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
766 msgid ""
767 "The \"allowed\" fields were added in Linux 2.6.24; the \"allowed_list\" "
768 "fields were added in Linux 2.6.26."
769 msgstr ""
770
771 #. type: SH
772 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
773 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
774 #, no-wrap
775 msgid "EXTENDED CAPABILITIES"
776 msgstr ""
777
778 #. ================== Exclusive Cpusets ==================
779 #. type: Plain text
780 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
781 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
782 msgid ""
783 "In addition to controlling which I<cpus> and I<mems> a process is allowed to "
784 "use, cpusets provide the following extended capabilities."
785 msgstr ""
786
787 #. type: SS
788 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
789 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
790 #, no-wrap
791 msgid "Exclusive cpusets"
792 msgstr ""
793
794 #. type: Plain text
795 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
796 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
797 msgid ""
798 "If a cpuset is marked I<cpu_exclusive> or I<mem_exclusive>, no other cpuset, "
799 "other than a direct ancestor or descendant, may share any of the same CPUs "
800 "or memory nodes."
801 msgstr ""
802
803 #. ================== Hardwall ==================
804 #. type: Plain text
805 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
806 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
807 msgid ""
808 "A cpuset that is I<mem_exclusive> restricts kernel allocations for buffer "
809 "cache pages and other internal kernel data pages commonly shared by the "
810 "kernel across multiple users. All cpusets, whether I<mem_exclusive> or not, "
811 "restrict allocations of memory for user space. This enables configuring a "
812 "system so that several independent jobs can share common kernel data, while "
813 "isolating each job's user allocation in its own cpuset. To do this, "
814 "construct a large I<mem_exclusive> cpuset to hold all the jobs, and "
815 "construct child, non-I<mem_exclusive> cpusets for each individual job. Only "
816 "a small amount of kernel memory, such as requests from interrupt handlers, "
817 "is allowed to be placed on memory nodes outside even a I<mem_exclusive> "
818 "cpuset."
819 msgstr ""
820
821 #. type: SS
822 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
823 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
824 #, no-wrap
825 msgid "Hardwall"
826 msgstr ""
827
828 #. type: Plain text
829 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
830 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
831 msgid ""
832 "A cpuset that has I<mem_exclusive> or I<mem_hardwall> set is a I<hardwall> "
833 "cpuset. A I<hardwall> cpuset restricts kernel allocations for page, buffer, "
834 "and other data commonly shared by the kernel across multiple users. All "
835 "cpusets, whether I<hardwall> or not, restrict allocations of memory for user "
836 "space."
837 msgstr ""
838
839 #. type: Plain text
840 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
841 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
842 msgid ""
843 "This enables configuring a system so that several independent jobs can share "
844 "common kernel data, such as filesystem pages, while isolating each job's "
845 "user allocation in its own cpuset. To do this, construct a large "
846 "I<hardwall> cpuset to hold all the jobs, and construct child cpusets for "
847 "each individual job which are not I<hardwall> cpusets."
848 msgstr ""
849
850 #. ================== Notify On Release ==================
851 #. type: Plain text
852 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
853 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
854 msgid ""
855 "Only a small amount of kernel memory, such as requests from interrupt "
856 "handlers, is allowed to be taken outside even a I<hardwall> cpuset."
857 msgstr ""
858
859 #. type: SS
860 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
861 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
862 #, no-wrap
863 msgid "Notify on release"
864 msgstr ""
865
866 #. type: Plain text
867 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
868 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
869 msgid ""
870 "If the I<notify_on_release> flag is enabled (1) in a cpuset, then whenever "
871 "the last process in the cpuset leaves (exits or attaches to some other "
872 "cpuset) and the last child cpuset of that cpuset is removed, the kernel "
873 "will run the command I</sbin/cpuset_release_agent>, supplying the pathname "
874 "(relative to the mount point of the cpuset filesystem) of the abandoned "
875 "cpuset. This enables automatic removal of abandoned cpusets."
876 msgstr ""
877
878 #. type: Plain text
879 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
880 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
881 msgid ""
882 "The default value of I<notify_on_release> in the root cpuset at system boot "
883 "is disabled (0). The default value of other cpusets at creation is the "
884 "current value of their parent's I<notify_on_release> setting."
885 msgstr ""
886
887 #. type: Plain text
888 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
889 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
890 msgid ""
891 "The command I</sbin/cpuset_release_agent> is invoked, with the name (I</dev/"
892 "cpuset> relative path) of the to-be-released cpuset in I<argv[1]>."
893 msgstr ""
894
895 #. type: Plain text
896 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
897 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
898 msgid ""
899 "The usual contents of the command I</sbin/cpuset_release_agent> is simply "
900 "the shell script:"
901 msgstr ""
902
903 #. type: Plain text
904 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
905 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
906 #, no-wrap
907 msgid ""
908 "#!/bin/sh\n"
909 "rmdir /dev/cpuset/$1\n"
910 msgstr ""
911
912 #. ================== Memory Pressure ==================
913 #. type: Plain text
914 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
915 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
916 msgid ""
917 "As with other flag values below, this flag can be changed by writing an "
918 "ASCII number 0 or 1 (with optional trailing newline) into the file, to "
919 "clear or set the flag, respectively."
920 msgstr ""
921
922 #. type: SS
923 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
924 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
925 #, no-wrap
926 msgid "Memory pressure"
927 msgstr ""
928
929 #. type: Plain text
930 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
931 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
932 msgid ""
933 "The I<memory_pressure> of a cpuset provides a simple per-cpuset running "
934 "average of the rate that the processes in a cpuset are attempting to free up "
935 "in-use memory on the nodes of the cpuset to satisfy additional memory "
936 "requests."
937 msgstr ""
938
939 #. type: Plain text
940 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
941 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
942 msgid ""
943 "This enables batch managers that are monitoring jobs running in dedicated "
944 "cpusets to efficiently detect what level of memory pressure that job is "
945 "causing."
946 msgstr ""
947
948 #. type: Plain text
949 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
950 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
951 msgid ""
952 "This is useful both on tightly managed systems running a wide mix of "
953 "submitted jobs, which may choose to terminate or reprioritize jobs that are "
954 "trying to use more memory than allowed on the nodes assigned them, and with "
955 "tightly coupled, long-running, massively parallel scientific computing jobs "
956 "that will dramatically fail to meet required performance goals if they start "
957 "to use more memory than allowed to them."
958 msgstr ""
959
960 #. type: Plain text
961 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
962 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
963 msgid ""
964 "This mechanism provides a very economical way for the batch manager to "
965 "monitor a cpuset for signs of memory pressure. It's up to the batch manager "
966 "or other user code to decide what action to take if it detects signs of "
967 "memory pressure."
968 msgstr ""
969
970 #. #-#-#-#-# archlinux: cpuset.7.pot (PACKAGE VERSION) #-#-#-#-#
971 #. Sx
972 #. type: Plain text
973 #. #-#-#-#-# debian-trixie: cpuset.7.pot (PACKAGE VERSION) #-#-#-#-#
974 #. type: Plain text
975 #. #-#-#-#-# debian-unstable: cpuset.7.pot (PACKAGE VERSION) #-#-#-#-#
976 #. Sx
977 #. type: Plain text
978 #. #-#-#-#-# fedora-44: cpuset.7.pot (PACKAGE VERSION) #-#-#-#-#
979 #. type: Plain text
980 #. #-#-#-#-# fedora-rawhide: cpuset.7.pot (PACKAGE VERSION) #-#-#-#-#
981 #. type: Plain text
982 #. #-#-#-#-# mageia-cauldron: cpuset.7.pot (PACKAGE VERSION) #-#-#-#-#
983 #. Sx
984 #. type: Plain text
985 #. #-#-#-#-# opensuse-leap-16-1: cpuset.7.pot (PACKAGE VERSION) #-#-#-#-#
986 #. Sx
987 #. type: Plain text
988 #. #-#-#-#-# opensuse-tumbleweed: cpuset.7.pot (PACKAGE VERSION) #-#-#-#-#
989 #. Sx
990 #. type: Plain text
991 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
992 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
993 msgid ""
994 "Unless memory pressure calculation is enabled by setting the pseudo-file I</"
995 "dev/cpuset/cpuset.memory_pressure_enabled>, it is not computed for any "
996 "cpuset, and reads from any I<memory_pressure> always return zero, as "
997 "represented by the ASCII string \"0\\[rs]n\". See the B<WARNINGS> section, "
998 "below."
999 msgstr ""
1000
1001 #. type: Plain text
1002 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
1003 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
1004 msgid "A per-cpuset, running average is employed for the following reasons:"
1005 msgstr ""
1006
1007 #. type: IP
1008 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
1009 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
1010 #, no-wrap
1011 msgid "\\[bu]"
1012 msgstr ""
1013
1014 #. type: Plain text
1015 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
1016 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
1017 msgid ""
1018 "Because this meter is per-cpuset rather than per-process or per virtual "
1019 "memory region, the system load imposed by a batch scheduler monitoring this "
1020 "metric is sharply reduced on large systems, because a scan of the tasklist "
1021 "can be avoided on each set of queries."
1022 msgstr ""
1023
1024 #. type: Plain text
1025 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
1026 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
1027 msgid ""
1028 "Because this meter is a running average rather than an accumulating counter, "
1029 "a batch scheduler can detect memory pressure with a single read, instead of "
1030 "having to read and accumulate results for a period of time."
1031 msgstr ""
1032
1033 #. type: Plain text
1034 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
1035 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
1036 msgid ""
1037 "Because this meter is per-cpuset rather than per-process, the batch "
1038 "scheduler can obtain the key information\\[em]memory pressure in a cpuset\\"
1039 "[em]with a single read, rather than having to query and accumulate results "
1040 "over all the (dynamically changing) set of processes in the cpuset."
1041 msgstr ""
1042
1043 #. type: Plain text
1044 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
1045 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
1046 msgid ""
1047 "The I<memory_pressure> of a cpuset is calculated using a per-cpuset simple "
1048 "digital filter that is kept within the kernel. For each cpuset, this filter "
1049 "tracks the recent rate at which processes attached to that cpuset enter the "
1050 "kernel direct reclaim code."
1051 msgstr ""
1052
1053 #. type: Plain text
1054 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
1055 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
1056 msgid ""
1057 "The kernel direct reclaim code is entered whenever a process has to satisfy "
1058 "a memory page request by first finding some other page to repurpose, due to "
1059 "lack of any readily available already free pages. Dirty filesystem pages "
1060 "are repurposed by first writing them to disk. Unmodified filesystem buffer "
1061 "pages are repurposed by simply dropping them, though if that page is needed "
1062 "again, it will have to be reread from disk."
1063 msgstr ""
1064
1065 #. ================== Memory Spread ==================
1066 #. type: Plain text
1067 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
1068 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
1069 msgid ""
1070 "The I<cpuset.memory_pressure> file provides an integer number representing "
1071 "the recent (half-life of 10 seconds) rate of entries to the direct reclaim "
1072 "code caused by any process in the cpuset, in units of reclaims attempted per "
1073 "second, times 1000."
1074 msgstr ""
1075
1076 #. type: SS
1077 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
1078 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
1079 #, no-wrap
1080 msgid "Memory spread"
1081 msgstr ""
1082
1083 #. type: Plain text
1084 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
1085 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
1086 msgid ""
1087 "There are two Boolean flag files per cpuset that control where the kernel "
1088 "allocates pages for the filesystem buffers and related in-kernel data "
1089 "structures. They are called I<cpuset.memory_spread_page> and "
1090 "I<cpuset.memory_spread_slab>."
1091 msgstr ""
1092
1093 #. type: Plain text
1094 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
1095 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
1096 msgid ""
1097 "If the per-cpuset Boolean flag file I<cpuset.memory_spread_page> is set, "
1098 "then the kernel will spread the filesystem buffers (page cache) evenly over "
1099 "all the nodes that the faulting process is allowed to use, instead of "
1100 "preferring to put those pages on the node where the process is running."
1101 msgstr ""
1102
1103 #. type: Plain text
1104 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
1105 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
1106 msgid ""
1107 "If the per-cpuset Boolean flag file I<cpuset.memory_spread_slab> is set, "
1108 "then the kernel will spread some filesystem-related slab caches, such as "
1109 "those for inodes and directory entries, evenly over all the nodes that the "
1110 "faulting process is allowed to use, instead of preferring to put those pages "
1111 "on the node where the process is running."
1112 msgstr ""
1113
1114 #. type: Plain text
1115 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
1116 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
1117 msgid ""
1118 "The setting of these flags does not affect the data segment (see B<brk>(2)) "
1119 "or stack segment pages of a process."
1120 msgstr ""
1121
1122 #. type: Plain text
1123 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
1124 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
1125 msgid ""
1126 "By default, both kinds of memory spreading are off and the kernel prefers to "
1127 "allocate memory pages on the node local to where the requesting process is "
1128 "running. If that node is not allowed by the process's NUMA memory policy or "
1129 "cpuset configuration or if there are insufficient free memory pages on that "
1130 "node, then the kernel looks for the nearest node that is allowed and has "
1131 "sufficient free memory."
1132 msgstr ""
1133
1134 #. type: Plain text
1135 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
1136 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
1137 msgid ""
1138 "When new cpusets are created, they inherit the memory spread settings of "
1139 "their parent."
1140 msgstr ""
1141
1142 #. type: Plain text
1143 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
1144 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
1145 msgid ""
1146 "Setting memory spreading causes allocations for the affected page or slab "
1147 "caches to ignore the process's NUMA memory policy and be spread instead. "
1148 "However, the effect of these changes in memory placement caused by cpuset-"
1149 "specified memory spreading is hidden from the B<mbind>(2) or "
1150 "B<set_mempolicy>(2) calls. These two NUMA memory policy calls always "
1151 "appear to behave as if no cpuset-specified memory spreading is in effect, "
1152 "even if it is. If cpuset memory spreading is subsequently turned off, the "
1153 "NUMA memory policy most recently specified by these calls is automatically "
1154 "reapplied."
1155 msgstr ""
1156
1157 #. type: Plain text
1158 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
1159 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
1160 msgid ""
1161 "Both I<cpuset.memory_spread_page> and I<cpuset.memory_spread_slab> are "
1162 "Boolean flag files. By default, they contain \"0\", meaning that the "
1163 "feature is off for that cpuset. If a \"1\" is written to that file, that "
1164 "turns the named feature on."
1165 msgstr ""
1166
1167 #. type: Plain text
1168 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
1169 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
1170 msgid ""
1171 "Cpuset-specified memory spreading behaves similarly to what is known (in "
1172 "other contexts) as round-robin or interleave memory placement."
1173 msgstr ""
1174
1175 #. type: Plain text
1176 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
1177 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
1178 msgid ""
1179 "Cpuset-specified memory spreading can provide substantial performance "
1180 "improvements for jobs that:"
1181 msgstr ""
1182
1183 #. type: Plain text
1184 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
1185 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
1186 msgid ""
1187 "need to place thread-local data on memory nodes close to the CPUs which are "
1188 "running the threads that most frequently access that data; but also"
1189 msgstr ""
1190
1191 #. type: Plain text
1192 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
1193 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
1194 msgid ""
1195 "need to access large filesystem data sets that must to be spread across the "
1196 "several nodes in the job's cpuset in order to fit."
1197 msgstr ""
1198
1199 #. ================== Memory Migration ==================
1200 #. type: Plain text
1201 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
1202 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
1203 msgid ""
1204 "Without this policy, the memory allocation across the nodes in the job's "
1205 "cpuset can become very uneven, especially for jobs that might have just a "
1206 "single thread initializing or reading in the data set."
1207 msgstr ""
1208
1209 #. type: SS
1210 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
1211 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
1212 #, no-wrap
1213 msgid "Memory migration"
1214 msgstr ""
1215
1216 #. type: Plain text
1217 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
1218 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
1219 msgid ""
1220 "Normally, under the default setting (disabled) of I<cpuset.memory_migrate>, "
1221 "once a page is allocated (given a physical page of main memory), then that "
1222 "page stays on whatever node it was allocated, so long as it remains "
1223 "allocated, even if the cpuset's memory-placement policy I<mems> subsequently "
1224 "changes."
1225 msgstr ""
1226
1227 #. type: Plain text
1228 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
1229 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
1230 msgid ""
1231 "When memory migration is enabled in a cpuset, if the I<mems> setting of the "
1232 "cpuset is changed, then any memory page in use by any process in the cpuset "
1233 "that is on a memory node that is no longer allowed will be migrated to a "
1234 "memory node that is allowed."
1235 msgstr ""
1236
1237 #. type: Plain text
1238 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
1239 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
1240 msgid ""
1241 "Furthermore, if a process is moved into a cpuset with I<memory_migrate> "
1242 "enabled, any memory pages it uses that were on memory nodes allowed in its "
1243 "previous cpuset, but which are not allowed in its new cpuset, will be "
1244 "migrated to a memory node allowed in the new cpuset."
1245 msgstr ""
1246
1247 #. ================== Scheduler Load Balancing ==================
1248 #. type: Plain text
1249 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
1250 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
1251 msgid ""
1252 "The relative placement of a migrated page within the cpuset is preserved "
1253 "during these migration operations if possible. For example, if the page was "
1254 "on the second valid node of the prior cpuset, then the page will be placed "
1255 "on the second valid node of the new cpuset, if possible."
1256 msgstr ""
1257
1258 #. type: SS
1259 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
1260 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
1261 #, no-wrap
1262 msgid "Scheduler load balancing"
1263 msgstr ""
1264
1265 #. type: Plain text
1266 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
1267 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
1268 msgid ""
1269 "The kernel scheduler automatically load balances processes. If one CPU is "
1270 "underutilized, the kernel will look for processes on other more overloaded "
1271 "CPUs and move those processes to the underutilized CPU, within the "
1272 "constraints of such placement mechanisms as cpusets and "
1273 "B<sched_setaffinity>(2)."
1274 msgstr ""
1275
1276 #. type: Plain text
1277 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
1278 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
1279 msgid ""
1280 "The algorithmic cost of load balancing and its impact on key shared kernel "
1281 "data structures such as the process list increases more than linearly with "
1282 "the number of CPUs being balanced. For example, it costs more to load "
1283 "balance across one large set of CPUs than it does to balance across two "
1284 "smaller sets of CPUs, each of half the size of the larger set. (The precise "
1285 "relationship between the number of CPUs being balanced and the cost of load "
1286 "balancing depends on implementation details of the kernel process scheduler, "
1287 "which is subject to change over time, as improved kernel scheduler "
1288 "algorithms are implemented.)"
1289 msgstr ""
1290
1291 #. type: Plain text
1292 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
1293 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
1294 msgid ""
1295 "The per-cpuset flag I<sched_load_balance> provides a mechanism to suppress "
1296 "this automatic scheduler load balancing in cases where it is not needed and "
1297 "suppressing it would have worthwhile performance benefits."
1298 msgstr ""
1299
1300 #. #-#-#-#-# archlinux: cpuset.7.pot (PACKAGE VERSION) #-#-#-#-#
1301 #. Sx
1302 #. type: Plain text
1303 #. #-#-#-#-# debian-trixie: cpuset.7.pot (PACKAGE VERSION) #-#-#-#-#
1304 #. type: Plain text
1305 #. #-#-#-#-# debian-unstable: cpuset.7.pot (PACKAGE VERSION) #-#-#-#-#
1306 #. Sx
1307 #. type: Plain text
1308 #. #-#-#-#-# fedora-44: cpuset.7.pot (PACKAGE VERSION) #-#-#-#-#
1309 #. type: Plain text
1310 #. #-#-#-#-# fedora-rawhide: cpuset.7.pot (PACKAGE VERSION) #-#-#-#-#
1311 #. type: Plain text
1312 #. #-#-#-#-# mageia-cauldron: cpuset.7.pot (PACKAGE VERSION) #-#-#-#-#
1313 #. Sx
1314 #. type: Plain text
1315 #. #-#-#-#-# opensuse-leap-16-1: cpuset.7.pot (PACKAGE VERSION) #-#-#-#-#
1316 #. Sx
1317 #. type: Plain text
1318 #. #-#-#-#-# opensuse-tumbleweed: cpuset.7.pot (PACKAGE VERSION) #-#-#-#-#
1319 #. Sx
1320 #. type: Plain text
1321 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
1322 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
1323 msgid ""
1324 "By default, load balancing is done across all CPUs, except those marked "
1325 "isolated using the kernel boot time \"isolcpus=\" argument. (See "
1326 "B<Scheduler Relax Domain Level>, below, to change this default.)"
1327 msgstr ""
1328
1329 #. type: Plain text
1330 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
1331 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
1332 msgid ""
1333 "This default load balancing across all CPUs is not well suited to the "
1334 "following two situations:"
1335 msgstr ""
1336
1337 #. type: Plain text
1338 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
1339 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
1340 msgid ""
1341 "On large systems, load balancing across many CPUs is expensive. If the "
1342 "system is managed using cpusets to place independent jobs on separate sets "
1343 "of CPUs, full load balancing is unnecessary."
1344 msgstr ""
1345
1346 #. type: Plain text
1347 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
1348 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
1349 msgid ""
1350 "Systems supporting real-time on some CPUs need to minimize system overhead "
1351 "on those CPUs, including avoiding process load balancing if that is not "
1352 "needed."
1353 msgstr ""
1354
1355 #. type: Plain text
1356 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
1357 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
1358 msgid ""
1359 "When the per-cpuset flag I<sched_load_balance> is enabled (the default "
1360 "setting), it requests load balancing across all the CPUs in that cpuset's "
1361 "allowed CPUs, ensuring that load balancing can move a process (not otherwise "
1362 "pinned, as by B<sched_setaffinity>(2)) from any CPU in that cpuset to any "
1363 "other."
1364 msgstr ""
1365
1366 #. type: Plain text
1367 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
1368 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
1369 msgid ""
1370 "When the per-cpuset flag I<sched_load_balance> is disabled, then the "
1371 "scheduler will avoid load balancing across the CPUs in that cpuset, "
1372 "I<except> in so far as is necessary because some overlapping cpuset has "
1373 "I<sched_load_balance> enabled."
1374 msgstr ""
1375
1376 #. type: Plain text
1377 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
1378 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
1379 msgid ""
1380 "So, for example, if the top cpuset has the flag I<sched_load_balance> "
1381 "enabled, then the scheduler will load balance across all CPUs, and the "
1382 "setting of the I<sched_load_balance> flag in other cpusets has no effect, as "
1383 "we're already fully load balancing."
1384 msgstr ""
1385
1386 #. type: Plain text
1387 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
1388 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
1389 msgid ""
1390 "Therefore in the above two situations, the flag I<sched_load_balance> should "
1391 "be disabled in the top cpuset, and only some of the smaller, child cpusets "
1392 "would have this flag enabled."
1393 msgstr ""
1394
1395 #. type: Plain text
1396 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
1397 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
1398 msgid ""
1399 "When doing this, you don't usually want to leave any unpinned processes in "
1400 "the top cpuset that might use nontrivial amounts of CPU, as such processes "
1401 "may be artificially constrained to some subset of CPUs, depending on the "
1402 "particulars of this flag setting in descendant cpusets. Even if such a "
1403 "process could use spare CPU cycles in some other CPUs, the kernel scheduler "
1404 "might not consider the possibility of load balancing that process to the "
1405 "underused CPU."
1406 msgstr ""
1407
1408 #. ================== Scheduler Relax Domain Level ==================
1409 #. type: Plain text
1410 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
1411 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
1412 msgid ""
1413 "Of course, processes pinned to a particular CPU can be left in a cpuset that "
1414 "disables I<sched_load_balance> as those processes aren't going anywhere else "
1415 "anyway."
1416 msgstr ""
1417
1418 #. type: SS
1419 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
1420 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
1421 #, no-wrap
1422 msgid "Scheduler relax domain level"
1423 msgstr ""
1424
1425 #. type: Plain text
1426 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
1427 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
1428 msgid ""
1429 "The kernel scheduler performs immediate load balancing whenever a CPU "
1430 "becomes free or another task becomes runnable. This load balancing works to "
1431 "ensure that as many CPUs as possible are usefully employed running tasks. "
1432 "The kernel also performs periodic load balancing off the software clock "
1433 "described in B<time>(7). The setting of I<sched_relax_domain_level> applies "
1434 "only to immediate load balancing. Regardless of the "
1435 "I<sched_relax_domain_level> setting, periodic load balancing is attempted "
1436 "over all CPUs (unless disabled by turning off I<sched_load_balance>.) In "
1437 "any case, of course, tasks will be scheduled to run only on CPUs allowed by "
1438 "their cpuset, as modified by B<sched_setaffinity>(2) system calls."
1439 msgstr ""
1440
1441 #. type: Plain text
1442 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
1443 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
1444 msgid ""
1445 "On small systems, such as those with just a few CPUs, immediate load "
1446 "balancing is useful to improve system interactivity and to minimize wasteful "
1447 "idle CPU cycles. But on large systems, attempting immediate load balancing "
1448 "across a large number of CPUs can be more costly than it is worth, depending "
1449 "on the particular performance characteristics of the job mix and the "
1450 "hardware."
1451 msgstr ""
1452
1453 #. type: Plain text
1454 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
1455 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
1456 msgid ""
1457 "The exact meaning of the small integer values of I<sched_relax_domain_level> "
1458 "will depend on internal implementation details of the kernel scheduler code "
1459 "and on the non-uniform architecture of the hardware. Both of these will "
1460 "evolve over time and vary by system architecture and kernel version."
1461 msgstr ""
1462
1463 #. type: Plain text
1464 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
1465 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
1466 msgid ""
1467 "As of this writing, when this capability was introduced in Linux 2.6.26, on "
1468 "certain popular architectures, the positive values of "
1469 "I<sched_relax_domain_level> have the following meanings."
1470 msgstr ""
1471
1472 #. type: TP
1473 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
1474 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
1475 #, no-wrap
1476 msgid "B<1>"
1477 msgstr ""
1478
1479 #. type: Plain text
1480 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
1481 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
1482 msgid ""
1483 "Perform immediate load balancing across Hyper-Thread siblings on the same "
1484 "core."
1485 msgstr ""
1486
1487 #. type: TP
1488 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
1489 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
1490 #, no-wrap
1491 msgid "B<2>"
1492 msgstr ""
1493
1494 #. type: Plain text
1495 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
1496 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
1497 msgid ""
1498 "Perform immediate load balancing across other cores in the same package."
1499 msgstr ""
1500
1501 #. type: TP
1502 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
1503 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
1504 #, no-wrap
1505 msgid "B<3>"
1506 msgstr ""
1507
1508 #. type: Plain text
1509 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
1510 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
1511 msgid ""
1512 "Perform immediate load balancing across other CPUs on the same node or blade."
1513 msgstr ""
1514
1515 #. type: TP
1516 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
1517 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
1518 #, no-wrap
1519 msgid "B<4>"
1520 msgstr ""
1521
1522 #. type: Plain text
1523 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
1524 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
1525 msgid ""
1526 "Perform immediate load balancing across over several (implementation detail) "
1527 "nodes [On NUMA systems]."
1528 msgstr ""
1529
1530 #. type: TP
1531 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
1532 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
1533 #, no-wrap
1534 msgid "B<5>"
1535 msgstr ""
1536
1537 #. type: Plain text
1538 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
1539 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
1540 msgid ""
1541 "Perform immediate load balancing across over all CPUs in system [On NUMA "
1542 "systems]."
1543 msgstr ""
1544
1545 #. type: Plain text
1546 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
1547 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
1548 msgid ""
1549 "The I<sched_relax_domain_level> value of zero (0) always means don't perform "
1550 "immediate load balancing, hence that load balancing is done only "
1551 "periodically, not immediately when a CPU becomes available or another task "
1552 "becomes runnable."
1553 msgstr ""
1554
1555 #. type: Plain text
1556 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
1557 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
1558 msgid ""
1559 "The I<sched_relax_domain_level> value of minus one (-1) always means use "
1560 "the system default value. The system default value can vary by architecture "
1561 "and kernel version. This system default value can be changed by kernel boot-"
1562 "time \"relax_domain_level=\" argument."
1563 msgstr ""
1564
1565 #. type: Plain text
1566 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
1567 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
1568 msgid ""
1569 "In the case of multiple overlapping cpusets which have conflicting "
1570 "I<sched_relax_domain_level> values, then the highest such value applies to "
1571 "all CPUs in any of the overlapping cpusets. In such cases, B<-1> is the "
1572 "lowest value, overridden by any other value, and B<0> is the next lowest "
1573 "value."
1574 msgstr ""
1575
1576 #. type: SH
1577 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
1578 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
1579 #, no-wrap
1580 msgid "FORMATS"
1581 msgstr ""
1582
1583 #. ================== Mask Format ==================
1584 #. type: Plain text
1585 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
1586 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
1587 msgid ""
1588 "The following formats are used to represent sets of CPUs and memory nodes."
1589 msgstr ""
1590
1591 #. type: SS
1592 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
1593 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
1594 #, no-wrap
1595 msgid "Mask format"
1596 msgstr ""
1597
1598 #. type: Plain text
1599 #: archlinux debian-unstable mageia-cauldron opensuse-leap-16-1
1600 #: opensuse-tumbleweed
1601 msgid ""
1602 "The Mask Format is used to represent CPU and memory-node bit masks in the I</"
1603 "proc/>pidI</status> file."
1604 msgstr ""
1605
1606 #. type: Plain text
1607 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
1608 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
1609 msgid ""
1610 "This format displays each 32-bit word in hexadecimal (using ASCII characters "
1611 "\"0\" - \"9\" and \"a\" - \"f\"); words are filled with leading zeros, if "
1612 "required. For masks longer than one word, a comma separator is used between "
1613 "words. Words are displayed in big-endian order, which has the most "
1614 "significant bit first. The hex digits within a word are also in big-endian "
1615 "order."
1616 msgstr ""
1617
1618 #. type: Plain text
1619 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
1620 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
1621 msgid ""
1622 "The number of 32-bit words displayed is the minimum number needed to display "
1623 "all bits of the bit mask, based on the size of the bit mask."
1624 msgstr ""
1625
1626 #. type: Plain text
1627 #: archlinux debian-unstable mageia-cauldron opensuse-leap-16-1
1628 #: opensuse-tumbleweed
1629 msgid "Examples of the B<Mask\\ Format>:"
1630 msgstr ""
1631
1632 #. type: Plain text
1633 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
1634 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
1635 #, no-wrap
1636 msgid ""
1637 "00000001 # just bit 0 set\n"
1638 "40000000,00000000,00000000 # just bit 94 set\n"
1639 "00000001,00000000,00000000 # just bit 64 set\n"
1640 "000000ff,00000000 # bits 32-39 set\n"
1641 "00000000,000e3862 # 1,5,6,11-13,17-19 set\n"
1642 msgstr ""
1643
1644 #. type: Plain text
1645 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
1646 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
1647 msgid "A mask with bits 0, 1, 2, 4, 8, 16, 32, and 64 set displays as:"
1648 msgstr ""
1649
1650 #. type: Plain text
1651 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
1652 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
1653 #, no-wrap
1654 msgid "00000001,00000001,00010117\n"
1655 msgstr ""
1656
1657 #. ================== List Format ==================
1658 #. type: Plain text
1659 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
1660 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
1661 msgid ""
1662 "The first \"1\" is for bit 64, the second for bit 32, the third for bit 16, "
1663 "the fourth for bit 8, the fifth for bit 4, and the \"7\" is for bits 2, 1, "
1664 "and 0."
1665 msgstr ""
1666
1667 #. type: SS
1668 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
1669 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
1670 #, no-wrap
1671 msgid "List format"
1672 msgstr ""
1673
1674 #. type: Plain text
1675 #: archlinux debian-unstable mageia-cauldron opensuse-leap-16-1
1676 #: opensuse-tumbleweed
1677 msgid ""
1678 "The List Format for I<cpus> and I<mems> is a comma-separated list of CPU or "
1679 "memory-node numbers and ranges of numbers, in ASCII decimal."
1680 msgstr ""
1681
1682 #. type: Plain text
1683 #: archlinux debian-unstable mageia-cauldron opensuse-leap-16-1
1684 #: opensuse-tumbleweed
1685 msgid "Examples of the B<List\\ Format>:"
1686 msgstr ""
1687
1688 #. type: Plain text
1689 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
1690 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
1691 #, no-wrap
1692 msgid ""
1693 "0-4,9 # bits 0, 1, 2, 3, 4, and 9 set\n"
1694 "0-2,7,12-14 # bits 0, 1, 2, 7, 12, 13, and 14 set\n"
1695 msgstr ""
1696
1697 #. ================== RULES ==================
1698 #. type: SH
1699 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
1700 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
1701 #, no-wrap
1702 msgid "RULES"
1703 msgstr ""
1704
1705 #. type: Plain text
1706 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
1707 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
1708 msgid "The following rules apply to each cpuset:"
1709 msgstr ""
1710
1711 #. type: Plain text
1712 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
1713 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
1714 msgid ""
1715 "Its CPUs and memory nodes must be a (possibly equal) subset of its parent's."
1716 msgstr ""
1717
1718 #. type: Plain text
1719 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
1720 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
1721 msgid "It can be marked I<cpu_exclusive> only if its parent is."
1722 msgstr ""
1723
1724 #. type: Plain text
1725 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
1726 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
1727 msgid "It can be marked I<mem_exclusive> only if its parent is."
1728 msgstr ""
1729
1730 #. type: Plain text
1731 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
1732 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
1733 msgid "If it is I<cpu_exclusive>, its CPUs may not overlap any sibling."
1734 msgstr ""
1735
1736 #. ================== PERMISSIONS ==================
1737 #. type: Plain text
1738 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
1739 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
1740 msgid ""
1741 "If it is I<mem_exclusive>, its memory nodes may not overlap any sibling."
1742 msgstr ""
1743
1744 #. type: SH
1745 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
1746 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
1747 #, no-wrap
1748 msgid "PERMISSIONS"
1749 msgstr ""
1750
1751 #. type: Plain text
1752 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
1753 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
1754 msgid ""
1755 "The permissions of a cpuset are determined by the permissions of the "
1756 "directories and pseudo-files in the cpuset filesystem, normally mounted at "
1757 "I</dev/cpuset>."
1758 msgstr ""
1759
1760 #. type: Plain text
1761 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
1762 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
1763 msgid ""
1764 "For instance, a process can put itself in some other cpuset (than its "
1765 "current one) if it can write the I<tasks> file for that cpuset. This "
1766 "requires execute permission on the encompassing directories and write "
1767 "permission on the I<tasks> file."
1768 msgstr ""
1769
1770 #. type: Plain text
1771 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
1772 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
1773 msgid ""
1774 "An additional constraint is applied to requests to place some other process "
1775 "in a cpuset. One process may not attach another to a cpuset unless it would "
1776 "have permission to send that process a signal (see B<kill>(2))."
1777 msgstr ""
1778
1779 #. type: Plain text
1780 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
1781 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
1782 msgid ""
1783 "A process may create a child cpuset if it can access and write the parent "
1784 "cpuset directory. It can modify the CPUs or memory nodes in a cpuset if it "
1785 "can access that cpuset's directory (execute permissions on the each of the "
1786 "parent directories) and write the corresponding I<cpus> or I<mems> file."
1787 msgstr ""
1788
1789 #. type: Plain text
1790 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
1791 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
1792 msgid ""
1793 "There is one minor difference between the manner in which these permissions "
1794 "are evaluated and the manner in which normal filesystem operation "
1795 "permissions are evaluated. The kernel interprets relative pathnames "
1796 "starting at a process's current working directory. Even if one is operating "
1797 "on a cpuset file, relative pathnames are interpreted relative to the "
1798 "process's current working directory, not relative to the process's current "
1799 "cpuset. The only ways that cpuset paths relative to a process's current "
1800 "cpuset can be used are if either the process's current working directory is "
1801 "its cpuset (it first did a B<cd> or B<chdir>(2) to its cpuset directory "
1802 "beneath I</dev/cpuset>, which is a bit unusual) or if some user code "
1803 "converts the relative cpuset path to a full filesystem path."
1804 msgstr ""
1805
1806 #. ================== WARNINGS ==================
1807 #. type: Plain text
1808 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
1809 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
1810 msgid ""
1811 "In theory, this means that user code should specify cpusets using absolute "
1812 "pathnames, which requires knowing the mount point of the cpuset filesystem "
1813 "(usually, but not necessarily, I</dev/cpuset>). In practice, all user level "
1814 "code that this author is aware of simply assumes that if the cpuset "
1815 "filesystem is mounted, then it is mounted at I</dev/cpuset>. Furthermore, "
1816 "it is common practice for carefully written user code to verify the presence "
1817 "of the pseudo-file I</dev/cpuset/tasks> in order to verify that the cpuset "
1818 "pseudo-filesystem is currently mounted."
1819 msgstr ""
1820
1821 #. type: SH
1822 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
1823 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
1824 #, no-wrap
1825 msgid "WARNINGS"
1826 msgstr ""
1827
1828 #. type: SS
1829 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
1830 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
1831 #, no-wrap
1832 msgid "Enabling memory_pressure"
1833 msgstr ""
1834
1835 #. type: Plain text
1836 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
1837 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
1838 msgid ""
1839 "By default, the per-cpuset file I<cpuset.memory_pressure> always contains "
1840 "zero (0). Unless this feature is enabled by writing \"1\" to the pseudo-"
1841 "file I</dev/cpuset/cpuset.memory_pressure_enabled>, the kernel does not "
1842 "compute per-cpuset I<memory_pressure>."
1843 msgstr ""
1844
1845 #. type: SS
1846 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
1847 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
1848 #, no-wrap
1849 msgid "Using the echo command"
1850 msgstr ""
1851
1852 #. Gack! csh(1)'s echo does this
1853 #. type: Plain text
1854 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
1855 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
1856 msgid ""
1857 "When using the B<echo> command at the shell prompt to change the values of "
1858 "cpuset files, beware that the built-in B<echo> command in some shells does "
1859 "not display an error message if the B<write>(2) system call fails. For "
1860 "example, if the command:"
1861 msgstr ""
1862
1863 #. type: Plain text
1864 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
1865 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
1866 #, no-wrap
1867 msgid "echo 19 E<gt> cpuset.mems\n"
1868 msgstr ""
1869
1870 #. type: Plain text
1871 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
1872 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
1873 msgid ""
1874 "failed because memory node 19 was not allowed (perhaps the current system "
1875 "does not have a memory node 19), then the B<echo> command might not display "
1876 "any error. It is better to use the B</bin/echo> external command to change "
1877 "cpuset file settings, as this command will display B<write>(2) errors, as "
1878 "in the example:"
1879 msgstr ""
1880
1881 #. type: Plain text
1882 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
1883 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
1884 #, no-wrap
1885 msgid ""
1886 "/bin/echo 19 E<gt> cpuset.mems\n"
1887 "/bin/echo: write error: Invalid argument\n"
1888 msgstr ""
1889
1890 #. ================== EXCEPTIONS ==================
1891 #. type: SH
1892 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
1893 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
1894 #, no-wrap
1895 msgid "EXCEPTIONS"
1896 msgstr ""
1897
1898 #. type: SS
1899 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
1900 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
1901 #, no-wrap
1902 msgid "Memory placement"
1903 msgstr ""
1904
1905 #. type: Plain text
1906 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
1907 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
1908 msgid ""
1909 "Not all allocations of system memory are constrained by cpusets, for the "
1910 "following reasons."
1911 msgstr ""
1912
1913 #. type: Plain text
1914 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
1915 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
1916 msgid ""
1917 "If hot-plug functionality is used to remove all the CPUs that are currently "
1918 "assigned to a cpuset, then the kernel will automatically update the "
1919 "I<cpus_allowed> of all processes attached to CPUs in that cpuset to allow "
1920 "all CPUs. When memory hot-plug functionality for removing memory nodes is "
1921 "available, a similar exception is expected to apply there as well. In "
1922 "general, the kernel prefers to violate cpuset placement, rather than "
1923 "starving a process that has had all its allowed CPUs or memory nodes taken "
1924 "offline. User code should reconfigure cpusets to refer only to online CPUs "
1925 "and memory nodes when using hot-plug to add or remove such resources."
1926 msgstr ""
1927
1928 #. type: Plain text
1929 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
1930 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
1931 msgid ""
1932 "A few kernel-critical, internal memory-allocation requests, marked "
1933 "GFP_ATOMIC, must be satisfied immediately. The kernel may drop some request "
1934 "or malfunction if one of these allocations fail. If such a request cannot "
1935 "be satisfied within the current process's cpuset, then we relax the cpuset, "
1936 "and look for memory anywhere we can find it. It's better to violate the "
1937 "cpuset than stress the kernel."
1938 msgstr ""
1939
1940 #. type: Plain text
1941 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
1942 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
1943 msgid ""
1944 "Allocations of memory requested by kernel drivers while processing an "
1945 "interrupt lack any relevant process context, and are not confined by cpusets."
1946 msgstr ""
1947
1948 #. type: SS
1949 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
1950 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
1951 #, no-wrap
1952 msgid "Renaming cpusets"
1953 msgstr ""
1954
1955 #. ================== ERRORS ==================
1956 #. type: Plain text
1957 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
1958 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
1959 msgid ""
1960 "You can use the B<rename>(2) system call to rename cpusets. Only simple "
1961 "renaming is supported; that is, changing the name of a cpuset directory is "
1962 "permitted, but moving a directory into a different directory is not "
1963 "permitted."
1964 msgstr ""
1965
1966 #. type: SH
1967 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
1968 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
1969 #, no-wrap
1970 msgid "ERRORS"
1971 msgstr ""
1972
1973 #. type: Plain text
1974 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
1975 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
1976 msgid ""
1977 "The Linux kernel implementation of cpusets sets I<errno> to specify the "
1978 "reason for a failed system call affecting cpusets."
1979 msgstr ""
1980
1981 #. type: Plain text
1982 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
1983 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
1984 msgid ""
1985 "The possible I<errno> settings and their meaning when set on a failed cpuset "
1986 "call are as listed below."
1987 msgstr ""
1988
1989 #. type: TP
1990 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
1991 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
1992 #, no-wrap
1993 msgid "B<E2BIG>"
1994 msgstr ""
1995
1996 #. type: Plain text
1997 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
1998 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
1999 msgid ""
2000 "Attempted a B<write>(2) on a special cpuset file with a length larger than "
2001 "some kernel-determined upper limit on the length of such writes."
2002 msgstr ""
2003
2004 #. type: TP
2005 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
2006 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
2007 #, no-wrap
2008 msgid "B<EACCES>"
2009 msgstr ""
2010
2011 #. type: Plain text
2012 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
2013 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
2014 msgid ""
2015 "Attempted to B<write>(2) the process ID (PID) of a process to a cpuset "
2016 "I<tasks> file when one lacks permission to move that process."
2017 msgstr ""
2018
2019 #. type: Plain text
2020 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
2021 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
2022 msgid ""
2023 "Attempted to add, using B<write>(2), a CPU or memory node to a cpuset, when "
2024 "that CPU or memory node was not already in its parent."
2025 msgstr ""
2026
2027 #. type: Plain text
2028 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
2029 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
2030 msgid ""
2031 "Attempted to set, using B<write>(2), I<cpuset.cpu_exclusive> or "
2032 "I<cpuset.mem_exclusive> on a cpuset whose parent lacks the same setting."
2033 msgstr ""
2034
2035 #. type: Plain text
2036 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
2037 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
2038 msgid "Attempted to B<write>(2) a I<cpuset.memory_pressure> file."
2039 msgstr ""
2040
2041 #. type: Plain text
2042 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
2043 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
2044 msgid "Attempted to create a file in a cpuset directory."
2045 msgstr ""
2046
2047 #. type: TP
2048 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
2049 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
2050 #, no-wrap
2051 msgid "B<EBUSY>"
2052 msgstr ""
2053
2054 #. type: Plain text
2055 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
2056 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
2057 msgid ""
2058 "Attempted to remove, using B<rmdir>(2), a cpuset with attached processes."
2059 msgstr ""
2060
2061 #. type: Plain text
2062 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
2063 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
2064 msgid "Attempted to remove, using B<rmdir>(2), a cpuset with child cpusets."
2065 msgstr ""
2066
2067 #. type: Plain text
2068 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
2069 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
2070 msgid ""
2071 "Attempted to remove a CPU or memory node from a cpuset that is also in a "
2072 "child of that cpuset."
2073 msgstr ""
2074
2075 #. type: TP
2076 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
2077 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
2078 #, no-wrap
2079 msgid "B<EEXIST>"
2080 msgstr ""
2081
2082 #. type: Plain text
2083 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
2084 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
2085 msgid "Attempted to create, using B<mkdir>(2), a cpuset that already exists."
2086 msgstr ""
2087
2088 #. type: Plain text
2089 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
2090 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
2091 msgid "Attempted to B<rename>(2) a cpuset to a name that already exists."
2092 msgstr ""
2093
2094 #. type: TP
2095 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
2096 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
2097 #, no-wrap
2098 msgid "B<EFAULT>"
2099 msgstr ""
2100
2101 #. type: Plain text
2102 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
2103 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
2104 msgid ""
2105 "Attempted to B<read>(2) or B<write>(2) a cpuset file using a buffer that "
2106 "is outside the writing processes accessible address space."
2107 msgstr ""
2108
2109 #. type: TP
2110 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
2111 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
2112 #, no-wrap
2113 msgid "B<EINVAL>"
2114 msgstr ""
2115
2116 #. type: Plain text
2117 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
2118 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
2119 msgid ""
2120 "Attempted to change a cpuset, using B<write>(2), in a way that would violate "
2121 "a I<cpu_exclusive> or I<mem_exclusive> attribute of that cpuset or any of "
2122 "its siblings."
2123 msgstr ""
2124
2125 #. type: Plain text
2126 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
2127 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
2128 msgid ""
2129 "Attempted to B<write>(2) an empty I<cpuset.cpus> or I<cpuset.mems> list to "
2130 "a cpuset which has attached processes or child cpusets."
2131 msgstr ""
2132
2133 #. type: Plain text
2134 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
2135 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
2136 msgid ""
2137 "Attempted to B<write>(2) a I<cpuset.cpus> or I<cpuset.mems> list which "
2138 "included a range with the second number smaller than the first number."
2139 msgstr ""
2140
2141 #. type: Plain text
2142 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
2143 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
2144 msgid ""
2145 "Attempted to B<write>(2) a I<cpuset.cpus> or I<cpuset.mems> list which "
2146 "included an invalid character in the string."
2147 msgstr ""
2148
2149 #. type: Plain text
2150 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
2151 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
2152 msgid ""
2153 "Attempted to B<write>(2) a list to a I<cpuset.cpus> file that did not "
2154 "include any online CPUs."
2155 msgstr ""
2156
2157 #. type: Plain text
2158 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
2159 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
2160 msgid ""
2161 "Attempted to B<write>(2) a list to a I<cpuset.mems> file that did not "
2162 "include any online memory nodes."
2163 msgstr ""
2164
2165 #. type: Plain text
2166 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
2167 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
2168 msgid ""
2169 "Attempted to B<write>(2) a list to a I<cpuset.mems> file that included a "
2170 "node that held no memory."
2171 msgstr ""
2172
2173 #. type: TP
2174 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
2175 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
2176 #, no-wrap
2177 msgid "B<EIO>"
2178 msgstr ""
2179
2180 #. type: Plain text
2181 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
2182 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
2183 msgid ""
2184 "Attempted to B<write>(2) a string to a cpuset I<tasks> file that does not "
2185 "begin with an ASCII decimal integer."
2186 msgstr ""
2187
2188 #. type: Plain text
2189 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
2190 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
2191 msgid "Attempted to B<rename>(2) a cpuset into a different directory."
2192 msgstr ""
2193
2194 #. type: TP
2195 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
2196 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
2197 #, no-wrap
2198 msgid "B<ENAMETOOLONG>"
2199 msgstr ""
2200
2201 #. type: Plain text
2202 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
2203 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
2204 msgid ""
2205 "Attempted to B<read>(2) a I</proc/>pidI</cpuset> file for a cpuset path "
2206 "that is longer than the kernel page size."
2207 msgstr ""
2208
2209 #. type: Plain text
2210 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
2211 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
2212 msgid ""
2213 "Attempted to create, using B<mkdir>(2), a cpuset whose base directory name "
2214 "is longer than 255 characters."
2215 msgstr ""
2216
2217 #. type: Plain text
2218 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
2219 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
2220 msgid ""
2221 "Attempted to create, using B<mkdir>(2), a cpuset whose full pathname, "
2222 "including the mount point (typically \"/dev/cpuset/\") prefix, is longer "
2223 "than 4095 characters."
2224 msgstr ""
2225
2226 #. type: TP
2227 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
2228 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
2229 #, no-wrap
2230 msgid "B<ENODEV>"
2231 msgstr ""
2232
2233 #. type: Plain text
2234 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
2235 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
2236 msgid ""
2237 "The cpuset was removed by another process at the same time as a B<write>(2) "
2238 "was attempted on one of the pseudo-files in the cpuset directory."
2239 msgstr ""
2240
2241 #. type: TP
2242 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
2243 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
2244 #, no-wrap
2245 msgid "B<ENOENT>"
2246 msgstr ""
2247
2248 #. type: Plain text
2249 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
2250 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
2251 msgid ""
2252 "Attempted to create, using B<mkdir>(2), a cpuset in a parent cpuset that "
2253 "doesn't exist."
2254 msgstr ""
2255
2256 #. type: Plain text
2257 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
2258 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
2259 msgid ""
2260 "Attempted to B<access>(2) or B<open>(2) a nonexistent file in a cpuset "
2261 "directory."
2262 msgstr ""
2263
2264 #. type: TP
2265 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
2266 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
2267 #, no-wrap
2268 msgid "B<ENOMEM>"
2269 msgstr ""
2270
2271 #. type: Plain text
2272 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
2273 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
2274 msgid ""
2275 "Insufficient memory is available within the kernel; can occur on a variety "
2276 "of system calls affecting cpusets, but only if the system is extremely short "
2277 "of memory."
2278 msgstr ""
2279
2280 #. type: TP
2281 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
2282 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
2283 #, no-wrap
2284 msgid "B<ENOSPC>"
2285 msgstr ""
2286
2287 #. type: Plain text
2288 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
2289 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
2290 msgid ""
2291 "Attempted to B<write>(2) the process ID (PID) of a process to a cpuset "
2292 "I<tasks> file when the cpuset had an empty I<cpuset.cpus> or empty "
2293 "I<cpuset.mems> setting."
2294 msgstr ""
2295
2296 #. type: Plain text
2297 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
2298 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
2299 msgid ""
2300 "Attempted to B<write>(2) an empty I<cpuset.cpus> or I<cpuset.mems> setting "
2301 "to a cpuset that has tasks attached."
2302 msgstr ""
2303
2304 #. type: TP
2305 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
2306 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
2307 #, no-wrap
2308 msgid "B<ENOTDIR>"
2309 msgstr ""
2310
2311 #. type: Plain text
2312 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
2313 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
2314 msgid "Attempted to B<rename>(2) a nonexistent cpuset."
2315 msgstr ""
2316
2317 #. type: TP
2318 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
2319 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
2320 #, no-wrap
2321 msgid "B<EPERM>"
2322 msgstr ""
2323
2324 #. type: Plain text
2325 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
2326 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
2327 msgid "Attempted to remove a file from a cpuset directory."
2328 msgstr ""
2329
2330 #. type: TP
2331 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
2332 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
2333 #, no-wrap
2334 msgid "B<ERANGE>"
2335 msgstr ""
2336
2337 #. type: Plain text
2338 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
2339 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
2340 msgid ""
2341 "Specified a I<cpuset.cpus> or I<cpuset.mems> list to the kernel which "
2342 "included a number too large for the kernel to set in its bit masks."
2343 msgstr ""
2344
2345 #. type: TP
2346 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
2347 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
2348 #, no-wrap
2349 msgid "B<ESRCH>"
2350 msgstr ""
2351
2352 #. ================== VERSIONS ==================
2353 #. type: Plain text
2354 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
2355 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
2356 msgid ""
2357 "Attempted to B<write>(2) the process ID (PID) of a nonexistent process to a "
2358 "cpuset I<tasks> file."
2359 msgstr ""
2360
2361 #. type: SH
2362 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
2363 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
2364 #, no-wrap
2365 msgid "VERSIONS"
2366 msgstr ""
2367
2368 #. ================== NOTES ==================
2369 #. type: Plain text
2370 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
2371 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
2372 msgid "Cpusets appeared in Linux 2.6.12."
2373 msgstr ""
2374
2375 #. type: SH
2376 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
2377 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
2378 #, no-wrap
2379 msgid "NOTES"
2380 msgstr ""
2381
2382 #. ================== BUGS ==================
2383 #. type: Plain text
2384 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
2385 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
2386 msgid ""
2387 "Despite its name, the I<pid> parameter is actually a thread ID, and each "
2388 "thread in a threaded group can be attached to a different cpuset. The value "
2389 "returned from a call to B<gettid>(2) can be passed in the argument I<pid>."
2390 msgstr ""
2391
2392 #. type: SH
2393 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
2394 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
2395 #, no-wrap
2396 msgid "BUGS"
2397 msgstr ""
2398
2399 #. ================== EXAMPLES ==================
2400 #. type: Plain text
2401 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
2402 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
2403 msgid ""
2404 "I<cpuset.memory_pressure> cpuset files can be opened for writing, creation, "
2405 "or truncation, but then the B<write>(2) fails with I<errno> set to "
2406 "B<EACCES>, and the creation and truncation options on B<open>(2) have no "
2407 "effect."
2408 msgstr ""
2409
2410 #. type: SH
2411 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
2412 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
2413 #, no-wrap
2414 msgid "EXAMPLES"
2415 msgstr ""
2416
2417 #. type: Plain text
2418 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
2419 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
2420 msgid ""
2421 "The following examples demonstrate querying and setting cpuset options using "
2422 "shell commands."
2423 msgstr ""
2424
2425 #. type: SS
2426 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
2427 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
2428 #, no-wrap
2429 msgid "Creating and attaching to a cpuset."
2430 msgstr ""
2431
2432 #. type: Plain text
2433 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
2434 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
2435 msgid ""
2436 "To create a new cpuset and attach the current command shell to it, the steps "
2437 "are:"
2438 msgstr ""
2439
2440 #. type: IP
2441 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
2442 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
2443 #, no-wrap
2444 msgid "(1)"
2445 msgstr ""
2446
2447 #. type: Plain text
2448 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
2449 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
2450 msgid "mkdir /dev/cpuset (if not already done)"
2451 msgstr ""
2452
2453 #. type: IP
2454 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
2455 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
2456 #, no-wrap
2457 msgid "(2)"
2458 msgstr ""
2459
2460 #. type: Plain text
2461 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
2462 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
2463 msgid "mount -t cpuset none /dev/cpuset (if not already done)"
2464 msgstr ""
2465
2466 #. type: IP
2467 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
2468 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
2469 #, no-wrap
2470 msgid "(3)"
2471 msgstr ""
2472
2473 #. type: Plain text
2474 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
2475 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
2476 msgid "Create the new cpuset using B<mkdir>(1)."
2477 msgstr ""
2478
2479 #. type: IP
2480 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
2481 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
2482 #, no-wrap
2483 msgid "(4)"
2484 msgstr ""
2485
2486 #. type: Plain text
2487 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
2488 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
2489 msgid "Assign CPUs and memory nodes to the new cpuset."
2490 msgstr ""
2491
2492 #. type: IP
2493 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
2494 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
2495 #, no-wrap
2496 msgid "(5)"
2497 msgstr ""
2498
2499 #. type: Plain text
2500 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
2501 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
2502 msgid "Attach the shell to the new cpuset."
2503 msgstr ""
2504
2505 #. type: Plain text
2506 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
2507 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
2508 msgid ""
2509 "For example, the following sequence of commands will set up a cpuset named "
2510 "\"Charlie\", containing just CPUs 2 and 3, and memory node 1, and then "
2511 "attach the current shell to that cpuset."
2512 msgstr ""
2513
2514 #. type: Plain text
2515 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
2516 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
2517 #, no-wrap
2518 msgid ""
2519 "$B< mkdir /dev/cpuset>\n"
2520 "$B< mount -t cpuset cpuset /dev/cpuset>\n"
2521 "$B< cd /dev/cpuset>\n"
2522 "$B< mkdir Charlie>\n"
2523 "$B< cd Charlie>\n"
2524 "$B< /bin/echo 2-3 E<gt> cpuset.cpus>\n"
2525 "$B< /bin/echo 1 E<gt> cpuset.mems>\n"
2526 "$B< /bin/echo $$ E<gt> tasks>\n"
2527 "# The current shell is now running in cpuset Charlie\n"
2528 "# The next line should display \\[aq]/Charlie\\[aq]\n"
2529 "$B< cat /proc/self/cpuset>\n"
2530 msgstr ""
2531
2532 #. type: SS
2533 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
2534 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
2535 #, no-wrap
2536 msgid "Migrating a job to different memory nodes."
2537 msgstr ""
2538
2539 #. type: Plain text
2540 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
2541 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
2542 msgid ""
2543 "To migrate a job (the set of processes attached to a cpuset) to different "
2544 "CPUs and memory nodes in the system, including moving the memory pages "
2545 "currently allocated to that job, perform the following steps."
2546 msgstr ""
2547
2548 #. type: Plain text
2549 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
2550 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
2551 msgid ""
2552 "Let's say we want to move the job in cpuset I<alpha> (CPUs 4\\[en]7 and "
2553 "memory nodes 2\\[en]3) to a new cpuset I<beta> (CPUs 16\\[en]19 and memory "
2554 "nodes 8\\[en]9)."
2555 msgstr ""
2556
2557 #. type: Plain text
2558 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
2559 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
2560 msgid "First create the new cpuset I<beta>."
2561 msgstr ""
2562
2563 #. type: Plain text
2564 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
2565 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
2566 msgid "Then allow CPUs 16\\[en]19 and memory nodes 8\\[en]9 in I<beta>."
2567 msgstr ""
2568
2569 #. type: Plain text
2570 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
2571 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
2572 msgid "Then enable I<memory_migration> in I<beta>."
2573 msgstr ""
2574
2575 #. type: Plain text
2576 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
2577 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
2578 msgid "Then move each process from I<alpha> to I<beta>."
2579 msgstr ""
2580
2581 #. type: Plain text
2582 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
2583 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
2584 msgid "The following sequence of commands accomplishes this."
2585 msgstr ""
2586
2587 #. type: Plain text
2588 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
2589 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
2590 #, no-wrap
2591 msgid ""
2592 "$B< cd /dev/cpuset>\n"
2593 "$B< mkdir beta>\n"
2594 "$B< cd beta>\n"
2595 "$B< /bin/echo 16-19 E<gt> cpuset.cpus>\n"
2596 "$B< /bin/echo 8-9 E<gt> cpuset.mems>\n"
2597 "$B< /bin/echo 1 E<gt> cpuset.memory_migrate>\n"
2598 "$B< while read i; do /bin/echo $i; done E<lt> ../alpha/tasks E<gt> tasks>\n"
2599 msgstr ""
2600
2601 #. type: Plain text
2602 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
2603 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
2604 msgid ""
2605 "The above should move any processes in I<alpha> to I<beta>, and any memory "
2606 "held by these processes on memory nodes 2\\[en]3 to memory nodes 8\\[en]9, "
2607 "respectively."
2608 msgstr ""
2609
2610 #. type: Plain text
2611 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
2612 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
2613 msgid "Notice that the last step of the above sequence did not do:"
2614 msgstr ""
2615
2616 #. type: Plain text
2617 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
2618 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
2619 #, no-wrap
2620 msgid "$B< cp ../alpha/tasks tasks>\n"
2621 msgstr ""
2622
2623 #. type: Plain text
2624 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
2625 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
2626 msgid ""
2627 "The I<while> loop, rather than the seemingly easier use of the B<cp>(1) "
2628 "command, was necessary because only one process PID at a time may be written "
2629 "to the I<tasks> file."
2630 msgstr ""
2631
2632 #. type: Plain text
2633 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
2634 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
2635 msgid ""
2636 "The same effect (writing one PID at a time) as the I<while> loop can be "
2637 "accomplished more efficiently, in fewer keystrokes and in syntax that works "
2638 "on any shell, but alas more obscurely, by using the B<-u> (unbuffered) "
2639 "option of B<sed>(1):"
2640 msgstr ""
2641
2642 #. type: Plain text
2643 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
2644 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
2645 #, no-wrap
2646 msgid "$B< sed -un p E<lt> ../alpha/tasks E<gt> tasks>\n"
2647 msgstr ""
2648
2649 #. ================== SEE ALSO ==================
2650 #. type: SH
2651 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
2652 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
2653 #, no-wrap
2654 msgid "SEE ALSO"
2655 msgstr ""
2656
2657 #. type: Plain text
2658 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
2659 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
2660 msgid ""
2661 "B<taskset>(1), B<get_mempolicy>(2), B<getcpu>(2), B<mbind>(2), "
2662 "B<sched_getaffinity>(2), B<sched_setaffinity>(2), B<sched_setscheduler>(2), "
2663 "B<set_mempolicy>(2), B<CPU_SET>(3), B<proc>(5), B<cgroups>(7), B<numa>(7), "
2664 "B<sched>(7), B<migratepages>(8), B<numactl>(8)"
2665 msgstr ""
2666
2667 #. type: Plain text
2668 #: archlinux debian-unstable mageia-cauldron opensuse-leap-16-1
2669 #: opensuse-tumbleweed
2670 msgid ""
2671 "I<Documentation/admin-guide/cgroup-v1/cpusets.rst> in the Linux kernel "
2672 "source tree"
2673 msgstr ""
2674
2675 #. type: TH
2676 #: debian-trixie fedora-44 fedora-rawhide
2677 #, no-wrap
2678 msgid "2024-06-15"
2679 msgstr ""
2680
2681 #. type: TH
2682 #: debian-trixie
2683 #, no-wrap
2684 msgid "Linux man-pages 6.9.1"
2685 msgstr ""
2686
2687 #. type: Plain text
2688 #: debian-trixie fedora-44 fedora-rawhide
2689 msgid ""
2690 "Typically, a cpuset is used to manage the CPU and memory-node confinement "
2691 "for a set of cooperating processes such as a batch scheduler job, and these "
2692 "other mechanisms are used to manage the placement of individual processes or "
2693 "memory regions within that set or job."
2694 msgstr ""
2695
2696 #. type: Plain text
2697 #: debian-trixie fedora-44 fedora-rawhide
2698 msgid ""
2699 "List of the process IDs (PIDs) of the processes in that cpuset. The list is "
2700 "formatted as a series of ASCII decimal numbers, each followed by a newline. "
2701 "A process may be added to a cpuset (automatically removing it from the "
2702 "cpuset that previously contained it) by writing its PID to that cpuset's "
2703 "I<tasks> file (with or without a trailing newline)."
2704 msgstr ""
2705
2706 #. ================== memory_spread_slab ==================
2707 #. type: Plain text
2708 #: debian-trixie fedora-44 fedora-rawhide
2709 msgid ""
2710 "Flag (0 or 1). If set (1), pages in the kernel page cache (filesystem "
2711 "buffers) are uniformly spread across the cpuset. By default, this is off "
2712 "(0) in the top cpuset, and inherited from the parent cpuset in newly created "
2713 "cpusets. See the B<Memory Spread> section, below."
2714 msgstr ""
2715
2716 #. ================== sched_load_balance ==================
2717 #. type: Plain text
2718 #: debian-trixie fedora-44 fedora-rawhide
2719 msgid ""
2720 "Flag (0 or 1). If set (1), the kernel slab caches for file I/O (directory "
2721 "and inode structures) are uniformly spread across the cpuset. By default, "
2722 "is off (0) in the top cpuset, and inherited from the parent cpuset in newly "
2723 "created cpusets. See the B<Memory Spread> section, below."
2724 msgstr ""
2725
2726 #. ================== sched_relax_domain_level ==================
2727 #. type: Plain text
2728 #: debian-trixie fedora-44 fedora-rawhide
2729 msgid ""
2730 "Flag (0 or 1). If set (1, the default) the kernel will automatically load "
2731 "balance processes in that cpuset over the allowed CPUs in that cpuset. If "
2732 "cleared (0) the kernel will avoid load balancing processes in this cpuset, "
2733 "I<unless> some other cpuset with overlapping CPUs has its "
2734 "I<sched_load_balance> flag set. See B<Scheduler Load Balancing>, below, for "
2735 "further details."
2736 msgstr ""
2737
2738 #. ================== proc cpuset ==================
2739 #. type: Plain text
2740 #: debian-trixie fedora-44 fedora-rawhide
2741 msgid ""
2742 "Integer, between -1 and a small positive value. The "
2743 "I<sched_relax_domain_level> controls the width of the range of CPUs over "
2744 "which the kernel scheduler performs immediate rebalancing of runnable tasks "
2745 "across CPUs. If I<sched_load_balance> is disabled, then the setting of "
2746 "I<sched_relax_domain_level> does not matter, as no such load balancing is "
2747 "done. If I<sched_load_balance> is enabled, then the higher the value of the "
2748 "I<sched_relax_domain_level>, the wider the range of CPUs over which "
2749 "immediate load balancing is attempted. See B<Scheduler Relax Domain Level>, "
2750 "below, for further details."
2751 msgstr ""
2752
2753 #. type: Plain text
2754 #: debian-trixie fedora-44 fedora-rawhide
2755 msgid ""
2756 "The B<Mask Format> is used to represent CPU and memory-node bit masks in the "
2757 "I</proc/>pidI</status> file."
2758 msgstr ""
2759
2760 #. type: Plain text
2761 #: debian-trixie fedora-44 fedora-rawhide
2762 msgid "Examples of the B<Mask Format>:"
2763 msgstr ""
2764
2765 #. type: Plain text
2766 #: debian-trixie fedora-44 fedora-rawhide
2767 msgid ""
2768 "The B<List Format> for I<cpus> and I<mems> is a comma-separated list of CPU "
2769 "or memory-node numbers and ranges of numbers, in ASCII decimal."
2770 msgstr ""
2771
2772 #. type: Plain text
2773 #: debian-trixie fedora-44 fedora-rawhide
2774 msgid "Examples of the B<List Format>:"
2775 msgstr ""
2776
2777 #. commit 45ce80fb6b6f9594d1396d44dd7e7c02d596fef8
2778 #. type: Plain text
2779 #: debian-trixie fedora-44 fedora-rawhide
2780 msgid ""
2781 "I<Documentation/admin-guide/cgroup-v1/cpusets.rst> in the Linux kernel "
2782 "source tree (or I<Documentation/cgroup-v1/cpusets.txt> before Linux 4.18, "
2783 "and I<Documentation/cpusets.txt> before Linux 2.6.29)"
2784 msgstr ""
2785
2786 #. type: TH
2787 #: fedora-44 fedora-rawhide
2788 #, no-wrap
2789 msgid "Linux man-pages 6.13"
2790 msgstr ""
2791
2792 #. type: TH
2793 #: mageia-cauldron
2794 #, no-wrap
2795 msgid "Linux man-pages 6.17"
2796 msgstr ""
2797
2798 #. type: TH
2799 #: opensuse-leap-16-1 opensuse-tumbleweed
2800 #, no-wrap
2801 msgid "Linux man-pages (unreleased)"
2802 msgstr ""