| 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:28+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 "ioprio_set" |
| 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 "ioprio_get, ioprio_set - get/set I/O scheduling class and priority" |
| 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 "LIBRARY" |
| 57 |
msgstr "" |
| 58 |
|
| 59 |
#. type: Plain text |
| 60 |
#: archlinux debian-unstable fedora-44 fedora-rawhide mageia-cauldron |
| 61 |
#: opensuse-leap-16-1 opensuse-tumbleweed |
| 62 |
msgid "Standard C library (I<libc>,\\ I<-lc>)" |
| 63 |
msgstr "" |
| 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 "SYNOPSIS" |
| 70 |
msgstr "" |
| 71 |
|
| 72 |
#. type: Plain text |
| 73 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 74 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 75 |
#, no-wrap |
| 76 |
msgid "" |
| 77 |
"B<#include E<lt>linux/ioprio.hE<gt> >/* Definition of B<IOPRIO_*> constants */\n" |
| 78 |
"B<#include E<lt>sys/syscall.hE<gt> >/* Definition of B<SYS_*> constants */\n" |
| 79 |
"B<#include E<lt>unistd.hE<gt>>\n" |
| 80 |
msgstr "" |
| 81 |
|
| 82 |
#. type: Plain text |
| 83 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 84 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 85 |
#, no-wrap |
| 86 |
msgid "" |
| 87 |
"B<int syscall(SYS_ioprio_get, int >I<which>B<, int >I<who>B<);>\n" |
| 88 |
"B<int syscall(SYS_ioprio_set, int >I<which>B<, int >I<who>B<, int >I<ioprio>B<);>\n" |
| 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 |
msgid "" |
| 95 |
"I<Note>: glibc provides no wrappers for these system calls, necessitating " |
| 96 |
"the use of B<syscall>(2)." |
| 97 |
msgstr "" |
| 98 |
|
| 99 |
#. type: SH |
| 100 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 101 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 102 |
#, no-wrap |
| 103 |
msgid "DESCRIPTION" |
| 104 |
msgstr "" |
| 105 |
|
| 106 |
#. type: Plain text |
| 107 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 108 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 109 |
msgid "" |
| 110 |
"The B<ioprio_get>() and B<ioprio_set>() system calls get and set the I/O " |
| 111 |
"scheduling class and priority of one or more threads." |
| 112 |
msgstr "" |
| 113 |
|
| 114 |
#. type: Plain text |
| 115 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 116 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 117 |
msgid "" |
| 118 |
"The I<which> and I<who> arguments identify the thread(s) on which the system " |
| 119 |
"calls operate. The I<which> argument determines how I<who> is interpreted, " |
| 120 |
"and has one of the following values:" |
| 121 |
msgstr "" |
| 122 |
|
| 123 |
#. type: TP |
| 124 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 125 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 126 |
#, no-wrap |
| 127 |
msgid "B<IOPRIO_WHO_PROCESS>" |
| 128 |
msgstr "" |
| 129 |
|
| 130 |
#. type: Plain text |
| 131 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 132 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 133 |
msgid "" |
| 134 |
"I<who> is a process ID or thread ID identifying a single process or thread. " |
| 135 |
"If I<who> is 0, then operate on the calling thread." |
| 136 |
msgstr "" |
| 137 |
|
| 138 |
#. type: TP |
| 139 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 140 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 141 |
#, no-wrap |
| 142 |
msgid "B<IOPRIO_WHO_PGRP>" |
| 143 |
msgstr "" |
| 144 |
|
| 145 |
#. type: Plain text |
| 146 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 147 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 148 |
msgid "" |
| 149 |
"I<who> is a process group ID identifying all the members of a process " |
| 150 |
"group. If I<who> is 0, then operate on the process group of which the " |
| 151 |
"caller is a member." |
| 152 |
msgstr "" |
| 153 |
|
| 154 |
#. type: TP |
| 155 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 156 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 157 |
#, no-wrap |
| 158 |
msgid "B<IOPRIO_WHO_USER>" |
| 159 |
msgstr "" |
| 160 |
|
| 161 |
#. FIXME . Need to document the behavior when 'who" is specified as 0 |
| 162 |
#. See http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=652443 |
| 163 |
#. type: Plain text |
| 164 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 165 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 166 |
msgid "" |
| 167 |
"I<who> is a user ID identifying all of the processes that have a matching " |
| 168 |
"real UID." |
| 169 |
msgstr "" |
| 170 |
|
| 171 |
#. type: Plain text |
| 172 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 173 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 174 |
msgid "" |
| 175 |
"If I<which> is specified as B<IOPRIO_WHO_PGRP> or B<IOPRIO_WHO_USER> when " |
| 176 |
"calling B<ioprio_get>(), and more than one process matches I<who>, then the " |
| 177 |
"returned priority will be the highest one found among all of the matching " |
| 178 |
"processes. One priority is said to be higher than another one if it belongs " |
| 179 |
"to a higher priority class (B<IOPRIO_CLASS_RT> is the highest priority " |
| 180 |
"class; B<IOPRIO_CLASS_IDLE> is the lowest) or if it belongs to the same " |
| 181 |
"priority class as the other process but has a higher priority level (a lower " |
| 182 |
"priority number means a higher priority level)." |
| 183 |
msgstr "" |
| 184 |
|
| 185 |
#. type: Plain text |
| 186 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 187 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 188 |
msgid "" |
| 189 |
"The I<ioprio> argument given to B<ioprio_set>() is a bit mask that " |
| 190 |
"specifies both the scheduling class and the priority to be assigned to the " |
| 191 |
"target process(es). The following macros are used for assembling and " |
| 192 |
"dissecting I<ioprio> values:" |
| 193 |
msgstr "" |
| 194 |
|
| 195 |
#. type: TP |
| 196 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 197 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 198 |
#, no-wrap |
| 199 |
msgid "B<IOPRIO_PRIO_VALUE(>I<class>B<, >I<data>B<)>" |
| 200 |
msgstr "" |
| 201 |
|
| 202 |
#. type: Plain text |
| 203 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 204 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 205 |
msgid "" |
| 206 |
"Given a scheduling I<class> and priority (I<data>), this macro combines the " |
| 207 |
"two values to produce an I<ioprio> value, which is returned as the result of " |
| 208 |
"the macro." |
| 209 |
msgstr "" |
| 210 |
|
| 211 |
#. type: TP |
| 212 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 213 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 214 |
#, no-wrap |
| 215 |
msgid "B<IOPRIO_PRIO_CLASS(>I<mask>B<)>" |
| 216 |
msgstr "" |
| 217 |
|
| 218 |
#. type: Plain text |
| 219 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 220 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 221 |
msgid "" |
| 222 |
"Given I<mask> (an I<ioprio> value), this macro returns its I/O class " |
| 223 |
"component, that is, one of the values B<IOPRIO_CLASS_RT>, " |
| 224 |
"B<IOPRIO_CLASS_BE>, or B<IOPRIO_CLASS_IDLE>." |
| 225 |
msgstr "" |
| 226 |
|
| 227 |
#. type: TP |
| 228 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 229 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 230 |
#, no-wrap |
| 231 |
msgid "B<IOPRIO_PRIO_DATA(>I<mask>B<)>" |
| 232 |
msgstr "" |
| 233 |
|
| 234 |
#. type: Plain text |
| 235 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 236 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 237 |
msgid "" |
| 238 |
"Given I<mask> (an I<ioprio> value), this macro returns its priority " |
| 239 |
"(I<data>) component." |
| 240 |
msgstr "" |
| 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 |
"See the NOTES section for more information on scheduling classes and " |
| 247 |
"priorities, as well as the meaning of specifying I<ioprio> as 0." |
| 248 |
msgstr "" |
| 249 |
|
| 250 |
#. type: Plain text |
| 251 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 252 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 253 |
msgid "" |
| 254 |
"I/O priorities are supported for reads and for synchronous (B<O_DIRECT>, " |
| 255 |
"B<O_SYNC>) writes. I/O priorities are not supported for asynchronous " |
| 256 |
"writes because they are issued outside the context of the program dirtying " |
| 257 |
"the memory, and thus program-specific priorities do not apply." |
| 258 |
msgstr "" |
| 259 |
|
| 260 |
#. type: SH |
| 261 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 262 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 263 |
#, no-wrap |
| 264 |
msgid "RETURN VALUE" |
| 265 |
msgstr "" |
| 266 |
|
| 267 |
#. type: Plain text |
| 268 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 269 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 270 |
msgid "" |
| 271 |
"On success, B<ioprio_get>() returns the I<ioprio> value of the process with " |
| 272 |
"highest I/O priority of any of the processes that match the criteria " |
| 273 |
"specified in I<which> and I<who>. On error, -1 is returned, and I<errno> is " |
| 274 |
"set to indicate the error." |
| 275 |
msgstr "" |
| 276 |
|
| 277 |
#. type: Plain text |
| 278 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 279 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 280 |
msgid "" |
| 281 |
"On success, B<ioprio_set>() returns 0. On error, -1 is returned, and " |
| 282 |
"I<errno> is set to indicate the error." |
| 283 |
msgstr "" |
| 284 |
|
| 285 |
#. type: SH |
| 286 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 287 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 288 |
#, no-wrap |
| 289 |
msgid "ERRORS" |
| 290 |
msgstr "" |
| 291 |
|
| 292 |
#. type: TP |
| 293 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 294 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 295 |
#, no-wrap |
| 296 |
msgid "B<EINVAL>" |
| 297 |
msgstr "" |
| 298 |
|
| 299 |
#. type: Plain text |
| 300 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 301 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 302 |
msgid "" |
| 303 |
"Invalid value for I<which> or I<ioprio>. Refer to the NOTES section for " |
| 304 |
"available scheduler classes and priority levels for I<ioprio>." |
| 305 |
msgstr "" |
| 306 |
|
| 307 |
#. type: TP |
| 308 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 309 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 310 |
#, no-wrap |
| 311 |
msgid "B<EPERM>" |
| 312 |
msgstr "" |
| 313 |
|
| 314 |
#. type: Plain text |
| 315 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 316 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 317 |
msgid "" |
| 318 |
"The calling process does not have the privilege needed to assign this " |
| 319 |
"I<ioprio> to the specified process(es). See the NOTES section for more " |
| 320 |
"information on required privileges for B<ioprio_set>()." |
| 321 |
msgstr "" |
| 322 |
|
| 323 |
#. type: TP |
| 324 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 325 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 326 |
#, no-wrap |
| 327 |
msgid "B<ESRCH>" |
| 328 |
msgstr "" |
| 329 |
|
| 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 |
"No process(es) could be found that matched the specification in I<which> and " |
| 335 |
"I<who>." |
| 336 |
msgstr "" |
| 337 |
|
| 338 |
#. type: SH |
| 339 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 340 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 341 |
#, no-wrap |
| 342 |
msgid "STANDARDS" |
| 343 |
msgstr "" |
| 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 "Linux." |
| 349 |
msgstr "" |
| 350 |
|
| 351 |
#. type: SH |
| 352 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 353 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 354 |
#, no-wrap |
| 355 |
msgid "HISTORY" |
| 356 |
msgstr "" |
| 357 |
|
| 358 |
#. type: Plain text |
| 359 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 360 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 361 |
msgid "Linux 2.6.13." |
| 362 |
msgstr "" |
| 363 |
|
| 364 |
#. type: SH |
| 365 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 366 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 367 |
#, no-wrap |
| 368 |
msgid "NOTES" |
| 369 |
msgstr "" |
| 370 |
|
| 371 |
#. type: Plain text |
| 372 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 373 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 374 |
msgid "" |
| 375 |
"Two or more processes or threads can share an I/O context. This will be the " |
| 376 |
"case when B<clone>(2) was called with the B<CLONE_IO> flag. However, by " |
| 377 |
"default, the distinct threads of a process will B<not> share the same I/O " |
| 378 |
"context. This means that if you want to change the I/O priority of all " |
| 379 |
"threads in a process, you may need to call B<ioprio_set>() on each of the " |
| 380 |
"threads. The thread ID that you would need for this operation is the one " |
| 381 |
"that is returned by B<gettid>(2) or B<clone>(2)." |
| 382 |
msgstr "" |
| 383 |
|
| 384 |
#. type: Plain text |
| 385 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 386 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 387 |
msgid "" |
| 388 |
"These system calls have an effect only when used in conjunction with an I/O " |
| 389 |
"scheduler that supports I/O priorities. As at kernel 2.6.17 the only such " |
| 390 |
"scheduler is the Completely Fair Queuing (CFQ) I/O scheduler." |
| 391 |
msgstr "" |
| 392 |
|
| 393 |
#. commit 8ec680e4c3ec818efd1652f15199ed1c216ab550 |
| 394 |
#. type: Plain text |
| 395 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 396 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 397 |
msgid "" |
| 398 |
"If no I/O scheduler has been set for a thread, then by default the I/O " |
| 399 |
"priority will follow the CPU nice value (B<setpriority>(2)). Before Linux " |
| 400 |
"2.6.24, once an I/O priority had been set using B<ioprio_set>(), there was " |
| 401 |
"no way to reset the I/O scheduling behavior to the default. Since Linux " |
| 402 |
"2.6.24, specifying I<ioprio> as 0 can be used to reset to the default I/O " |
| 403 |
"scheduling behavior." |
| 404 |
msgstr "" |
| 405 |
|
| 406 |
#. type: SS |
| 407 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 408 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 409 |
#, no-wrap |
| 410 |
msgid "Selecting an I/O scheduler" |
| 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 "" |
| 417 |
"I/O schedulers are selected on a per-device basis via the special file I</" |
| 418 |
"sys/block/>deviceI</queue/scheduler>." |
| 419 |
msgstr "" |
| 420 |
|
| 421 |
#. type: Plain text |
| 422 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 423 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 424 |
msgid "" |
| 425 |
"One can view the current I/O scheduler via the I</sys> filesystem. For " |
| 426 |
"example, the following command displays a list of all schedulers currently " |
| 427 |
"loaded in the kernel:" |
| 428 |
msgstr "" |
| 429 |
|
| 430 |
#. type: Plain text |
| 431 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 432 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 433 |
#, no-wrap |
| 434 |
msgid "" |
| 435 |
"$B< cat /sys/block/sda/queue/scheduler>\n" |
| 436 |
"noop anticipatory deadline [cfq]\n" |
| 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 |
"The scheduler surrounded by brackets is the one actually in use for the " |
| 444 |
"device (I<sda> in the example). Setting another scheduler is done by " |
| 445 |
"writing the name of the new scheduler to this file. For example, the " |
| 446 |
"following command will set the scheduler for the I<sda> device to I<cfq>:" |
| 447 |
msgstr "" |
| 448 |
|
| 449 |
#. type: Plain text |
| 450 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 451 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 452 |
#, no-wrap |
| 453 |
msgid "" |
| 454 |
"$B< su>\n" |
| 455 |
"Password:\n" |
| 456 |
"#B< echo cfq E<gt> /sys/block/sda/queue/scheduler>\n" |
| 457 |
msgstr "" |
| 458 |
|
| 459 |
#. type: SS |
| 460 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 461 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 462 |
#, no-wrap |
| 463 |
msgid "The Completely Fair Queuing (CFQ) I/O scheduler" |
| 464 |
msgstr "" |
| 465 |
|
| 466 |
#. type: Plain text |
| 467 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 468 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 469 |
msgid "" |
| 470 |
"Since version 3 (also known as CFQ Time Sliced), CFQ implements I/O nice " |
| 471 |
"levels similar to those of CPU scheduling. These nice levels are grouped " |
| 472 |
"into three scheduling classes, each one containing one or more priority " |
| 473 |
"levels:" |
| 474 |
msgstr "" |
| 475 |
|
| 476 |
#. type: TP |
| 477 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 478 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 479 |
#, no-wrap |
| 480 |
msgid "B<IOPRIO_CLASS_RT> (1)" |
| 481 |
msgstr "" |
| 482 |
|
| 483 |
#. type: Plain text |
| 484 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 485 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 486 |
msgid "" |
| 487 |
"This is the real-time I/O class. This scheduling class is given higher " |
| 488 |
"priority than any other class: processes from this class are given first " |
| 489 |
"access to the disk every time. Thus, this I/O class needs to be used with " |
| 490 |
"some care: one I/O real-time process can starve the entire system. Within " |
| 491 |
"the real-time class, there are 8 levels of class data (priority) that " |
| 492 |
"determine exactly how much time this process needs the disk for on each " |
| 493 |
"service. The highest real-time priority level is 0; the lowest is 7. In " |
| 494 |
"the future, this might change to be more directly mappable to performance, " |
| 495 |
"by passing in a desired data rate instead." |
| 496 |
msgstr "" |
| 497 |
|
| 498 |
#. type: TP |
| 499 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 500 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 501 |
#, no-wrap |
| 502 |
msgid "B<IOPRIO_CLASS_BE> (2)" |
| 503 |
msgstr "" |
| 504 |
|
| 505 |
#. type: Plain text |
| 506 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 507 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 508 |
msgid "" |
| 509 |
"This is the best-effort scheduling class, which is the default for any " |
| 510 |
"process that hasn't set a specific I/O priority. The class data (priority) " |
| 511 |
"determines how much I/O bandwidth the process will get. Best-effort " |
| 512 |
"priority levels are analogous to CPU nice values (see B<getpriority>(2)). " |
| 513 |
"The priority level determines a priority relative to other processes in the " |
| 514 |
"best-effort scheduling class. Priority levels range from 0 (highest) to 7 " |
| 515 |
"(lowest)." |
| 516 |
msgstr "" |
| 517 |
|
| 518 |
#. type: TP |
| 519 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 520 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 521 |
#, no-wrap |
| 522 |
msgid "B<IOPRIO_CLASS_IDLE> (3)" |
| 523 |
msgstr "" |
| 524 |
|
| 525 |
#. type: Plain text |
| 526 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 527 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 528 |
msgid "" |
| 529 |
"This is the idle scheduling class. Processes running at this level get I/O " |
| 530 |
"time only when no one else needs the disk. The idle class has no class " |
| 531 |
"data. Attention is required when assigning this priority class to a " |
| 532 |
"process, since it may become starved if higher priority processes are " |
| 533 |
"constantly accessing the disk." |
| 534 |
msgstr "" |
| 535 |
|
| 536 |
#. type: Plain text |
| 537 |
#: archlinux debian-unstable mageia-cauldron opensuse-leap-16-1 |
| 538 |
#: opensuse-tumbleweed |
| 539 |
msgid "" |
| 540 |
"Refer to the kernel source file I<Documentation/block/ioprio.rst> for more " |
| 541 |
"information on the CFQ I/O Scheduler and an example program." |
| 542 |
msgstr "" |
| 543 |
|
| 544 |
#. type: SS |
| 545 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 546 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 547 |
#, no-wrap |
| 548 |
msgid "Required permissions to set I/O priorities" |
| 549 |
msgstr "" |
| 550 |
|
| 551 |
#. type: Plain text |
| 552 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 553 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 554 |
msgid "" |
| 555 |
"Permission to change a process's priority is granted or denied based on two " |
| 556 |
"criteria:" |
| 557 |
msgstr "" |
| 558 |
|
| 559 |
#. type: TP |
| 560 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 561 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 562 |
#, no-wrap |
| 563 |
msgid "B<Process ownership>" |
| 564 |
msgstr "" |
| 565 |
|
| 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 |
"An unprivileged process may set the I/O priority only for a process whose " |
| 571 |
"real UID matches the real or effective UID of the calling process. A " |
| 572 |
"process which has the B<CAP_SYS_NICE> capability can change the priority of " |
| 573 |
"any process." |
| 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 "B<What is the desired priority>" |
| 581 |
msgstr "" |
| 582 |
|
| 583 |
#. type: Plain text |
| 584 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 585 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 586 |
msgid "" |
| 587 |
"Attempts to set very high priorities (B<IOPRIO_CLASS_RT>) require the " |
| 588 |
"B<CAP_SYS_ADMIN> capability. Up to Linux 2.6.24 also required " |
| 589 |
"B<CAP_SYS_ADMIN> to set a very low priority (B<IOPRIO_CLASS_IDLE>), but " |
| 590 |
"since Linux 2.6.25, this is no longer required." |
| 591 |
msgstr "" |
| 592 |
|
| 593 |
#. type: Plain text |
| 594 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 595 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 596 |
msgid "" |
| 597 |
"A call to B<ioprio_set>() must follow both rules, or the call will fail " |
| 598 |
"with the error B<EPERM>." |
| 599 |
msgstr "" |
| 600 |
|
| 601 |
#. type: SH |
| 602 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 603 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 604 |
#, no-wrap |
| 605 |
msgid "BUGS" |
| 606 |
msgstr "" |
| 607 |
|
| 608 |
#. 6 May 07: Bug report raised: |
| 609 |
#. https://www.sourceware.org/bugzilla/show_bug.cgi?id=4464 |
| 610 |
#. Ulrich Drepper replied that he wasn't going to add these |
| 611 |
#. to glibc. |
| 612 |
#. type: Plain text |
| 613 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 614 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 615 |
msgid "" |
| 616 |
"glibc does not yet provide a suitable header file defining the function " |
| 617 |
"prototypes and macros described on this page. Suitable definitions can be " |
| 618 |
"found in I<linux/ioprio.h>." |
| 619 |
msgstr "" |
| 620 |
|
| 621 |
#. type: SH |
| 622 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 623 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 624 |
#, no-wrap |
| 625 |
msgid "SEE ALSO" |
| 626 |
msgstr "" |
| 627 |
|
| 628 |
#. type: Plain text |
| 629 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 630 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 631 |
msgid "" |
| 632 |
"B<ionice>(1), B<getpriority>(2), B<open>(2), B<capabilities>(7), " |
| 633 |
"B<cgroups>(7)" |
| 634 |
msgstr "" |
| 635 |
|
| 636 |
#. type: Plain text |
| 637 |
#: archlinux debian-unstable mageia-cauldron opensuse-leap-16-1 |
| 638 |
#: opensuse-tumbleweed |
| 639 |
msgid "I<Documentation/block/ioprio.rst> in the Linux kernel source tree" |
| 640 |
msgstr "" |
| 641 |
|
| 642 |
#. type: TH |
| 643 |
#: debian-trixie |
| 644 |
#, no-wrap |
| 645 |
msgid "2024-05-02" |
| 646 |
msgstr "" |
| 647 |
|
| 648 |
#. type: TH |
| 649 |
#: debian-trixie |
| 650 |
#, no-wrap |
| 651 |
msgid "Linux man-pages 6.9.1" |
| 652 |
msgstr "" |
| 653 |
|
| 654 |
#. type: Plain text |
| 655 |
#: debian-trixie |
| 656 |
msgid "Standard C library (I<libc>, I<-lc>)" |
| 657 |
msgstr "" |
| 658 |
|
| 659 |
#. type: Plain text |
| 660 |
#: debian-trixie fedora-44 fedora-rawhide |
| 661 |
msgid "" |
| 662 |
"Refer to the kernel source file I<Documentation/block/ioprio.txt> for more " |
| 663 |
"information on the CFQ I/O Scheduler and an example program." |
| 664 |
msgstr "" |
| 665 |
|
| 666 |
#. type: Plain text |
| 667 |
#: debian-trixie fedora-44 fedora-rawhide |
| 668 |
msgid "I<Documentation/block/ioprio.txt> in the Linux kernel source tree" |
| 669 |
msgstr "" |
| 670 |
|
| 671 |
#. type: TH |
| 672 |
#: fedora-44 fedora-rawhide |
| 673 |
#, no-wrap |
| 674 |
msgid "2024-07-23" |
| 675 |
msgstr "" |
| 676 |
|
| 677 |
#. type: TH |
| 678 |
#: fedora-44 fedora-rawhide |
| 679 |
#, no-wrap |
| 680 |
msgid "Linux man-pages 6.13" |
| 681 |
msgstr "" |
| 682 |
|
| 683 |
#. type: TH |
| 684 |
#: mageia-cauldron |
| 685 |
#, no-wrap |
| 686 |
msgid "Linux man-pages 6.17" |
| 687 |
msgstr "" |
| 688 |
|
| 689 |
#. type: TH |
| 690 |
#: opensuse-leap-16-1 opensuse-tumbleweed |
| 691 |
#, no-wrap |
| 692 |
msgid "Linux man-pages (unreleased)" |
| 693 |
msgstr "" |