Debian Codegraph @

po/ru/man2/ioprio_set.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 # Azamat Hackimov <[email protected]>, 2013-2014, 2017.
5 # Dmitriy S. Seregin <[email protected]>, 2013.
6 # Yuri Kozlov <[email protected]>, 2011-2019.
7 # Иван Павлов <[email protected]>, 2017, 2019.
8 msgid ""
9 msgstr ""
10 "Project-Id-Version: manpages-l10n\n"
11 "POT-Creation-Date: 2026-06-05 06:28+0200\n"
12 "PO-Revision-Date: 2024-12-21 19:49+0300\n"
13 "Last-Translator: Yuri Kozlov <[email protected]>\n"
14 "Language-Team: Russian <[email protected]>\n"
15 "Language: ru\n"
16 "MIME-Version: 1.0\n"
17 "Content-Type: text/plain; charset=UTF-8\n"
18 "Content-Transfer-Encoding: 8bit\n"
19 "Plural-Forms: nplurals=4; plural=(n%10==1 && n%100!=11 ? 0 : n%10>=2 && "
20 "n%10<=4 && (n%100<12 || n%100>14) ? 1 : n%10==0 || (n%10>=5 && n%10<=9) || "
21 "(n%100>=11 && n%100<=14)? 2 : 3);\n"
22 "X-Generator: Lokalize 2.0\n"
23
24 #. type: TH
25 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
26 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
27 #, no-wrap
28 msgid "ioprio_set"
29 msgstr "ioprio_set"
30
31 #. type: TH
32 #: archlinux debian-unstable mageia-cauldron opensuse-leap-16-1
33 #: opensuse-tumbleweed
34 #, no-wrap
35 msgid "2026-02-08"
36 msgstr "8 февраля 2026 г."
37
38 #. type: TH
39 #: archlinux debian-unstable
40 #, fuzzy, no-wrap
41 #| msgid "Linux man-pages 6.17"
42 msgid "Linux man-pages 6.18"
43 msgstr "Справочные страницы Linux 6.17"
44
45 #. type: SH
46 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
47 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
48 #, no-wrap
49 msgid "NAME"
50 msgstr "НАИМЕНОВАНИЕ"
51
52 #. type: Plain text
53 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
54 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
55 msgid "ioprio_get, ioprio_set - get/set I/O scheduling class and priority"
56 msgstr ""
57 "ioprio_get, ioprio_set - получает/устанавливает класс и приоритет "
58 "планирования ввода-вывода"
59
60 #. type: SH
61 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
62 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
63 #, no-wrap
64 msgid "LIBRARY"
65 msgstr "БИБЛИОТЕКА"
66
67 #. type: Plain text
68 #: archlinux debian-unstable fedora-44 fedora-rawhide mageia-cauldron
69 #: opensuse-leap-16-1 opensuse-tumbleweed
70 msgid "Standard C library (I<libc>,\\ I<-lc>)"
71 msgstr "Стандартная библиотека языка C (I<libc>,\\ I<-lc>)"
72
73 #. type: SH
74 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
75 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
76 #, no-wrap
77 msgid "SYNOPSIS"
78 msgstr "СИНТАКСИС"
79
80 #. type: Plain text
81 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
82 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
83 #, no-wrap
84 msgid ""
85 "B<#include E<lt>linux/ioprio.hE<gt> >/* Definition of B<IOPRIO_*> constants */\n"
86 "B<#include E<lt>sys/syscall.hE<gt> >/* Definition of B<SYS_*> constants */\n"
87 "B<#include E<lt>unistd.hE<gt>>\n"
88 msgstr ""
89 "B<#include E<lt>linux/ioprio.hE<gt> >/* определения констант B<IOPRIO_*> */\n"
90 "B<#include E<lt>sys/syscall.hE<gt> >/* определения констант B<SYS_*> */\n"
91 "B<#include E<lt>unistd.hE<gt>>\n"
92
93 #. type: Plain text
94 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
95 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
96 #, no-wrap
97 msgid ""
98 "B<int syscall(SYS_ioprio_get, int >I<which>B<, int >I<who>B<);>\n"
99 "B<int syscall(SYS_ioprio_set, int >I<which>B<, int >I<who>B<, int >I<ioprio>B<);>\n"
100 msgstr ""
101 "B<int syscall(SYS_ioprio_get, int >I<which>B<, int >I<who>B<);>\n"
102 "B<int syscall(SYS_ioprio_set, int >I<which>B<, int >I<who>B<, int >I<ioprio>B<);>\n"
103
104 #. type: Plain text
105 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
106 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
107 msgid ""
108 "I<Note>: glibc provides no wrappers for these system calls, necessitating "
109 "the use of B<syscall>(2)."
110 msgstr ""
111 "I<Примечание>: glibc не предоставляет обёрточных функций для этих системных "
112 "вызовов, что делает необходимым использование B<syscall>(2)."
113
114 #. type: SH
115 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
116 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
117 #, no-wrap
118 msgid "DESCRIPTION"
119 msgstr "ОПИСАНИЕ"
120
121 #. type: Plain text
122 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
123 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
124 msgid ""
125 "The B<ioprio_get>() and B<ioprio_set>() system calls get and set the I/O "
126 "scheduling class and priority of one or more threads."
127 msgstr ""
128 "Системные вызовы B<ioprio_get>() и B<ioprio_set>() получают и устанавливают "
129 "класс и приоритет планирования ввода-вывода одной или более нитей."
130
131 #. type: Plain text
132 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
133 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
134 msgid ""
135 "The I<which> and I<who> arguments identify the thread(s) on which the system "
136 "calls operate. The I<which> argument determines how I<who> is interpreted, "
137 "and has one of the following values:"
138 msgstr ""
139 "В аргументах I<which> и I<who> указывается нить(и), над которой выполняются "
140 "системные вызовы. В аргументе I<which> указывается как будет рассматриваться "
141 "I<who>; он может иметь одно из следующих значений:"
142
143 #. type: TP
144 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
145 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
146 #, no-wrap
147 msgid "B<IOPRIO_WHO_PROCESS>"
148 msgstr "B<IOPRIO_WHO_PROCESS>"
149
150 #. type: Plain text
151 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
152 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
153 msgid ""
154 "I<who> is a process ID or thread ID identifying a single process or thread. "
155 "If I<who> is 0, then operate on the calling thread."
156 msgstr ""
157 "Значением I<who> является идентификатор процесса или нити, определяющий один "
158 "процесс или нить. Если I<who> равно 0, то операции выполняются над вызвавшей "
159 "нитью."
160
161 #. type: TP
162 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
163 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
164 #, no-wrap
165 msgid "B<IOPRIO_WHO_PGRP>"
166 msgstr "B<IOPRIO_WHO_PGRP>"
167
168 #. type: Plain text
169 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
170 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
171 msgid ""
172 "I<who> is a process group ID identifying all the members of a process "
173 "group. If I<who> is 0, then operate on the process group of which the "
174 "caller is a member."
175 msgstr ""
176 "Значением I<who> является идентификатор группы, определяющий всех членов "
177 "группы процесса. Если I<who> равно 0, то операции выполняются над группой "
178 "процессов, членом которой является вызвавший."
179
180 #. type: TP
181 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
182 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
183 #, no-wrap
184 msgid "B<IOPRIO_WHO_USER>"
185 msgstr "B<IOPRIO_WHO_USER>"
186
187 #. FIXME . Need to document the behavior when 'who" is specified as 0
188 #. See http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=652443
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 "I<who> is a user ID identifying all of the processes that have a matching "
194 "real UID."
195 msgstr ""
196 "Значением I<who> является идентификатор пользователя, определяющий все "
197 "процессы, которые имеют этот реальный идентификатор."
198
199 #. type: Plain text
200 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
201 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
202 msgid ""
203 "If I<which> is specified as B<IOPRIO_WHO_PGRP> or B<IOPRIO_WHO_USER> when "
204 "calling B<ioprio_get>(), and more than one process matches I<who>, then the "
205 "returned priority will be the highest one found among all of the matching "
206 "processes. One priority is said to be higher than another one if it belongs "
207 "to a higher priority class (B<IOPRIO_CLASS_RT> is the highest priority "
208 "class; B<IOPRIO_CLASS_IDLE> is the lowest) or if it belongs to the same "
209 "priority class as the other process but has a higher priority level (a lower "
210 "priority number means a higher priority level)."
211 msgstr ""
212 "Если при вызове B<ioprio_get>() в I<which> указано B<IOPRIO_WHO_PGRP> или "
213 "B<IOPRIO_WHO_USER>, и под шаблон I<who> подходит более одного процесса, то "
214 "возвращаемый приоритет будет равен самому высокому значению среди процессов "
215 "этой группы. Считается, что один приоритет больше другого, если он "
216 "принадлежит более высокому классу процессов (B<IOPRIO_CLASS_RT> является "
217 "самым высоким классом приоритетов; B<IOPRIO_CLASS_IDLE> \\(em самым низким), "
218 "или если оба процесса принадлежат одному классу, то тогда самым высоким "
219 "будет приоритет с большим уровнем (меньший номер приоритета, означает более "
220 "высокий уровень)."
221
222 #. type: Plain text
223 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
224 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
225 msgid ""
226 "The I<ioprio> argument given to B<ioprio_set>() is a bit mask that "
227 "specifies both the scheduling class and the priority to be assigned to the "
228 "target process(es). The following macros are used for assembling and "
229 "dissecting I<ioprio> values:"
230 msgstr ""
231 "Аргумент I<ioprio>, задаваемый в B<ioprio_set>(), является битовой маской, в "
232 "которой указываются класс планирования и приоритет, назначаемый заданному "
233 "процессу(ам). Для компоновки и разделения значений I<ioprio> используются "
234 "следующие макросы:"
235
236 #. type: TP
237 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
238 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
239 #, no-wrap
240 msgid "B<IOPRIO_PRIO_VALUE(>I<class>B<, >I<data>B<)>"
241 msgstr "B<IOPRIO_PRIO_VALUE(>I<class>B<, >I<data>B<)>"
242
243 #. type: Plain text
244 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
245 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
246 msgid ""
247 "Given a scheduling I<class> and priority (I<data>), this macro combines the "
248 "two values to produce an I<ioprio> value, which is returned as the result of "
249 "the macro."
250 msgstr ""
251 "Объединяет заданный класс планирования I<class> и приоритет (I<data>) в "
252 "значение I<ioprio>, которое возвращается как результат макроса."
253
254 #. type: TP
255 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
256 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
257 #, no-wrap
258 msgid "B<IOPRIO_PRIO_CLASS(>I<mask>B<)>"
259 msgstr "B<IOPRIO_PRIO_CLASS(>I<mask>B<)>"
260
261 #. type: Plain text
262 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
263 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
264 msgid ""
265 "Given I<mask> (an I<ioprio> value), this macro returns its I/O class "
266 "component, that is, one of the values B<IOPRIO_CLASS_RT>, "
267 "B<IOPRIO_CLASS_BE>, or B<IOPRIO_CLASS_IDLE>."
268 msgstr ""
269 "Из указанной маски I<mask> (значение I<ioprio>) возвращает значение класса "
270 "ввода-вывода, то есть одно из значений: B<IOPRIO_CLASS_RT>, "
271 "B<IOPRIO_CLASS_BE> или B<IOPRIO_CLASS_IDLE>."
272
273 #. type: TP
274 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
275 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
276 #, no-wrap
277 msgid "B<IOPRIO_PRIO_DATA(>I<mask>B<)>"
278 msgstr "B<IOPRIO_PRIO_DATA(>I<mask>B<)>"
279
280 #. type: Plain text
281 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
282 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
283 msgid ""
284 "Given I<mask> (an I<ioprio> value), this macro returns its priority "
285 "(I<data>) component."
286 msgstr ""
287 "Из указанной маски I<mask> (значение I<ioprio>) возвращает значение "
288 "приоритета (I<data>)."
289
290 #. type: Plain text
291 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
292 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
293 msgid ""
294 "See the NOTES section for more information on scheduling classes and "
295 "priorities, as well as the meaning of specifying I<ioprio> as 0."
296 msgstr ""
297 "Подробней о классах планирования и приоритетах, а также о значении 0 в "
298 "I<ioprio> смотрите в разделе ЗАМЕЧАНИЯ."
299
300 #. type: Plain text
301 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
302 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
303 msgid ""
304 "I/O priorities are supported for reads and for synchronous (B<O_DIRECT>, "
305 "B<O_SYNC>) writes. I/O priorities are not supported for asynchronous "
306 "writes because they are issued outside the context of the program dirtying "
307 "the memory, and thus program-specific priorities do not apply."
308 msgstr ""
309 "Приоритеты ввода-вывода поддерживаются при операциях чтения и синхронной "
310 "(B<O_DIRECT>, B<O_SYNC>) записи. Приоритеты ввода-вывода не поддерживаются "
311 "при асинхронной записи, так как они вызываются вне контекста программы "
312 "засоряющей память, и поэтому приоритеты программы не применяются."
313
314 #. type: SH
315 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
316 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
317 #, no-wrap
318 msgid "RETURN VALUE"
319 msgstr "ВОЗВРАЩАЕМОЕ ЗНАЧЕНИЕ"
320
321 #. type: Plain text
322 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
323 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
324 msgid ""
325 "On success, B<ioprio_get>() returns the I<ioprio> value of the process with "
326 "highest I/O priority of any of the processes that match the criteria "
327 "specified in I<which> and I<who>. On error, -1 is returned, and I<errno> is "
328 "set to indicate the error."
329 msgstr ""
330 "При успешном выполнении B<ioprio_get>() возвращается значение I<ioprio> "
331 "процесса с самым высоким приоритетом ввода-вывода из всех процессов, "
332 "подходящих под критерий, указанный в I<which> и I<who>. При ошибке "
333 "возвращается -1, а в I<errno> содержится код ошибки."
334
335 #. type: Plain text
336 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
337 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
338 msgid ""
339 "On success, B<ioprio_set>() returns 0. On error, -1 is returned, and "
340 "I<errno> is set to indicate the error."
341 msgstr ""
342 "При успешном выполнении B<ioprio_set>() возвращается 0. При ошибке "
343 "возвращается -1, а в I<errno> содержится код ошибки."
344
345 #. type: SH
346 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
347 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
348 #, no-wrap
349 msgid "ERRORS"
350 msgstr "ОШИБКИ"
351
352 #. type: TP
353 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
354 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
355 #, no-wrap
356 msgid "B<EINVAL>"
357 msgstr "B<EINVAL>"
358
359 #. type: Plain text
360 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
361 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
362 msgid ""
363 "Invalid value for I<which> or I<ioprio>. Refer to the NOTES section for "
364 "available scheduler classes and priority levels for I<ioprio>."
365 msgstr ""
366 "Неправильное значение I<which> или I<ioprio>. Обратитесь к разделу "
367 "ЗАМЕЧАНИЯ, в нём приведены доступные классы планировщика и уровни приоритета "
368 "I<ioprio>."
369
370 #. type: TP
371 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
372 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
373 #, no-wrap
374 msgid "B<EPERM>"
375 msgstr "B<EPERM>"
376
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 "The calling process does not have the privilege needed to assign this "
382 "I<ioprio> to the specified process(es). See the NOTES section for more "
383 "information on required privileges for B<ioprio_set>()."
384 msgstr ""
385 "У вызывающего процесса нет прав, необходимых для назначения данного "
386 "I<ioprio> указанному процессу(ам). Более подробную информацию о необходимых "
387 "правах B<ioprio_set>() можно найти в разделе ЗАМЕЧАНИЯ."
388
389 #. type: TP
390 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
391 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
392 #, no-wrap
393 msgid "B<ESRCH>"
394 msgstr "B<ESRCH>"
395
396 #. type: Plain text
397 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
398 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
399 msgid ""
400 "No process(es) could be found that matched the specification in I<which> and "
401 "I<who>."
402 msgstr ""
403 "Не найдено процессов, которые бы соответствовали заданным в I<which> и "
404 "I<who> критериям."
405
406 #. type: SH
407 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
408 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
409 #, no-wrap
410 msgid "STANDARDS"
411 msgstr "СТАНДАРТЫ"
412
413 #. type: Plain text
414 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
415 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
416 msgid "Linux."
417 msgstr "Linux."
418
419 #. type: SH
420 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
421 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
422 #, no-wrap
423 msgid "HISTORY"
424 msgstr "ИСТОРИЯ"
425
426 #. type: Plain text
427 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
428 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
429 msgid "Linux 2.6.13."
430 msgstr "Linux 2.6.13."
431
432 #. type: SH
433 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
434 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
435 #, no-wrap
436 msgid "NOTES"
437 msgstr "ПРИМЕЧАНИЯ"
438
439 #. type: Plain text
440 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
441 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
442 msgid ""
443 "Two or more processes or threads can share an I/O context. This will be the "
444 "case when B<clone>(2) was called with the B<CLONE_IO> flag. However, by "
445 "default, the distinct threads of a process will B<not> share the same I/O "
446 "context. This means that if you want to change the I/O priority of all "
447 "threads in a process, you may need to call B<ioprio_set>() on each of the "
448 "threads. The thread ID that you would need for this operation is the one "
449 "that is returned by B<gettid>(2) or B<clone>(2)."
450 msgstr ""
451 "Два или более процесса или нити могут использовать общий контекст ввода-"
452 "вывода. Это может происходить в случае, если вызывается B<clone>(2) с флагом "
453 "B<CLONE_IO>. Однако по умолчанию разные нити процесса B<не> будут "
454 "использовать общий контекст ввода-вывода. Это означает, что если вы хотите "
455 "изменить приоритет ввода-вывода всех нитей процесса, то вам может "
456 "потребоваться вызвать B<ioprio_set>() для каждой нити. Идентификатор нити, "
457 "требуемый для этой операции, можно получить с помощью B<gettid>(2) или "
458 "B<clone>(2)."
459
460 #. type: Plain text
461 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
462 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
463 msgid ""
464 "These system calls have an effect only when used in conjunction with an I/O "
465 "scheduler that supports I/O priorities. As at kernel 2.6.17 the only such "
466 "scheduler is the Completely Fair Queuing (CFQ) I/O scheduler."
467 msgstr ""
468 "Данные системные вызовы действительно работают только, если используется "
469 "планировщик ввода-вывода, поддерживающий приоритеты ввода-вывода. В ядре "
470 "2.6.17 такой планировщик только один: Completely Fair Queuing (CFQ)."
471
472 #. commit 8ec680e4c3ec818efd1652f15199ed1c216ab550
473 #. type: Plain text
474 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
475 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
476 #, fuzzy
477 #| msgid ""
478 #| "If no I/O scheduler has been set for a thread, then by default the I/O "
479 #| "priority will follow the CPU nice value (B<setpriority>(2)). In Linux "
480 #| "kernels before version 2.6.24, once an I/O priority had been set using "
481 #| "B<ioprio_set>(), there was no way to reset the I/O scheduling behavior to "
482 #| "the default. Since Linux 2.6.24, specifying I<ioprio> as 0 can be used "
483 #| "to reset to the default I/O scheduling behavior."
484 msgid ""
485 "If no I/O scheduler has been set for a thread, then by default the I/O "
486 "priority will follow the CPU nice value (B<setpriority>(2)). Before Linux "
487 "2.6.24, once an I/O priority had been set using B<ioprio_set>(), there was "
488 "no way to reset the I/O scheduling behavior to the default. Since Linux "
489 "2.6.24, specifying I<ioprio> as 0 can be used to reset to the default I/O "
490 "scheduling behavior."
491 msgstr ""
492 "Если для нити не был задан планировщик ввода-вывода, то значением приоритета "
493 "ввода-вывода будет значение уступчивости ЦП (B<setpriority>(2)). В ядрах "
494 "Linux до версии 2.6.24 после назначения приоритета ввода-вывода с помощью "
495 "B<ioprio_set>() нет способа переустановить поведение планировщика ввода-"
496 "вывода в значение по умолчанию. Начиная с Linux 2.6.24 для установки "
497 "поведения планировщика ввода-вывода в значение по умолчанию можно указать "
498 "I<ioprio> значение 0."
499
500 #. type: SS
501 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
502 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
503 #, no-wrap
504 msgid "Selecting an I/O scheduler"
505 msgstr "Выбор планировщика ввода-вывода"
506
507 #. type: Plain text
508 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
509 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
510 #, fuzzy
511 #| msgid ""
512 #| "I/O schedulers are selected on a per-device basis via the special file I</"
513 #| "sys/block/E<lt>deviceE<gt>/queue/scheduler>."
514 msgid ""
515 "I/O schedulers are selected on a per-device basis via the special file I</"
516 "sys/block/>deviceI</queue/scheduler>."
517 msgstr ""
518 "Планировщики ввода-вывода устанавливаются в каждом устройстве через "
519 "специальный файл I</sys/block/E<lt>устройствоE<gt>/queue/scheduler>."
520
521 #. type: Plain text
522 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
523 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
524 msgid ""
525 "One can view the current I/O scheduler via the I</sys> filesystem. For "
526 "example, the following command displays a list of all schedulers currently "
527 "loaded in the kernel:"
528 msgstr ""
529 "Используемый в данный момент планировщик ввода-вывода можно посмотреть через "
530 "файловую систему I</sys>. Например, следующая команда покажет список всех "
531 "планировщиков, загруженных в ядро:"
532
533 #. type: Plain text
534 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
535 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
536 #, no-wrap
537 msgid ""
538 "$B< cat /sys/block/sda/queue/scheduler>\n"
539 "noop anticipatory deadline [cfq]\n"
540 msgstr ""
541 "$B< cat /sys/block/sda/queue/scheduler>\n"
542 "noop anticipatory deadline [cfq]\n"
543
544 #. type: Plain text
545 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
546 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
547 msgid ""
548 "The scheduler surrounded by brackets is the one actually in use for the "
549 "device (I<sda> in the example). Setting another scheduler is done by "
550 "writing the name of the new scheduler to this file. For example, the "
551 "following command will set the scheduler for the I<sda> device to I<cfq>:"
552 msgstr ""
553 "Планировщик, работающий на устройстве (в примере I<sda>), указан в скобках. "
554 "Замена планировщика выполняется с помощью записи имени нового планировщика в "
555 "этот файл. Например, следующая команда установит планировщик I<cfq> для "
556 "устройства I<sda>:"
557
558 #. type: Plain text
559 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
560 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
561 #, no-wrap
562 msgid ""
563 "$B< su>\n"
564 "Password:\n"
565 "#B< echo cfq E<gt> /sys/block/sda/queue/scheduler>\n"
566 msgstr ""
567 "$B< su>\n"
568 "Password:\n"
569 "#B< echo cfq E<gt> /sys/block/sda/queue/scheduler>\n"
570
571 #. type: SS
572 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
573 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
574 #, no-wrap
575 msgid "The Completely Fair Queuing (CFQ) I/O scheduler"
576 msgstr "Планировщик ввода-вывода с полностью справедливой очерёдностью (CFQ)"
577
578 #. type: Plain text
579 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
580 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
581 msgid ""
582 "Since version 3 (also known as CFQ Time Sliced), CFQ implements I/O nice "
583 "levels similar to those of CPU scheduling. These nice levels are grouped "
584 "into three scheduling classes, each one containing one or more priority "
585 "levels:"
586 msgstr ""
587 "Начиная с версии 3 (т. н. CFQ Time Sliced) в CFQ реализованы уровни "
588 "уступчивости ввода-вывода, подобно используемым в планировщике ЦП. Эти "
589 "уровни уступчивости сгруппированы в три класса планирования, в каждом "
590 "содержится один и более уровней приоритета:"
591
592 #. type: TP
593 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
594 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
595 #, no-wrap
596 msgid "B<IOPRIO_CLASS_RT> (1)"
597 msgstr "B<IOPRIO_CLASS_RT> (1)"
598
599 #. type: Plain text
600 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
601 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
602 msgid ""
603 "This is the real-time I/O class. This scheduling class is given higher "
604 "priority than any other class: processes from this class are given first "
605 "access to the disk every time. Thus, this I/O class needs to be used with "
606 "some care: one I/O real-time process can starve the entire system. Within "
607 "the real-time class, there are 8 levels of class data (priority) that "
608 "determine exactly how much time this process needs the disk for on each "
609 "service. The highest real-time priority level is 0; the lowest is 7. In "
610 "the future, this might change to be more directly mappable to performance, "
611 "by passing in a desired data rate instead."
612 msgstr ""
613 "Класс ввода-вывода реального времени. Данному классу планирования назначен "
614 "самый высокий приоритет по сравнению с другими: процессам с этим классом "
615 "всегда предоставляется первоочередной доступ к диску. Поэтому данный класс "
616 "следует использовать с осторожностью: одним процессом ввода-вывода реального "
617 "времени можно затормозить все остальные. В классе реального времени есть 8 "
618 "уровней данных класса (приоритетов), которые уточняют сколько времени нужно "
619 "процессу для работы с диском для каждого сервиса. Самый высокий уровень "
620 "приоритета реального времени имеет значение 0; самый низкий — 7. В будущем "
621 "это может измениться и можно будет непосредственно задавать желаемую "
622 "скорость обмена данными с диском."
623
624 #. type: TP
625 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
626 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
627 #, no-wrap
628 msgid "B<IOPRIO_CLASS_BE> (2)"
629 msgstr "B<IOPRIO_CLASS_BE> (2)"
630
631 #. type: Plain text
632 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
633 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
634 msgid ""
635 "This is the best-effort scheduling class, which is the default for any "
636 "process that hasn't set a specific I/O priority. The class data (priority) "
637 "determines how much I/O bandwidth the process will get. Best-effort "
638 "priority levels are analogous to CPU nice values (see B<getpriority>(2)). "
639 "The priority level determines a priority relative to other processes in the "
640 "best-effort scheduling class. Priority levels range from 0 (highest) to 7 "
641 "(lowest)."
642 msgstr ""
643 "Класс лучшего из возможного (best-effort) планирования, устанавливается по "
644 "умолчанию для всех процессов, которым не назначен определённый приоритет "
645 "ввода-вывода. Данными класса (приоритет) определяется пропускная способность "
646 "ввода-вывода процесса. Уровни приоритета данного класса аналогичны значениям "
647 "nice для ЦП (см. B<getpriority>(2)). Уровень приоритета определяет "
648 "первоочерёдность относительно других процессов с классом лучшего из "
649 "возможного планирования. Уровни приоритета находятся в диапазоне от 0 (самый "
650 "высший) до 7 (самый низший)."
651
652 #. type: TP
653 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
654 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
655 #, no-wrap
656 msgid "B<IOPRIO_CLASS_IDLE> (3)"
657 msgstr "B<IOPRIO_CLASS_IDLE> (3)"
658
659 #. type: Plain text
660 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
661 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
662 msgid ""
663 "This is the idle scheduling class. Processes running at this level get I/O "
664 "time only when no one else needs the disk. The idle class has no class "
665 "data. Attention is required when assigning this priority class to a "
666 "process, since it may become starved if higher priority processes are "
667 "constantly accessing the disk."
668 msgstr ""
669 "Класс свободного (idle) планирования. Процессы, работающие с этим уровнем, "
670 "получат время для ввода-вывода только когда нет обмена с диском процессов с "
671 "другими классами. Свободный класс не имеет данных класса. Обратите внимание, "
672 "что процесс с этим классом приоритета может испытывать нехватку ресурсов, "
673 "если процессы с более высокими приоритетами постоянно обращаются к диску."
674
675 #. type: Plain text
676 #: archlinux debian-unstable mageia-cauldron opensuse-leap-16-1
677 #: opensuse-tumbleweed
678 #, fuzzy
679 #| msgid ""
680 #| "Refer to the kernel source file I<Documentation/block/ioprio.txt> for "
681 #| "more information on the CFQ I/O Scheduler and an example program."
682 msgid ""
683 "Refer to the kernel source file I<Documentation/block/ioprio.rst> for more "
684 "information on the CFQ I/O Scheduler and an example program."
685 msgstr ""
686 "Более подробную информацию о планировщике ввода-вывода CFQ и пример "
687 "программы можно найти в файле исходного кода ядра I<Documentation/block/"
688 "ioprio.txt>."
689
690 #. type: SS
691 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
692 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
693 #, no-wrap
694 msgid "Required permissions to set I/O priorities"
695 msgstr "Необходимые права для установки приоритетов ввода-вывода"
696
697 #. type: Plain text
698 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
699 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
700 msgid ""
701 "Permission to change a process's priority is granted or denied based on two "
702 "criteria:"
703 msgstr "Право на изменение приоритета процесса зависит от двух условий:"
704
705 #. type: TP
706 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
707 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
708 #, no-wrap
709 msgid "B<Process ownership>"
710 msgstr "B<Владелец процесса>"
711
712 #. type: Plain text
713 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
714 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
715 msgid ""
716 "An unprivileged process may set the I/O priority only for a process whose "
717 "real UID matches the real or effective UID of the calling process. A "
718 "process which has the B<CAP_SYS_NICE> capability can change the priority of "
719 "any process."
720 msgstr ""
721 "Непривилегированный процесс может установить приоритет ввода-вывода только "
722 "для процесса, чей реальный идентификатор совпадает с реальным или "
723 "эффективным идентификатором вызывающего процесса. Процесс с мандатом "
724 "B<CAP_SYS_NICE> может изменять приоритет любого процесса."
725
726 #. type: TP
727 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
728 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
729 #, no-wrap
730 msgid "B<What is the desired priority>"
731 msgstr "B<Требуемый приоритет>"
732
733 #. type: Plain text
734 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
735 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
736 #, fuzzy
737 #| msgid ""
738 #| "Attempts to set very high priorities (B<IOPRIO_CLASS_RT>) require the "
739 #| "B<CAP_SYS_ADMIN> capability. Kernel versions up to 2.6.24 also required "
740 #| "B<CAP_SYS_ADMIN> to set a very low priority (B<IOPRIO_CLASS_IDLE>), but "
741 #| "since Linux 2.6.25, this is no longer required."
742 msgid ""
743 "Attempts to set very high priorities (B<IOPRIO_CLASS_RT>) require the "
744 "B<CAP_SYS_ADMIN> capability. Up to Linux 2.6.24 also required "
745 "B<CAP_SYS_ADMIN> to set a very low priority (B<IOPRIO_CLASS_IDLE>), but "
746 "since Linux 2.6.25, this is no longer required."
747 msgstr ""
748 "Попытка установить очень высокий приоритет (B<IOPRIO_CLASS_RT>) требует "
749 "мандата B<CAP_SYS_ADMIN>. Ядра версий до 2.6.24 также требуют мандата "
750 "B<CAP_SYS_ADMIN> для установки очень низкого приоритета "
751 "(B<IOPRIO_CLASS_IDLE>), но начиная с Linux 2.6.25 это отменено."
752
753 #. type: Plain text
754 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
755 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
756 msgid ""
757 "A call to B<ioprio_set>() must follow both rules, or the call will fail "
758 "with the error B<EPERM>."
759 msgstr ""
760 "Вызов B<ioprio_set>() должен соблюдать оба правила, или он завершится с "
761 "ошибкой B<EPERM>."
762
763 #. type: SH
764 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
765 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
766 #, no-wrap
767 msgid "BUGS"
768 msgstr "ПРОГРАММНЫЕ ОШИБКИ"
769
770 #. 6 May 07: Bug report raised:
771 #. https://www.sourceware.org/bugzilla/show_bug.cgi?id=4464
772 #. Ulrich Drepper replied that he wasn't going to add these
773 #. to glibc.
774 #. type: Plain text
775 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
776 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
777 #, fuzzy
778 #| msgid ""
779 #| "Glibc does not yet provide a suitable header file defining the function "
780 #| "prototypes and macros described on this page. Suitable definitions can "
781 #| "be found in I<linux/ioprio.h>."
782 msgid ""
783 "glibc does not yet provide a suitable header file defining the function "
784 "prototypes and macros described on this page. Suitable definitions can be "
785 "found in I<linux/ioprio.h>."
786 msgstr ""
787 "В glibc пока нет заголовочного файла, определяющего прототип и макросы, "
788 "описанные в этой странице. Нужные определения можно найти в I<linux/"
789 "ioprio.h>."
790
791 #. type: SH
792 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
793 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
794 #, no-wrap
795 msgid "SEE ALSO"
796 msgstr "СМОТРИТЕ ТАКЖЕ"
797
798 #. type: Plain text
799 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
800 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
801 msgid ""
802 "B<ionice>(1), B<getpriority>(2), B<open>(2), B<capabilities>(7), "
803 "B<cgroups>(7)"
804 msgstr ""
805 "B<ionice>(1), B<getpriority>(2), B<open>(2), B<capabilities>(7), "
806 "B<cgroups>(7)"
807
808 #. type: Plain text
809 #: archlinux debian-unstable mageia-cauldron opensuse-leap-16-1
810 #: opensuse-tumbleweed
811 #, fuzzy
812 #| msgid "I<Documentation/block/ioprio.txt> in the Linux kernel source tree"
813 msgid "I<Documentation/block/ioprio.rst> in the Linux kernel source tree"
814 msgstr ""
815 "Файл I<Documentation/block/ioprio.txt> в дереве исходного кода ядра Linux"
816
817 #. type: TH
818 #: debian-trixie
819 #, no-wrap
820 msgid "2024-05-02"
821 msgstr "2 мая 2024 г."
822
823 #. type: TH
824 #: debian-trixie
825 #, no-wrap
826 msgid "Linux man-pages 6.9.1"
827 msgstr "Страницы руководства Linux 6.9.1"
828
829 #. type: Plain text
830 #: debian-trixie
831 msgid "Standard C library (I<libc>, I<-lc>)"
832 msgstr "Стандартная библиотека языка C (I<libc>, I<-lc>)"
833
834 #. type: Plain text
835 #: debian-trixie fedora-44 fedora-rawhide
836 msgid ""
837 "Refer to the kernel source file I<Documentation/block/ioprio.txt> for more "
838 "information on the CFQ I/O Scheduler and an example program."
839 msgstr ""
840 "Более подробную информацию о планировщике ввода-вывода CFQ и пример "
841 "программы можно найти в файле исходного кода ядра I<Documentation/block/"
842 "ioprio.txt>."
843
844 #. type: Plain text
845 #: debian-trixie fedora-44 fedora-rawhide
846 msgid "I<Documentation/block/ioprio.txt> in the Linux kernel source tree"
847 msgstr ""
848 "Файл I<Documentation/block/ioprio.txt> в дереве исходного кода ядра Linux"
849
850 #. type: TH
851 #: fedora-44 fedora-rawhide
852 #, no-wrap
853 msgid "2024-07-23"
854 msgstr "23 июля 2024 г."
855
856 #. type: TH
857 #: fedora-44 fedora-rawhide
858 #, no-wrap
859 msgid "Linux man-pages 6.13"
860 msgstr "Страницы руководства Linux 6.13"
861
862 #. type: TH
863 #: mageia-cauldron
864 #, no-wrap
865 msgid "Linux man-pages 6.17"
866 msgstr "Страницы руководства Linux 6.17"
867
868 #. type: TH
869 #: opensuse-leap-16-1 opensuse-tumbleweed
870 #, no-wrap
871 msgid "Linux man-pages (unreleased)"
872 msgstr "Страницы руководства Linux (не выпущены)"