Debian Codegraph @

po/ru/man2/set_mempolicy.2.po

raw
1 # Russian translation of manpages
2 # This file is distributed under the same license as the manpages-l10n package.
3 # Copyright © of this file:
4 # Alexander Golubev <[email protected]>, 2018.
5 # Azamat Hackimov <[email protected]>, 2011, 2014-2016.
6 # Hotellook, 2014.
7 # Nikita <[email protected]>, 2014.
8 # Spiros Georgaras <[email protected]>, 2016.
9 # Vladislav <[email protected]>, 2015.
10 # Yuri Kozlov <[email protected]>, 2011-2019.
11 # Иван Павлов <[email protected]>, 2017.
12 msgid ""
13 msgstr ""
14 "Project-Id-Version: manpages-l10n\n"
15 "POT-Creation-Date: 2026-06-05 06:43+0200\n"
16 "PO-Revision-Date: 2024-12-21 19:49+0300\n"
17 "Last-Translator: Yuri Kozlov <[email protected]>\n"
18 "Language-Team: Russian <[email protected]>\n"
19 "Language: ru\n"
20 "MIME-Version: 1.0\n"
21 "Content-Type: text/plain; charset=UTF-8\n"
22 "Content-Transfer-Encoding: 8bit\n"
23 "Plural-Forms: nplurals=4; plural=(n%10==1 && n%100!=11 ? 0 : n%10>=2 && "
24 "n%10<=4 && (n%100<12 || n%100>14) ? 1 : n%10==0 || (n%10>=5 && n%10<=9) || "
25 "(n%100>=11 && n%100<=14)? 2 : 3);\n"
26 "X-Generator: Lokalize 2.0\n"
27
28 #. type: TH
29 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
30 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
31 #, no-wrap
32 msgid "set_mempolicy"
33 msgstr "set_mempolicy"
34
35 #. type: TH
36 #: archlinux debian-unstable mageia-cauldron opensuse-leap-16-1
37 #: opensuse-tumbleweed
38 #, no-wrap
39 msgid "2026-02-08"
40 msgstr "8 февраля 2026 г."
41
42 #. type: TH
43 #: archlinux debian-unstable
44 #, fuzzy, no-wrap
45 #| msgid "Linux man-pages 6.17"
46 msgid "Linux man-pages 6.18"
47 msgstr "Справочные страницы Linux 6.17"
48
49 #. type: SH
50 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
51 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
52 #, no-wrap
53 msgid "NAME"
54 msgstr "НАИМЕНОВАНИЕ"
55
56 #. type: Plain text
57 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
58 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
59 msgid ""
60 "set_mempolicy - set default NUMA memory policy for a thread and its children"
61 msgstr ""
62 "set_mempolicy - настраивает политику работы с памятью NUMA для потока и его "
63 "потомков"
64
65 #. type: SH
66 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
67 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
68 #, no-wrap
69 msgid "LIBRARY"
70 msgstr "БИБЛИОТЕКА"
71
72 #. type: Plain text
73 #: archlinux debian-unstable fedora-44 fedora-rawhide mageia-cauldron
74 #: opensuse-leap-16-1 opensuse-tumbleweed
75 #, fuzzy
76 #| msgid ""
77 #| "NUMA (Non-Uniform Memory Access) policy library (I<libnuma>, I<-lnuma>)"
78 msgid ""
79 "NUMA (Non-Uniform Memory Access) policy library (I<libnuma>,\\ I<-lnuma>)"
80 msgstr ""
81 "Библиотека политик NUMA (неоднородный доступ к памяти) (I<libnuma>, I<-"
82 "lnuma>)"
83
84 #. type: SH
85 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
86 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
87 #, no-wrap
88 msgid "SYNOPSIS"
89 msgstr "СИНТАКСИС"
90
91 #. type: Plain text
92 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
93 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
94 #, no-wrap
95 msgid "B<#include E<lt>numaif.hE<gt>>\n"
96 msgstr "B<#include E<lt>numaif.hE<gt>>\n"
97
98 #. type: Plain text
99 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
100 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
101 #, no-wrap
102 msgid ""
103 "B<long set_mempolicy(int >I<mode>B<, const unsigned long *>I<nodemask>B<,>\n"
104 "B< unsigned long >I<maxnode>B<);>\n"
105 msgstr ""
106 "B<long set_mempolicy(int >I<mode>B<, const unsigned long *>I<nodemask>B<,>\n"
107 "B< unsigned long >I<maxnode>B<);>\n"
108
109 #. type: SH
110 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
111 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
112 #, no-wrap
113 msgid "DESCRIPTION"
114 msgstr "ОПИСАНИЕ"
115
116 #. type: Plain text
117 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
118 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
119 msgid ""
120 "B<set_mempolicy>() sets the NUMA memory policy of the calling thread, which "
121 "consists of a policy mode and zero or more nodes, to the values specified by "
122 "the I<mode>, I<nodemask>, and I<maxnode> arguments."
123 msgstr ""
124 "Вызов B<set_mempolicy>() устанавливает политику работы с памятью NUMA для "
125 "вызывающей нити, которая определяется режимом политики и нулём или более "
126 "узлами (задаются в аргументах I<mode>, I<nodemask> и I<maxnode>)."
127
128 #. type: Plain text
129 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
130 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
131 msgid ""
132 "A NUMA machine has different memory controllers with different distances to "
133 "specific CPUs. The memory policy defines from which node memory is "
134 "allocated for the thread."
135 msgstr ""
136 "Машина с NUMA имеет различные контроллеры памяти с различными расстояниями "
137 "до определённых ЦП. Политикой памяти задаётся узел, на котором выделяется "
138 "память для нити."
139
140 #. type: Plain text
141 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
142 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
143 msgid ""
144 "This system call defines the default policy for the thread. The thread "
145 "policy governs allocation of pages in the process's address space outside of "
146 "memory ranges controlled by a more specific policy set by B<mbind>(2). The "
147 "thread default policy also controls allocation of any pages for memory-"
148 "mapped files mapped using the B<mmap>(2) call with the B<MAP_PRIVATE> flag "
149 "and that are only read (loaded) from by the thread and of memory-mapped "
150 "files mapped using the B<mmap>(2) call with the B<MAP_SHARED> flag, "
151 "regardless of the access type. The policy is applied only when a new page "
152 "is allocated for the thread. For anonymous memory this is when the page is "
153 "first touched by the thread."
154 msgstr ""
155 "Этот системный вызов устанавливает в нити политику по умолчанию. Политика "
156 "нити управляет выделением страниц в адресном пространстве процесса из "
157 "областей памяти, которые не контролируются специальной политикой, заданной с "
158 "помощью B<mbind>(2). Политикой нити по умолчанию также контролируется "
159 "выделение любых страниц для отображаемых в память файлов с помощью вызова "
160 "B<mmap>(2) с флагом B<MAP_PRIVATE> (которые читаются (загружаются) только "
161 "этой нитью) и для отображаемых в память файлов с помощью вызова B<mmap>(2) с "
162 "флагом B<MAP_SHARED> (независимо от типа доступа). Эта политика применяется "
163 "только когда нить запрашивает выделение новой страницы. Для анонимной памяти "
164 "это применяется, когда страница впервые затрагивается приложением."
165
166 #. type: Plain text
167 #: archlinux debian-unstable fedora-44 fedora-rawhide mageia-cauldron
168 #: opensuse-leap-16-1 opensuse-tumbleweed
169 #, fuzzy
170 #| msgid ""
171 #| "The I<mode> argument must specify one of B<MPOL_DEFAULT>, B<MPOL_BIND>, "
172 #| "B<MPOL_INTERLEAVE>, B<MPOL_PREFERRED>, or B<MPOL_LOCAL> (which are "
173 #| "described in detail below). All modes except B<MPOL_DEFAULT> require the "
174 #| "caller to specify the node or nodes to which the mode applies, via the "
175 #| "I<nodemask> argument."
176 msgid ""
177 "The I<mode> argument must specify one of B<MPOL_DEFAULT>, B<MPOL_BIND>, "
178 "B<MPOL_INTERLEAVE>, B<MPOL_WEIGHTED_INTERLEAVE>, B<MPOL_PREFERRED>, "
179 "B<MPOL_PREFERRED_MANY>, or B<MPOL_LOCAL> (which are described in detail "
180 "below). All modes except B<MPOL_DEFAULT> require the caller to specify the "
181 "node or nodes to which the mode applies, via the I<nodemask> argument."
182 msgstr ""
183 "В аргументе I<mode> должно быть указано одно из следующих значений: "
184 "B<MPOL_DEFAULT>, B<MPOL_BIND>, B<MPOL_INTERLEAVE>, B<MPOL_PREFERRED> или "
185 "B<MPOL_LOCAL> (описано далее). Для всех режимов, за исключением "
186 "B<MPOL_DEFAULT>, требуется, чтобы вызывающий указывал в аргументе "
187 "I<nodemask> узел или узлы, для которых применяется режим."
188
189 #. type: Plain text
190 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
191 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
192 msgid ""
193 "The I<mode> argument may also include an optional I<mode flag>. The "
194 "supported I<mode flags> are:"
195 msgstr ""
196 "Аргумент I<mode> также может содержать необязательный I<флаг режима>. "
197 "Поддерживаемые I<флаги режима>:"
198
199 #. type: TP
200 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
201 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
202 #, no-wrap
203 msgid "B<MPOL_F_NUMA_BALANCING> (since Linux 5.12)"
204 msgstr "B<MPOL_F_NUMA_BALANCING> (начиная с Linux 5.12)"
205
206 #. commit bda420b985054a3badafef23807c4b4fa38a3dff
207 #. type: Plain text
208 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
209 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
210 msgid ""
211 "When I<mode> is B<MPOL_BIND>, enable the kernel NUMA balancing for the task "
212 "if it is supported by the kernel. If the flag isn't supported by the "
213 "kernel, or is used with I<mode> other than B<MPOL_BIND>, -1 is returned and "
214 "I<errno> is set to B<EINVAL>."
215 msgstr ""
216
217 #. type: TP
218 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
219 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
220 #, no-wrap
221 msgid "B<MPOL_F_RELATIVE_NODES> (since Linux 2.6.26)"
222 msgstr "B<MPOL_F_RELATIVE_NODES> (начиная с Linux 2.6.26)"
223
224 #. type: Plain text
225 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
226 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
227 msgid ""
228 "A nonempty I<nodemask> specifies node IDs that are relative to the set of "
229 "node IDs allowed by the process's current cpuset."
230 msgstr ""
231 "В аргументе I<nodemask> указываются идентификаторы узлов из набора "
232 "идентификаторов узлов, разрешённых процессу текущим контекстом набора "
233 "процессоров."
234
235 #. type: TP
236 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
237 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
238 #, no-wrap
239 msgid "B<MPOL_F_STATIC_NODES> (since Linux 2.6.26)"
240 msgstr "B<MPOL_F_STATIC_NODES> (начиная с Linux 2.6.26)"
241
242 #. type: Plain text
243 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
244 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
245 msgid ""
246 "A nonempty I<nodemask> specifies physical node IDs. Linux will not remap "
247 "the I<nodemask> when the process moves to a different cpuset context, nor "
248 "when the set of nodes allowed by the process's current cpuset context "
249 "changes."
250 msgstr ""
251 "В аргументе I<nodemask> указываются идентификаторы физических узлов. Linux "
252 "не будет перераспределять I<nodemask>, если процесс перемещается в другой "
253 "контекст набора процессоров или когда изменяется набор узлов, который "
254 "доступен процессу согласно текущему контексту набора процессоров."
255
256 #. type: Plain text
257 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
258 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
259 msgid ""
260 "I<nodemask> points to a bit mask of node IDs that contains up to I<maxnode> "
261 "bits. The bit mask size is rounded to the next multiple of "
262 "I<sizeof(unsigned long)>, but the kernel will use bits only up to "
263 "I<maxnode>. A NULL value of I<nodemask> or a I<maxnode> value of zero "
264 "specifies the empty set of nodes. If the value of I<maxnode> is zero, the "
265 "I<nodemask> argument is ignored."
266 msgstr ""
267 "В I<nodemask> указывается битовая маска идентификаторов узлов, которая может "
268 "содержать до I<maxnode> бит. Размер битовой маски округляется до следующего "
269 "значение кратного I<sizeof(unsigned long)>, но ядро будет использовать биты "
270 "только до I<maxnode>. Значение NULL в I<nodemask> или I<maxnode> указывает "
271 "на пустой набор узлов. Если значение I<maxnode> равно нулю, то аргумент "
272 "I<nodemask> игнорируется."
273
274 #. type: Plain text
275 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
276 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
277 msgid ""
278 "Where a I<nodemask> is required, it must contain at least one node that is "
279 "on-line, allowed by the process's current cpuset context, (unless the "
280 "B<MPOL_F_STATIC_NODES> mode flag is specified), and contains memory. If the "
281 "B<MPOL_F_STATIC_NODES> is set in I<mode> and a required I<nodemask> contains "
282 "no nodes that are allowed by the process's current cpuset context, the "
283 "memory policy reverts to I<local allocation>. This effectively overrides "
284 "the specified policy until the process's cpuset context includes one or more "
285 "of the nodes specified by I<nodemask>."
286 msgstr ""
287 "Если требуется аргумент I<nodemask>, то его значение должно содержать не "
288 "менее одного работающего узла, разрешённого процессу из текущего контекста "
289 "набора процессоров (если не указан флаг режима B<MPOL_F_STATIC_NODES>) и "
290 "имеющего память. Если в I<mode> установлен флаг B<MPOL_F_STATIC_NODES> и "
291 "требуемое значение I<nodemask> не содержит узлов, разрешённых процессу из "
292 "текущего контекста набора процессоров, то политика памяти возвращается "
293 "обратно к I<локальному выделению>. Это эффективно заменяет указанную "
294 "политику до тех пор, пока в текущий контекст набора процессоров процесса не "
295 "добавится один или более узлов, указанных I<nodemask>."
296
297 #. type: Plain text
298 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
299 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
300 msgid "The I<mode> argument must include one of the following values:"
301 msgstr "Аргумент I<mode> должен включать одно из следующих значений:"
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 "B<MPOL_DEFAULT>"
308 msgstr "B<MPOL_DEFAULT>"
309
310 #. type: Plain text
311 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
312 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
313 #, fuzzy
314 #| msgid ""
315 #| "This mode specifies that any nondefault thread memory policy be removed, "
316 #| "so that the memory policy \"falls back\" to the system default policy. "
317 #| "The system default policy is \"local allocation\"\\(emthat is, allocate "
318 #| "memory on the node of the CPU that triggered the allocation. I<nodemask> "
319 #| "must be specified as NULL. If the \"local node\" contains no free "
320 #| "memory, the system will attempt to allocate memory from a \"near by\" "
321 #| "node."
322 msgid ""
323 "This mode specifies that any nondefault thread memory policy be removed, so "
324 "that the memory policy \"falls back\" to the system default policy. The "
325 "system default policy is \"local allocation\"\\[em]that is, allocate memory "
326 "on the node of the CPU that triggered the allocation. I<nodemask> must be "
327 "specified as NULL. If the \"local node\" contains no free memory, the "
328 "system will attempt to allocate memory from a \"near by\" node."
329 msgstr ""
330 "Данный режим устанавливает, что любые политики памяти нити, не равные "
331 "политике по умолчанию, будут удалены, и политика памяти «вернётся» к "
332 "системной политике по умолчанию. Системная политика по умолчанию — это "
333 "«локальное выделение», то есть выделение памяти на узле с ЦП, на котором "
334 "возник запрос выделения Значение I<nodemask> должно быть равно NULL. Если на "
335 "«локальном узле» нет свободной памяти, то система попытается выделить память "
336 "на «ближайшем» узле."
337
338 #. type: TP
339 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
340 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
341 #, no-wrap
342 msgid "B<MPOL_BIND>"
343 msgstr "B<MPOL_BIND>"
344
345 #. type: Plain text
346 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
347 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
348 msgid ""
349 "This mode defines a strict policy that restricts memory allocation to the "
350 "nodes specified in I<nodemask>. If I<nodemask> specifies more than one "
351 "node, page allocations will come from the node with the lowest numeric node "
352 "ID first, until that node contains no free memory. Allocations will then "
353 "come from the node with the next highest node ID specified in I<nodemask> "
354 "and so forth, until none of the specified nodes contain free memory. Pages "
355 "will not be allocated from any node not specified in the I<nodemask>."
356 msgstr ""
357 "Данный режим устанавливает жёсткую политику, при которой выделение памяти "
358 "выполняется только на узлах, заданных в I<nodemask>. Если в I<nodemask> "
359 "указано более одного узла, то выделение страниц начнётся с узла с меньшим "
360 "номером идентификатора и будет выполняться до тех пор, пока на нём не "
361 "кончится свободная память. Затем выделение продолжится на узле со следующим "
362 "большим номером идентификатора, указанного в I<nodemask>, и т.д. до тех пор, "
363 "пока на всех указанных узлах не закончится свободная память. Страницы не "
364 "будут выделяться на узлах, не указанных в I<nodemask>."
365
366 #. type: TP
367 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
368 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
369 #, no-wrap
370 msgid "B<MPOL_INTERLEAVE>"
371 msgstr "B<MPOL_INTERLEAVE>"
372
373 #. NOTE: the following sentence doesn't make sense in the context
374 #. of set_mempolicy() -- no memory area specified.
375 #. To be effective the memory area should be fairly large,
376 #. at least 1 MB or bigger.
377 #. type: Plain text
378 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
379 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
380 msgid ""
381 "This mode interleaves page allocations across the nodes specified in "
382 "I<nodemask> in numeric node ID order. This optimizes for bandwidth instead "
383 "of latency by spreading out pages and memory accesses to those pages across "
384 "multiple nodes. However, accesses to a single page will still be limited to "
385 "the memory bandwidth of a single node."
386 msgstr ""
387 "В этом режиме выделение страниц чередуется между узлами, указанными в "
388 "I<nodemask>, согласно порядку номеров идентификаторов узлов. При этом "
389 "происходит оптимизация полосы пропускания, а не задержки, так как происходит "
390 "рассеивание страниц и доступ к этим страницам памяти, разносится по "
391 "нескольким узлам. Однако доступ к отдельной странице по прежнему ограничен "
392 "шириной канала с памятью на отдельном узле."
393
394 #. type: TP
395 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
396 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
397 #, no-wrap
398 msgid "B<MPOL_WEIGHTED_INTERLEAVE> (since Linux 6.9)"
399 msgstr "B<MPOL_WEIGHTED_INTERLEAVE> (начиная с Linux 6.9)"
400
401 #. commit fa3bea4e1f8202d787709b7e3654eb0a99aed758
402 #. type: Plain text
403 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
404 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
405 msgid ""
406 "This mode interleaves page allocations across the nodes specified in "
407 "I<nodemask> according to the weights in I</sys/kernel/mm/mempolicy/"
408 "weighted_interleave>. For example, if bits 0, 2, and 5 are set in "
409 "I<nodemask>, and the contents of I</sys/kernel/mm/mempolicy/"
410 "weighted_interleave/node0>, I</sys/>.\\|.\\|.I</node2>, and I</sys/>.\\|."
411 "\\|.I</node5> are 4, 7, and 9, respectively, then pages in this region will "
412 "be allocated on nodes 0, 2, and 5 in a 4:7:9 ratio."
413 msgstr ""
414
415 #. type: TP
416 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
417 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
418 #, no-wrap
419 msgid "B<MPOL_PREFERRED>"
420 msgstr "B<MPOL_PREFERRED>"
421
422 #. type: Plain text
423 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
424 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
425 msgid ""
426 "This mode sets the preferred node for allocation. The kernel will try to "
427 "allocate pages from this node first and fall back to \"near by\" nodes if "
428 "the preferred node is low on free memory. If I<nodemask> specifies more "
429 "than one node ID, the first node in the mask will be selected as the "
430 "preferred node. If the I<nodemask> and I<maxnode> arguments specify the "
431 "empty set, then the policy specifies \"local allocation\" (like the system "
432 "default policy discussed above)."
433 msgstr ""
434 "В этом режиме задаётся предпочтительный узел для выделения памяти. Ядро "
435 "будет пытаться сначала выделить страницы на этом узле и только после того "
436 "как на предпочтительном узле не хватит памяти, попробует использовать "
437 "«ближайшие» узлы. Если в I<nodemask> указано более одного идентификатора "
438 "узла, то в качестве предпочтительного будет использован первый узел из "
439 "маски. Если в аргументах I<nodemask> и I<maxnode> указан пустой набор, то "
440 "политике предписывается использовать «локальное выделение» (как при "
441 "системной политике по умолчанию, описанной ранее)."
442
443 #. type: TP
444 #: archlinux debian-unstable fedora-44 fedora-rawhide mageia-cauldron
445 #: opensuse-leap-16-1 opensuse-tumbleweed
446 #, no-wrap
447 msgid "B<MPOL_PREFERRED_MANY> (since Linux 5.15)"
448 msgstr "B<MPOL_PREFERRED_MANY> (начиная с Linux 5.15)"
449
450 #. commit b27abaccf8e8b012f126da0c2a1ab32723ec8b9f
451 #. type: Plain text
452 #: archlinux debian-unstable mageia-cauldron opensuse-leap-16-1
453 #: opensuse-tumbleweed
454 msgid ""
455 "This mode specifies a preference for nodes from which the kernel will try to "
456 "allocate from. This differs from B<MPOL_PREFERRED> in that it accepts a set "
457 "of nodes versus a single node. This policy is intended to benefit page "
458 "allocations where specific memory types (i.e., non-volatile, high-bandwidth, "
459 "or accelerator memory) are of greater importance than node location."
460 msgstr ""
461
462 #. type: TP
463 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
464 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
465 #, no-wrap
466 msgid "B<MPOL_LOCAL> (since Linux 3.8)"
467 msgstr "B<MPOL_LOCAL> (начиная с Linux 3.8)"
468
469 #. commit 479e2802d09f1e18a97262c4c6f8f17ae5884bd8
470 #. commit f2a07f40dbc603c15f8b06e6ec7f768af67b424f
471 #. type: Plain text
472 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
473 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
474 msgid ""
475 "This mode specifies \"local allocation\"; the memory is allocated on the "
476 "node of the CPU that triggered the allocation (the \"local node\"). The "
477 "I<nodemask> and I<maxnode> arguments must specify the empty set. If the "
478 "\"local node\" is low on free memory, the kernel will try to allocate memory "
479 "from other nodes. The kernel will allocate memory from the \"local node\" "
480 "whenever memory for this node is available. If the \"local node\" is not "
481 "allowed by the process's current cpuset context, the kernel will try to "
482 "allocate memory from other nodes. The kernel will allocate memory from the "
483 "\"local node\" whenever it becomes allowed by the process's current cpuset "
484 "context."
485 msgstr ""
486 "Этот режим задаёт «локальное выделение» (local allocation); память, "
487 "выделяется на узле ЦП, попавшем в выделение («локальный узел»). В аргументах "
488 "I<nodemask> и I<maxnode> должен быть указан пустой набор. Если на «локальном "
489 "узле» мало свободной памяти, то ядро будет пытаться выделить память на "
490 "других узлах. Ядро будет выделять память на «локальном узле» сразу, как "
491 "только на этом узле освободится память. Если «локальный узел» не разрешён в "
492 "текущем контексте набора ЦП процесса, то ядро будет пытаться выделить памяти "
493 "на других узлах. Ядро начнёт выделять память на «локальном узле» сразу, как "
494 "только это будет разрешено в текущем контексте набора ЦП процесса."
495
496 #. type: Plain text
497 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
498 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
499 msgid ""
500 "The thread memory policy is preserved across an B<execve>(2), and is "
501 "inherited by child threads created using B<fork>(2) or B<clone>(2)."
502 msgstr ""
503 "Политика памяти нити сохраняется при вызове B<execve>(2) и наследуется "
504 "дочерними нитями, созданными с помощью B<fork>(2) или B<clone>(2)."
505
506 #. type: SH
507 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
508 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
509 #, no-wrap
510 msgid "RETURN VALUE"
511 msgstr "ВОЗВРАЩАЕМОЕ ЗНАЧЕНИЕ"
512
513 #. type: Plain text
514 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
515 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
516 msgid ""
517 "On success, B<set_mempolicy>() returns 0; on error, -1 is returned and "
518 "I<errno> is set to indicate the error."
519 msgstr ""
520 "При успешном выполнении B<set_mempolicy>() возвращается 0; при ошибке "
521 "возвращается -1, а в I<errno> содержится код ошибки."
522
523 #. type: SH
524 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
525 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
526 #, no-wrap
527 msgid "ERRORS"
528 msgstr "ОШИБКИ"
529
530 #. type: TP
531 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
532 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
533 #, no-wrap
534 msgid "B<EFAULT>"
535 msgstr "B<EFAULT>"
536
537 #. type: Plain text
538 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
539 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
540 msgid ""
541 "Part of all of the memory range specified by I<nodemask> and I<maxnode> "
542 "points outside your accessible address space."
543 msgstr ""
544 "Часть всего диапазона памяти, заданная в I<nodemask> и I<maxnode>, указывает "
545 "за пределы доступного адресного пространства."
546
547 #. type: TP
548 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
549 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
550 #, no-wrap
551 msgid "B<EINVAL>"
552 msgstr "B<EINVAL>"
553
554 #. type: Plain text
555 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
556 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
557 #, fuzzy
558 #| msgid ""
559 #| "I<mode> is invalid. Or, I<mode> is B<MPOL_DEFAULT> and I<nodemask> is "
560 #| "nonempty, or I<mode> is B<MPOL_BIND> or B<MPOL_INTERLEAVE> and "
561 #| "I<nodemask> is empty. Or, I<maxnode> specifies more than a page worth of "
562 #| "bits. Or, I<nodemask> specifies one or more node IDs that are greater "
563 #| "than the maximum supported node ID. Or, none of the node IDs specified "
564 #| "by I<nodemask> are on-line and allowed by the process's current cpuset "
565 #| "context, or none of the specified nodes contain memory. Or, the I<mode> "
566 #| "argument specified both B<MPOL_F_STATIC_NODES> and "
567 #| "B<MPOL_F_RELATIVE_NODES>."
568 msgid ""
569 "I<mode> is invalid. Or, I<mode> is B<MPOL_DEFAULT> and I<nodemask> is "
570 "nonempty, or I<mode> is B<MPOL_BIND> or B<MPOL_INTERLEAVE> and I<nodemask> "
571 "is empty. Or, I<maxnode> specifies more than a page worth of bits. Or, "
572 "I<nodemask> specifies one or more node IDs that are greater than the maximum "
573 "supported node ID. Or, none of the node IDs specified by I<nodemask> are on-"
574 "line and allowed by the process's current cpuset context, or none of the "
575 "specified nodes contain memory. Or, the I<mode> argument specified both "
576 "B<MPOL_F_STATIC_NODES> and B<MPOL_F_RELATIVE_NODES>. Or, the "
577 "B<MPOL_F_NUMA_BALANCING> isn't supported by the kernel, or is used with "
578 "I<mode> other than B<MPOL_BIND>."
579 msgstr ""
580 "Некорректное значение I<mode>. Или значение I<mode> равно B<MPOL_DEFAULT> и "
581 "значение I<nodemask> не пусто, или I<mode> равно B<MPOL_BIND> или "
582 "B<MPOL_INTERLEAVE> и значение I<nodemask> пусто. Или значение I<maxnode> "
583 "больше чем количество значимых бит страницы. Или в I<nodemask> указан один "
584 "или более идентификаторов узлов, значения которых больше чем максимальный "
585 "поддерживаемый идентификатор узла. Или ни один из идентификаторов узлов, "
586 "указанных в I<nodemask>, не работает или не разрешены для текущего набора "
587 "контекста процесса, или ни один из узлов не содержит памяти. Или в аргументе "
588 "I<mode> указаны B<MPOL_F_STATIC_NODES> и B<MPOL_F_RELATIVE_NODES> "
589 "одновременно."
590
591 #. type: TP
592 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
593 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
594 #, no-wrap
595 msgid "B<ENOMEM>"
596 msgstr "B<ENOMEM>"
597
598 #. type: Plain text
599 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
600 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
601 msgid "Insufficient kernel memory was available."
602 msgstr "Недостаточное количество памяти ядра."
603
604 #. type: SH
605 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
606 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
607 #, no-wrap
608 msgid "STANDARDS"
609 msgstr "СТАНДАРТЫ"
610
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 "Linux."
615 msgstr "Linux."
616
617 #. type: SH
618 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
619 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
620 #, no-wrap
621 msgid "HISTORY"
622 msgstr "ИСТОРИЯ"
623
624 #. type: Plain text
625 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
626 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
627 msgid "Linux 2.6.7."
628 msgstr "Linux 2.6.7."
629
630 #. type: SH
631 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
632 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
633 #, no-wrap
634 msgid "NOTES"
635 msgstr "ПРИМЕЧАНИЯ"
636
637 #. type: Plain text
638 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
639 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
640 msgid ""
641 "Memory policy is not remembered if the page is swapped out. When such a "
642 "page is paged back in, it will use the policy of the thread or memory range "
643 "that is in effect at the time the page is allocated."
644 msgstr ""
645 "Политика памяти не запоминается, если страница помещается в пространство "
646 "подкачки. Когда страница возвращается в основную память, будет использована "
647 "политика нити или диапазона памяти, действующая на момент выделения страницы."
648
649 #. type: Plain text
650 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
651 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
652 msgid "For information on library support, see B<numa>(7)."
653 msgstr "Информация о библиотеке доступна в B<numa>(7)."
654
655 #. type: SH
656 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
657 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
658 #, no-wrap
659 msgid "SEE ALSO"
660 msgstr "СМОТРИТЕ ТАКЖЕ"
661
662 #. type: Plain text
663 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
664 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
665 msgid ""
666 "B<get_mempolicy>(2), B<getcpu>(2), B<mbind>(2), B<mmap>(2), B<numa>(3), "
667 "B<cpuset>(7), B<numa>(7), B<numactl>(8)"
668 msgstr ""
669 "B<get_mempolicy>(2), B<getcpu>(2), B<mbind>(2), B<mmap>(2), B<numa>(3), "
670 "B<cpuset>(7), B<numa>(7), B<numactl>(8)"
671
672 #. type: TH
673 #: debian-trixie
674 #, no-wrap
675 msgid "2024-05-02"
676 msgstr "2 мая 2024 г."
677
678 #. type: TH
679 #: debian-trixie
680 #, no-wrap
681 msgid "Linux man-pages 6.9.1"
682 msgstr "Страницы руководства Linux 6.9.1"
683
684 #. type: Plain text
685 #: debian-trixie
686 msgid "NUMA (Non-Uniform Memory Access) policy library (I<libnuma>, I<-lnuma>)"
687 msgstr ""
688 "Библиотека политик NUMA (неоднородный доступ к памяти) (I<libnuma>, I<-"
689 "lnuma>)"
690
691 #. type: Plain text
692 #: debian-trixie
693 #, fuzzy
694 #| msgid ""
695 #| "The I<mode> argument must specify one of B<MPOL_DEFAULT>, B<MPOL_BIND>, "
696 #| "B<MPOL_INTERLEAVE>, B<MPOL_PREFERRED>, or B<MPOL_LOCAL> (which are "
697 #| "described in detail below). All modes except B<MPOL_DEFAULT> require the "
698 #| "caller to specify the node or nodes to which the mode applies, via the "
699 #| "I<nodemask> argument."
700 msgid ""
701 "The I<mode> argument must specify one of B<MPOL_DEFAULT>, B<MPOL_BIND>, "
702 "B<MPOL_INTERLEAVE>, B<MPOL_WEIGHTED_INTERLEAVE>, B<MPOL_PREFERRED>, or "
703 "B<MPOL_LOCAL> (which are described in detail below). All modes except "
704 "B<MPOL_DEFAULT> require the caller to specify the node or nodes to which the "
705 "mode applies, via the I<nodemask> argument."
706 msgstr ""
707 "В аргументе I<mode> должно быть указано одно из следующих значений: "
708 "B<MPOL_DEFAULT>, B<MPOL_BIND>, B<MPOL_INTERLEAVE>, B<MPOL_PREFERRED> или "
709 "B<MPOL_LOCAL> (описано далее). Для всех режимов, за исключением "
710 "B<MPOL_DEFAULT>, требуется, чтобы вызывающий указывал в аргументе "
711 "I<nodemask> узел или узлы, для которых применяется режим."
712
713 #. type: TH
714 #: fedora-44 fedora-rawhide
715 #, no-wrap
716 msgid "2025-02-21"
717 msgstr "21 февраля 2025 г."
718
719 #. type: TH
720 #: fedora-44 fedora-rawhide
721 #, no-wrap
722 msgid "Linux man-pages 6.13"
723 msgstr "Страницы руководства Linux 6.13"
724
725 #. commit b27abaccf8e8b012f126da0c2a1ab32723ec8b9f
726 #. type: Plain text
727 #: fedora-44 fedora-rawhide
728 msgid ""
729 "This mode specifies a preference for nodes from which the kernel will try to "
730 "allocate from. This differs from B<MPOL_PREFERRED> in that it accepts a set "
731 "of nodes versus a single node. This policy is intended to benefit page "
732 "allocations where specific memory types (i.e. non-volatile, high-bandwidth, "
733 "or accelerator memory) are of greater importance than node location."
734 msgstr ""
735
736 #. type: TH
737 #: mageia-cauldron
738 #, no-wrap
739 msgid "Linux man-pages 6.17"
740 msgstr "Страницы руководства Linux 6.17"
741
742 #. type: TH
743 #: opensuse-leap-16-1 opensuse-tumbleweed
744 #, no-wrap
745 msgid "Linux man-pages (unreleased)"
746 msgstr "Страницы руководства Linux (не выпущены)"