| 1 |
# Polish translation of manpages |
| 2 |
# This file is distributed under the same license as the manpages-l10n package. |
| 3 |
# Copyright © of this file: |
| 4 |
# Michał Kułach <[email protected]>, 2026. |
| 5 |
msgid "" |
| 6 |
msgstr "" |
| 7 |
"Project-Id-Version: manpages-l10n 4.26.3.1\n" |
| 8 |
"POT-Creation-Date: 2026-06-05 06:42+0200\n" |
| 9 |
"PO-Revision-Date: 2026-03-11 19:03+0100\n" |
| 10 |
"Last-Translator: Michał Kułach <[email protected]>\n" |
| 11 |
"Language-Team: Polish <[email protected]>\n" |
| 12 |
"Language: pl\n" |
| 13 |
"MIME-Version: 1.0\n" |
| 14 |
"Content-Type: text/plain; charset=UTF-8\n" |
| 15 |
"Content-Transfer-Encoding: 8bit\n" |
| 16 |
"Plural-Forms: nplurals=3; plural=(n==1 ? 0 : n%10>=2 && n%10<=4 && (n%100<10 " |
| 17 |
"|| n%100>=20) ? 1 : 2);\n" |
| 18 |
"X-Generator: Lokalize 25.04.0\n" |
| 19 |
|
| 20 |
#. type: TH |
| 21 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 22 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 23 |
#, no-wrap |
| 24 |
msgid "sched" |
| 25 |
msgstr "sched" |
| 26 |
|
| 27 |
#. type: TH |
| 28 |
#: archlinux debian-unstable mageia-cauldron opensuse-leap-16-1 |
| 29 |
#: opensuse-tumbleweed |
| 30 |
#, no-wrap |
| 31 |
msgid "2026-02-08" |
| 32 |
msgstr "8 lutego 2026 r." |
| 33 |
|
| 34 |
#. type: TH |
| 35 |
#: archlinux debian-unstable |
| 36 |
#, no-wrap |
| 37 |
msgid "Linux man-pages 6.18" |
| 38 |
msgstr "Linux man-pages 6.18" |
| 39 |
|
| 40 |
#. type: SH |
| 41 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 42 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 43 |
#, no-wrap |
| 44 |
msgid "NAME" |
| 45 |
msgstr "NAZWA" |
| 46 |
|
| 47 |
#. type: Plain text |
| 48 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 49 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 50 |
msgid "sched - overview of CPU scheduling" |
| 51 |
msgstr "sched - przegląd szeregowania zadań" |
| 52 |
|
| 53 |
#. type: SH |
| 54 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 55 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 56 |
#, no-wrap |
| 57 |
msgid "DESCRIPTION" |
| 58 |
msgstr "OPIS" |
| 59 |
|
| 60 |
#. type: Plain text |
| 61 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 62 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 63 |
msgid "" |
| 64 |
"Since Linux 2.6.23, the default scheduler is CFS, the \"Completely Fair " |
| 65 |
"Scheduler\". The CFS scheduler replaced the earlier \"O(1)\" scheduler." |
| 66 |
msgstr "" |
| 67 |
"Od Linuksa 2.6.23, domyślnym planistą jest CFS, \\[Bq]Completely Fair " |
| 68 |
"Scheduler\\[rq] (zupełnie sprawiedliwy dyspozytor). Planista CFS zastąpił " |
| 69 |
"wcześniejszego dyspozytora \\[Bq]O(1)\\[rq]." |
| 70 |
|
| 71 |
#. type: SS |
| 72 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 73 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 74 |
#, no-wrap |
| 75 |
msgid "API summary" |
| 76 |
msgstr "Podsumowanie API" |
| 77 |
|
| 78 |
#. type: Plain text |
| 79 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 80 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 81 |
msgid "" |
| 82 |
"Linux provides the following system calls for controlling the CPU scheduling " |
| 83 |
"behavior, policy, and priority of processes (or, more precisely, threads)." |
| 84 |
msgstr "" |
| 85 |
"Linux udostępnia poniższe wywołania systemowe, służące do kontrolowania " |
| 86 |
"zachowania planisty procesora, algorytmu oraz priorytetów procesów (lub " |
| 87 |
"precyzyjniej: wątków)." |
| 88 |
|
| 89 |
#. type: TP |
| 90 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 91 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 92 |
#, no-wrap |
| 93 |
msgid "B<nice>(2)" |
| 94 |
msgstr "B<nice>(2)" |
| 95 |
|
| 96 |
#. type: Plain text |
| 97 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 98 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 99 |
msgid "" |
| 100 |
"Set a new nice value for the calling thread, and return the new nice value." |
| 101 |
msgstr "" |
| 102 |
"Ustawia nową wartość nice wątku wywołującego i zwraca nową wartość nice." |
| 103 |
|
| 104 |
#. type: TP |
| 105 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 106 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 107 |
#, no-wrap |
| 108 |
msgid "B<getpriority>(2)" |
| 109 |
msgstr "B<getpriority>(2)" |
| 110 |
|
| 111 |
#. type: Plain text |
| 112 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 113 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 114 |
msgid "" |
| 115 |
"Return the nice value of a thread, a process group, or the set of threads " |
| 116 |
"owned by a specified user." |
| 117 |
msgstr "" |
| 118 |
"Zwraca wartość nice wątku, grupy procesów lub zbioru wątków podanego " |
| 119 |
"użytkownika." |
| 120 |
|
| 121 |
#. type: TP |
| 122 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 123 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 124 |
#, no-wrap |
| 125 |
msgid "B<setpriority>(2)" |
| 126 |
msgstr "B<setpriority>(2)" |
| 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 |
"Set the nice value of a thread, a process group, or the set of threads owned " |
| 133 |
"by a specified user." |
| 134 |
msgstr "" |
| 135 |
"Ustawia wartość wątku, grupy procesów lub zbioru wątków podanego użytkownika." |
| 136 |
|
| 137 |
#. type: TP |
| 138 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 139 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 140 |
#, no-wrap |
| 141 |
msgid "B<sched_setscheduler>(2)" |
| 142 |
msgstr "B<sched_setscheduler>(2)" |
| 143 |
|
| 144 |
#. type: Plain text |
| 145 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 146 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 147 |
msgid "Set the scheduling policy and parameters of a specified thread." |
| 148 |
msgstr "Ustawia algorytm i parametry szeregowania podanego wątku." |
| 149 |
|
| 150 |
#. type: TP |
| 151 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 152 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 153 |
#, no-wrap |
| 154 |
msgid "B<sched_getscheduler>(2)" |
| 155 |
msgstr "B<sched_getscheduler>(2)" |
| 156 |
|
| 157 |
#. type: Plain text |
| 158 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 159 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 160 |
msgid "Return the scheduling policy of a specified thread." |
| 161 |
msgstr "Zwraca algorytm szeregowania podanego wątku." |
| 162 |
|
| 163 |
#. type: TP |
| 164 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 165 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 166 |
#, no-wrap |
| 167 |
msgid "B<sched_setparam>(2)" |
| 168 |
msgstr "B<sched_setparam>(2)" |
| 169 |
|
| 170 |
#. type: Plain text |
| 171 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 172 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 173 |
msgid "Set the scheduling parameters of a specified thread." |
| 174 |
msgstr "Ustawia parametry szeregowania podanego wątku." |
| 175 |
|
| 176 |
#. type: TP |
| 177 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 178 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 179 |
#, no-wrap |
| 180 |
msgid "B<sched_getparam>(2)" |
| 181 |
msgstr "B<sched_getparam>(2)" |
| 182 |
|
| 183 |
#. type: Plain text |
| 184 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 185 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 186 |
msgid "Fetch the scheduling parameters of a specified thread." |
| 187 |
msgstr "Pobiera parametry szeregowania podanego wątku." |
| 188 |
|
| 189 |
#. type: TP |
| 190 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 191 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 192 |
#, no-wrap |
| 193 |
msgid "B<sched_get_priority_max>(2)" |
| 194 |
msgstr "B<sched_get_priority_max>(2)" |
| 195 |
|
| 196 |
#. type: Plain text |
| 197 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 198 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 199 |
msgid "Return the maximum priority available in a specified scheduling policy." |
| 200 |
msgstr "Zwraca maksymalny dostępny priorytet w danym algorytmie szeregowania." |
| 201 |
|
| 202 |
#. type: TP |
| 203 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 204 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 205 |
#, no-wrap |
| 206 |
msgid "B<sched_get_priority_min>(2)" |
| 207 |
msgstr "B<sched_get_priority_min>(2)" |
| 208 |
|
| 209 |
#. type: Plain text |
| 210 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 211 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 212 |
msgid "Return the minimum priority available in a specified scheduling policy." |
| 213 |
msgstr "Zwraca minimalny dostępny priorytet w danym algorytmie szeregowania." |
| 214 |
|
| 215 |
#. type: TP |
| 216 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 217 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 218 |
#, no-wrap |
| 219 |
msgid "B<sched_rr_get_interval>(2)" |
| 220 |
msgstr "B<sched_rr_get_interval>(2)" |
| 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 |
"Fetch the quantum used for threads that are scheduled under the \"round-" |
| 227 |
"robin\" scheduling policy." |
| 228 |
msgstr "" |
| 229 |
"Pobiera kwant używany wobec wątków szeregowanych przez algorytm karuzelowy " |
| 230 |
"(\\[Bq]round-robin\\[rq])." |
| 231 |
|
| 232 |
#. type: TP |
| 233 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 234 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 235 |
#, no-wrap |
| 236 |
msgid "B<sched_yield>(2)" |
| 237 |
msgstr "B<sched_yield>(2)" |
| 238 |
|
| 239 |
#. type: Plain text |
| 240 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 241 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 242 |
msgid "" |
| 243 |
"Cause the caller to relinquish the CPU, so that some other thread be " |
| 244 |
"executed." |
| 245 |
msgstr "" |
| 246 |
"Powoduje zwolnienie procesora przez wywołującego, dzięki czemu może być " |
| 247 |
"wykonany jakiś inny wątek." |
| 248 |
|
| 249 |
#. type: TP |
| 250 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 251 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 252 |
#, no-wrap |
| 253 |
msgid "B<sched_setaffinity>(2)" |
| 254 |
msgstr "B<sched_setaffinity>(2)" |
| 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 "(Linux-specific) Set the CPU affinity of a specified thread." |
| 260 |
msgstr "(typowo linuksowe) Ustawia koligację procesora podanego wątku." |
| 261 |
|
| 262 |
#. type: TP |
| 263 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 264 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 265 |
#, no-wrap |
| 266 |
msgid "B<sched_getaffinity>(2)" |
| 267 |
msgstr "B<sched_getaffinity>(2)" |
| 268 |
|
| 269 |
#. type: Plain text |
| 270 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 271 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 272 |
msgid "(Linux-specific) Get the CPU affinity of a specified thread." |
| 273 |
msgstr "(typowo linuksowe) Pobiera koligację procesora podanego wątku." |
| 274 |
|
| 275 |
#. type: TP |
| 276 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 277 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 278 |
#, no-wrap |
| 279 |
msgid "B<sched_setattr>(2)" |
| 280 |
msgstr "B<sched_setattr>(2)" |
| 281 |
|
| 282 |
#. type: Plain text |
| 283 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 284 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 285 |
msgid "" |
| 286 |
"Set the scheduling policy and parameters of a specified thread. This (Linux-" |
| 287 |
"specific) system call provides a superset of the functionality of " |
| 288 |
"B<sched_setscheduler>(2) and B<sched_setparam>(2)." |
| 289 |
msgstr "" |
| 290 |
"Ustawia algorytm i parametry szeregowania podanego wątku. To (typowo " |
| 291 |
"linuksowe) wywołanie systemowe zapewnia nadzbiór funkcjonalności " |
| 292 |
"B<sched_setscheduler>(2) oraz B<sched_setparam>(2)." |
| 293 |
|
| 294 |
#. type: TP |
| 295 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 296 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 297 |
#, no-wrap |
| 298 |
msgid "B<sched_getattr>(2)" |
| 299 |
msgstr "B<sched_getattr>(2)" |
| 300 |
|
| 301 |
#. type: Plain text |
| 302 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 303 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 304 |
msgid "" |
| 305 |
"Fetch the scheduling policy and parameters of a specified thread. This " |
| 306 |
"(Linux-specific) system call provides a superset of the functionality of " |
| 307 |
"B<sched_getscheduler>(2) and B<sched_getparam>(2)." |
| 308 |
msgstr "" |
| 309 |
"Pobiera algorytm i parametry szeregowania podanego wątku. To (typowo " |
| 310 |
"linuksowe) wywołanie systemowe zapewnia nadzbiór funkcjonalności " |
| 311 |
"B<sched_getscheduler>(2) oraz B<sched_getparam>(2)." |
| 312 |
|
| 313 |
#. type: SS |
| 314 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 315 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 316 |
#, no-wrap |
| 317 |
msgid "Scheduling policies" |
| 318 |
msgstr "Algorytmy szeregowania" |
| 319 |
|
| 320 |
#. type: Plain text |
| 321 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 322 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 323 |
msgid "" |
| 324 |
"The scheduler is the kernel component that decides which runnable thread " |
| 325 |
"will be executed by the CPU next. Each thread has an associated scheduling " |
| 326 |
"policy and a I<static> scheduling priority, I<sched_priority>. The " |
| 327 |
"scheduler makes its decisions based on knowledge of the scheduling policy " |
| 328 |
"and static priority of all threads on the system." |
| 329 |
msgstr "" |
| 330 |
"Planista (dyspozytor) to część jądra decydująca o tym, który gotowy do " |
| 331 |
"działania wątek zostanie wykonany przez procesor jako następny. Każdy wątek " |
| 332 |
"ma przypisany algorytm szeregowania zadań oraz I<statyczny> priorytet " |
| 333 |
"szeregowania, I<sched_priority>. Dyspozytor podejmuje swe decyzje w oparciu " |
| 334 |
"o wiedzę o algorytmie szeregowania oraz statycznych priorytetach wszystkich " |
| 335 |
"wątków w systemie." |
| 336 |
|
| 337 |
#. type: Plain text |
| 338 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 339 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 340 |
msgid "" |
| 341 |
"For threads scheduled under one of the normal scheduling policies " |
| 342 |
"(B<SCHED_OTHER>, B<SCHED_IDLE>, B<SCHED_BATCH>), I<sched_priority> is not " |
| 343 |
"used in scheduling decisions (it must be specified as 0)." |
| 344 |
msgstr "" |
| 345 |
"W przypadku wątków korzystających z jednego ze zwykłych algorytmów " |
| 346 |
"szeregowania (B<SCHED_OTHER>, B<SCHED_IDLE>, B<SCHED_BATCH>), " |
| 347 |
"I<sched_priority> nie jest stosowane przy podejmowaniu decyzji o " |
| 348 |
"szeregowaniu (musi być podane jako 0)." |
| 349 |
|
| 350 |
#. type: Plain text |
| 351 |
#: archlinux debian-unstable mageia-cauldron opensuse-leap-16-1 |
| 352 |
#: opensuse-tumbleweed |
| 353 |
msgid "" |
| 354 |
"Processes scheduled under one of the real-time policies (B<SCHED_FIFO>, " |
| 355 |
"B<SCHED_RR>) have a I<sched_priority> value in the range 1 (low) to 99 " |
| 356 |
"(high). (As the numbers imply, real-time threads always have higher " |
| 357 |
"priority than normal threads.) Note well: POSIX.1 requires an " |
| 358 |
"implementation to support only a minimum 32 distinct priority levels for the " |
| 359 |
"real-time policies, and some systems supply just this minimum. Portable " |
| 360 |
"programs should use B<sched_get_priority_min>(2) and " |
| 361 |
"B<sched_get_priority_max>(2) to find the range of priorities supported for " |
| 362 |
"a particular policy." |
| 363 |
msgstr "" |
| 364 |
"Procesy korzystające z jednego z algorytmów szeregowania czasu rzeczywistego " |
| 365 |
"(B<SCHED_FIFO>, B<SCHED_RR>) mają wartość I<sched_priority> z przedziału od " |
| 366 |
"1 (niski) do 99 (wysoki). Jak wskazują wartości, wątki czasu rzeczywistego " |
| 367 |
"mają zawsze wyższy priorytet od zwykłych wątków. Proszę zauważyć, że POSIX.1 " |
| 368 |
"wymaga obsługi przez implementację co najmniej 32 oddzielnych poziomów " |
| 369 |
"priorytetów w przypadku algorytmów szeregowania czasu rzeczywistego i " |
| 370 |
"niektóre systemy obsługują tylko to minimum. Przenośne programy powinny " |
| 371 |
"stosować B<sched_get_priority_min>(2) i B<sched_get_priority_max>(2), aby " |
| 372 |
"poznać przedział priorytetów obsługiwanych dla danego algorytmu." |
| 373 |
|
| 374 |
#. type: Plain text |
| 375 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 376 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 377 |
msgid "" |
| 378 |
"Conceptually, the scheduler maintains a list of runnable threads for each " |
| 379 |
"possible I<sched_priority> value. In order to determine which thread runs " |
| 380 |
"next, the scheduler looks for the nonempty list with the highest static " |
| 381 |
"priority and selects the thread at the head of this list." |
| 382 |
msgstr "" |
| 383 |
"Idea jest taka, że dyspozytor zarządza listą działających wątków dla każdej " |
| 384 |
"możliwej wartości I<sched_priority>. Aby określić następny uruchomiony " |
| 385 |
"wątek, planista szuka niepustej listy o najwyższym statycznym priorytecie i " |
| 386 |
"wybiera wątek na jej początku." |
| 387 |
|
| 388 |
#. type: Plain text |
| 389 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 390 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 391 |
msgid "" |
| 392 |
"A thread's scheduling policy determines where it will be inserted into the " |
| 393 |
"list of threads with equal static priority and how it will move inside this " |
| 394 |
"list." |
| 395 |
msgstr "" |
| 396 |
"Algorytm szeregowania wątku określa miejsce, w którym zostanie on " |
| 397 |
"umieszczony na liście wątków o takim samym statycznym priorytecie oraz " |
| 398 |
"sposób przemieszczenia się wewnątrz tej listy." |
| 399 |
|
| 400 |
#. type: Plain text |
| 401 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 402 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 403 |
msgid "" |
| 404 |
"All scheduling is preemptive: if a thread with a higher static priority " |
| 405 |
"becomes ready to run, the currently running thread will be preempted and " |
| 406 |
"returned to the wait list for its static priority level. The scheduling " |
| 407 |
"policy determines the ordering only within the list of runnable threads with " |
| 408 |
"equal static priority." |
| 409 |
msgstr "" |
| 410 |
"Wszelkie szeregowanie następuje z wywłaszczaniem: jeśli pojawi się wątek o " |
| 411 |
"wyższym priorytecie gotowy do uruchomienia, aktualnie uruchomiony wątek " |
| 412 |
"zostanie wywłaszczony i powróci na listę oczekujących swego statycznego " |
| 413 |
"poziomu priorytetu. Algorytm szeregowania określa kolejność jedynie na " |
| 414 |
"liście działających wątków o takim samym statycznym priorytecie." |
| 415 |
|
| 416 |
#. type: SS |
| 417 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 418 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 419 |
#, no-wrap |
| 420 |
msgid "SCHED_FIFO: First in-first out scheduling" |
| 421 |
msgstr "SCHED_FIFO: Szeregowanie typu pierwszy na wejściu, pierwszy na wyjściu" |
| 422 |
|
| 423 |
#. type: Plain text |
| 424 |
#: archlinux debian-unstable mageia-cauldron opensuse-leap-16-1 |
| 425 |
#: opensuse-tumbleweed |
| 426 |
msgid "" |
| 427 |
"B<SCHED_FIFO> can be used only with static priorities higher than 0, which " |
| 428 |
"means that when a B<SCHED_FIFO> thread becomes runnable, it will always " |
| 429 |
"immediately preempt any currently running B<SCHED_OTHER>, B<SCHED_BATCH>, or " |
| 430 |
"B<SCHED_IDLE> thread. B<SCHED_FIFO is a simple scheduling> algorithm " |
| 431 |
"without time slicing. For threads scheduled under the B<SCHED_FIFO> policy, " |
| 432 |
"the following rules apply:" |
| 433 |
msgstr "" |
| 434 |
"Algorytm B<SCHED_FIFO> (z ang. first in-first out) można stosować tylko ze " |
| 435 |
"statycznymi priorytetami wyższymi niż 0, co oznacza, że gdy wątek " |
| 436 |
"B<SCHED_FIFO> stanie się gotowy do uruchomienia, zawsze natychmiast " |
| 437 |
"wywłaszczy każdy działający wątek B<SCHED_OTHER>, B<SCHED_BATCH> lub " |
| 438 |
"B<SCHED_IDLE>. B<SCHED_FIFO jest algorytmem prostego planowania> bez " |
| 439 |
"podziału na wycinki czasowe. Do wątków szeregowanych według algorytmu " |
| 440 |
"B<SCHED_FIFO> stosują się następujące reguły:" |
| 441 |
|
| 442 |
#. type: IP |
| 443 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 444 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 445 |
#, no-wrap |
| 446 |
msgid "\\[bu]" |
| 447 |
msgstr "\\[bu]" |
| 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 |
msgid "" |
| 453 |
"A running B<SCHED_FIFO> thread that has been preempted by another thread of " |
| 454 |
"higher priority will stay at the head of the list for its priority and will " |
| 455 |
"resume execution as soon as all threads of higher priority are blocked again." |
| 456 |
msgstr "" |
| 457 |
"Działający wątek B<SCHED_FIFO> wywłaszczony przez inny wątek o wyższym " |
| 458 |
"priorytecie pozostanie na czele listy swojego priorytetu i wznowi wykonanie, " |
| 459 |
"gdy tylko wszystkie wątki o wyższym priorytecie zostaną ponownie zablokowane." |
| 460 |
|
| 461 |
#. type: Plain text |
| 462 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 463 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 464 |
msgid "" |
| 465 |
"When a blocked B<SCHED_FIFO> thread becomes runnable, it will be inserted at " |
| 466 |
"the end of the list for its priority." |
| 467 |
msgstr "" |
| 468 |
"Gdy zablokowany wątek B<SCHED_FIFO> stanie się gotowy do uruchomienia, " |
| 469 |
"zostanie umieszczony na końcu listy swojego priorytetu." |
| 470 |
|
| 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 |
"If a call to B<sched_setscheduler>(2), B<sched_setparam>(2), " |
| 476 |
"B<sched_setattr>(2), B<pthread_setschedparam>(3), or " |
| 477 |
"B<pthread_setschedprio>(3) changes the priority of the running or runnable " |
| 478 |
"B<SCHED_FIFO> thread identified by I<pid> the effect on the thread's " |
| 479 |
"position in the list depends on the direction of the change to the thread's " |
| 480 |
"priority:" |
| 481 |
msgstr "" |
| 482 |
"Gdy wywołanie do B<sched_setscheduler>(2), B<sched_setparam>(2), " |
| 483 |
"B<sched_setattr>(2), B<pthread_setschedparam>(3) lub " |
| 484 |
"B<pthread_setschedprio>(3) zmieni priorytet działającego lub gotowego do " |
| 485 |
"działania wątku B<SCHED_FIFO>, identyfikowanego przez I<pid>, efekt pozycji " |
| 486 |
"wątku na liście zależy od kierunku zmiany priorytetu wątku:" |
| 487 |
|
| 488 |
#. type: IP |
| 489 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 490 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 491 |
#, no-wrap |
| 492 |
msgid "(a)" |
| 493 |
msgstr "(a)" |
| 494 |
|
| 495 |
#. type: Plain text |
| 496 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 497 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 498 |
msgid "" |
| 499 |
"If the thread's priority is raised, it is placed at the end of the list for " |
| 500 |
"its new priority. As a consequence, it may preempt a currently running " |
| 501 |
"thread with the same priority." |
| 502 |
msgstr "" |
| 503 |
"Jeśli podnosi się priorytet wątku, jest on umieszczany na końcu listy jego " |
| 504 |
"nowego priorytetu. Może zatem wywłaszczyć aktualnie działający wątek o tym " |
| 505 |
"samym priorytecie." |
| 506 |
|
| 507 |
#. type: IP |
| 508 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 509 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 510 |
#, no-wrap |
| 511 |
msgid "(b)" |
| 512 |
msgstr "(b)" |
| 513 |
|
| 514 |
#. type: Plain text |
| 515 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 516 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 517 |
msgid "" |
| 518 |
"If the thread's priority is unchanged, its position in the run list is " |
| 519 |
"unchanged." |
| 520 |
msgstr "" |
| 521 |
"Jeśli priorytet wątku nie ulega zmianie, jego pozycja na liście nie ulega " |
| 522 |
"zmianie." |
| 523 |
|
| 524 |
#. type: IP |
| 525 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 526 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 527 |
#, no-wrap |
| 528 |
msgid "(c)" |
| 529 |
msgstr "(c)" |
| 530 |
|
| 531 |
#. type: Plain text |
| 532 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 533 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 534 |
msgid "" |
| 535 |
"If the thread's priority is lowered, it is placed at the front of the list " |
| 536 |
"for its new priority." |
| 537 |
msgstr "" |
| 538 |
"Jeśli obniża się priorytet wątku, jest on umieszczany na czele listy jego " |
| 539 |
"nowego priorytetu." |
| 540 |
|
| 541 |
#. In Linux 2.2.x and Linux 2.4.x, the thread is placed at the front of the queue |
| 542 |
#. In Linux 2.0.x, the Right Thing happened: the thread went to the back -- MTK |
| 543 |
#. type: Plain text |
| 544 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 545 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 546 |
msgid "" |
| 547 |
"According to POSIX.1-2008, changes to a thread's priority (or policy) using " |
| 548 |
"any mechanism other than B<pthread_setschedprio>(3) should result in the " |
| 549 |
"thread being placed at the end of the list for its priority." |
| 550 |
msgstr "" |
| 551 |
"Zgodnie z POSIX.1-2008, zmiany priorytetu (lub algorytmu szeregowania) " |
| 552 |
"wątku, dokonane mechanizmem innym niż B<pthread_setschedprio>(3), powinny " |
| 553 |
"spowodować umieszczenie wątku na końcu listy jego priorytetu." |
| 554 |
|
| 555 |
#. type: Plain text |
| 556 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 557 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 558 |
msgid "A thread calling B<sched_yield>(2) will be put at the end of the list." |
| 559 |
msgstr "" |
| 560 |
"Wątek wywołujący B<sched_yield>(2) zostanie umieszczony na końcu listy." |
| 561 |
|
| 562 |
#. type: Plain text |
| 563 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 564 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 565 |
msgid "" |
| 566 |
"No other events will move a thread scheduled under the B<SCHED_FIFO> policy " |
| 567 |
"in the wait list of runnable threads with equal static priority." |
| 568 |
msgstr "" |
| 569 |
"Nie występują inne zdarzenia mogące przesunąć wątek szeregowany według " |
| 570 |
"algorytmu B<SCHED_FIFO> na liście oczekujących wątków gotowych do działania " |
| 571 |
"o tym samym priorytecie statycznym." |
| 572 |
|
| 573 |
#. type: Plain text |
| 574 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 575 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 576 |
msgid "" |
| 577 |
"A B<SCHED_FIFO> thread runs until either it is blocked by an I/O request, it " |
| 578 |
"is preempted by a higher priority thread, or it calls B<sched_yield>(2)." |
| 579 |
msgstr "" |
| 580 |
"Wątek B<SCHED_FIFO> działa do momentu zablokowania przez żądanie wejścia/" |
| 581 |
"wyjścia, wywłaszczenia przez wątek o wyższym priorytecie lub wywołania przez " |
| 582 |
"niego B<sched_yield>(2)." |
| 583 |
|
| 584 |
#. type: SS |
| 585 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 586 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 587 |
#, no-wrap |
| 588 |
msgid "SCHED_RR: Round-robin scheduling" |
| 589 |
msgstr "SCHED_RR: Szeregowanie rotacyjne (karuzelowe)" |
| 590 |
|
| 591 |
#. On Linux 2.4, the length of the RR interval is influenced |
| 592 |
#. by the process nice value -- MTK |
| 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 |
"B<SCHED_RR> is a simple enhancement of B<SCHED_FIFO>. Everything described " |
| 598 |
"above for B<SCHED_FIFO> also applies to B<SCHED_RR>, except that each thread " |
| 599 |
"is allowed to run only for a maximum time quantum. If a B<SCHED_RR> thread " |
| 600 |
"has been running for a time period equal to or longer than the time quantum, " |
| 601 |
"it will be put at the end of the list for its priority. A B<SCHED_RR> " |
| 602 |
"thread that has been preempted by a higher priority thread and subsequently " |
| 603 |
"resumes execution as a running thread will complete the unexpired portion of " |
| 604 |
"its round-robin time quantum. The length of the time quantum can be " |
| 605 |
"retrieved using B<sched_rr_get_interval>(2)." |
| 606 |
msgstr "" |
| 607 |
"Algorytm B<SCHED_RR> (z ang. round-robin) jest prostym rozszerzeniem " |
| 608 |
"B<SCHED_FIFO>. Wszystko, co opisano powyżej wobec B<SCHED_FIFO>, stosuje się " |
| 609 |
"również wobec B<SCHED_RR> z tym wyjątkiem, że każdy wątek może działać " |
| 610 |
"jedynie przez maksymalny kwant czasu. Jeśli wątek B<SCHED_RR> działał przez " |
| 611 |
"czas równy lub dłuższy kwantowi czasu, zostanie umieszczony na końcu listy " |
| 612 |
"dla jego priorytetu. Wątek B<SCHED_RR> wywłaszczony przez wątek o wyższym " |
| 613 |
"priorytecie, który następnie wznowił działanie jako wątek działający, " |
| 614 |
"ukończy niewygasły fragment swojego kwantu czasu szeregowania rotacyjnego. " |
| 615 |
"Długość kwantu czasu można pozyskać za pomocą B<sched_rr_get_interval>(2)." |
| 616 |
|
| 617 |
#. type: SS |
| 618 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 619 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 620 |
#, no-wrap |
| 621 |
msgid "SCHED_DEADLINE: Sporadic task model deadline scheduling" |
| 622 |
msgstr "SCHED_DEADLINE: Szeregowanie sporadyczne z budżetem czasu" |
| 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 "" |
| 628 |
"Since Linux 3.14, Linux provides a deadline scheduling policy " |
| 629 |
"(B<SCHED_DEADLINE>). This policy is currently implemented using GEDF " |
| 630 |
"(Global Earliest Deadline First) in conjunction with CBS (Constant " |
| 631 |
"Bandwidth Server). To set and fetch this policy and associated attributes, " |
| 632 |
"one must use the Linux-specific B<sched_setattr>(2) and " |
| 633 |
"B<sched_getattr>(2) system calls." |
| 634 |
msgstr "" |
| 635 |
"Od Linuksa 3.14, Linux udostępnia szeregowanie sporadyczne z budżetem czasu " |
| 636 |
"(B<SCHED_DEADLINE>). Ten algorytm zaimplementowano obecnie za pomocą GEDF " |
| 637 |
"(Global Earliest Deadline First) w połączeniu z CBS (Constant Bandwidth " |
| 638 |
"Server). Aby ustawić i pobrać ten algorytm wraz z powiązanymi atrybutami, " |
| 639 |
"konieczne jest użycie typowo linuksowych wywołań systemowych " |
| 640 |
"B<sched_setattr>(2) i B<sched_getattr>(2)." |
| 641 |
|
| 642 |
#. type: Plain text |
| 643 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 644 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 645 |
msgid "" |
| 646 |
"A sporadic task is one that has a sequence of jobs, where each job is " |
| 647 |
"activated at most once per period. Each job also has a I<relative " |
| 648 |
"deadline>, before which it should finish execution, and a I<computation " |
| 649 |
"time>, which is the CPU time necessary for executing the job. The moment " |
| 650 |
"when a task wakes up because a new job has to be executed is called the " |
| 651 |
"I<arrival time> (also referred to as the request time or release time). The " |
| 652 |
"I<start time> is the time at which a task starts its execution. The " |
| 653 |
"I<absolute deadline> is thus obtained by adding the relative deadline to the " |
| 654 |
"arrival time." |
| 655 |
msgstr "" |
| 656 |
"Zadaniem sporadycznym jest takie, które ma sekwencje zadań, z których każde " |
| 657 |
"jest aktywowane co najwyżej raz na okres. Każde zadanie ma też I<limit " |
| 658 |
"względny>, przed którym powinno ukończyć wykonanie oraz I<czas " |
| 659 |
"obliczeniowy>, który jest czasem procesora potrzebnym na wykonanie zadania. " |
| 660 |
"Moment, w którym zadanie wybudza się, ze względu na nową pracę do wykonania, " |
| 661 |
"nazywa się I<momentem nadejścia> (również momentem żądania lub momentem " |
| 662 |
"zwolnienia). I<Moment uruchomienia> to czas, w którym zadanie rozpoczyna swe " |
| 663 |
"wykonywanie. I<Limit absolutny> powstaje zatem przez dodanie limitu " |
| 664 |
"względnego do czasu nadejścia." |
| 665 |
|
| 666 |
#. type: Plain text |
| 667 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 668 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 669 |
msgid "The following diagram clarifies these terms:" |
| 670 |
msgstr "Poniższy diagram ukazuje powyższe pojęcia:" |
| 671 |
|
| 672 |
#. type: Plain text |
| 673 |
#: archlinux debian-unstable mageia-cauldron opensuse-leap-16-1 |
| 674 |
#: opensuse-tumbleweed |
| 675 |
#, no-wrap |
| 676 |
msgid "" |
| 677 |
"arrival/wakeup absolute deadline\n" |
| 678 |
" | start time |\n" |
| 679 |
" | | |\n" |
| 680 |
" v v v\n" |
| 681 |
"-----x--------xooooooooooooooooo--------x--------x---\n" |
| 682 |
" |E<lt>- comp.\\& time -E<gt>|\n" |
| 683 |
" |E<lt>------- relative deadline ------E<gt>|\n" |
| 684 |
" |E<lt>-------------- period -------------------E<gt>|\n" |
| 685 |
msgstr "" |
| 686 |
"nadejście/wybudzenie limit absolutny\n" |
| 687 |
" | moment uruchomienia |\n" |
| 688 |
" | | |\n" |
| 689 |
" v v v\n" |
| 690 |
"-----x--------xooooooooooooooooo--------x--------x---\n" |
| 691 |
" |E<lt>- czas obl.\\& --E<gt>|\n" |
| 692 |
" |E<lt>-------- limit względny --------E<gt>|\n" |
| 693 |
" |E<lt>-------------- okres --------------------E<gt>|\n" |
| 694 |
|
| 695 |
# Tłumaczenie zsynchronizować z sched_setattr(2). |
| 696 |
#. type: Plain text |
| 697 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 698 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 699 |
msgid "" |
| 700 |
"When setting a B<SCHED_DEADLINE> policy for a thread using " |
| 701 |
"B<sched_setattr>(2), one can specify three parameters: I<Runtime>, " |
| 702 |
"I<Deadline>, and I<Period>. These parameters do not necessarily correspond " |
| 703 |
"to the aforementioned terms: usual practice is to set Runtime to something " |
| 704 |
"bigger than the average computation time (or worst-case execution time for " |
| 705 |
"hard real-time tasks), Deadline to the relative deadline, and Period to the " |
| 706 |
"period of the task. Thus, for B<SCHED_DEADLINE> scheduling, we have:" |
| 707 |
msgstr "" |
| 708 |
"Przy ustawianiu algorytmu B<SCHED_DEADLINE> wobec wątku za pomocą " |
| 709 |
"B<sched_setattr>(2), można podać trzy parametry: I<Czas Działania> " |
| 710 |
"(I<Runtime>), I<Limit> (I<Deadline>) oraz I<Okres> (I<Period>). Parametry te " |
| 711 |
"niekoniecznie odpowiadają wcześniej wymienionym pojęciom: praktyką jest " |
| 712 |
"zwykle ustawienie Czasu Działania na wartość większą niż przeciętny czas " |
| 713 |
"obliczeniowy (lub czas wykonania w najgorszym wariancie, w przypadku " |
| 714 |
"trudnych zadań czasu rzeczywistego), Limit na limit względny a Okres na " |
| 715 |
"okres zadania. Zatem w szeregowaniu B<SCHED_DEADLINE> mamy:" |
| 716 |
|
| 717 |
#. type: Plain text |
| 718 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 719 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 720 |
#, no-wrap |
| 721 |
msgid "" |
| 722 |
"arrival/wakeup absolute deadline\n" |
| 723 |
" | start time |\n" |
| 724 |
" | | |\n" |
| 725 |
" v v v\n" |
| 726 |
"-----x--------xooooooooooooooooo--------x--------x---\n" |
| 727 |
" |E<lt>-- Runtime -------E<gt>|\n" |
| 728 |
" |E<lt>----------- Deadline -----------E<gt>|\n" |
| 729 |
" |E<lt>-------------- Period -------------------E<gt>|\n" |
| 730 |
msgstr "" |
| 731 |
"nadejście/wybudzenie limit absolutny\n" |
| 732 |
" | moment uruchomienia |\n" |
| 733 |
" | | |\n" |
| 734 |
" v v v\n" |
| 735 |
"-----x--------xooooooooooooooooo--------x--------x---\n" |
| 736 |
" |E<lt>- Czas Działania -E<gt>|\n" |
| 737 |
" |E<lt>------------- Limit ------------E<gt>|\n" |
| 738 |
" |E<lt>-------------- Okres --------------------E<gt>|\n" |
| 739 |
|
| 740 |
#. FIXME It looks as though specifying sched_period as 0 means |
| 741 |
#. "make sched_period the same as sched_deadline". |
| 742 |
#. This needs to be documented. |
| 743 |
#. type: Plain text |
| 744 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 745 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 746 |
msgid "" |
| 747 |
"The three deadline-scheduling parameters correspond to the I<sched_runtime>, " |
| 748 |
"I<sched_deadline>, and I<sched_period> fields of the I<sched_attr> " |
| 749 |
"structure; see B<sched_setattr>(2). These fields express values in " |
| 750 |
"nanoseconds. If I<sched_period> is specified as 0, then it is made the same " |
| 751 |
"as I<sched_deadline>." |
| 752 |
msgstr "" |
| 753 |
"Trzy parametry niniejszego szeregowania odpowiadają polom I<sched_runtime>, " |
| 754 |
"I<sched_deadline> oraz I<sched_period> struktury I<sched_attr>; zob. " |
| 755 |
"B<sched_setattr>(2). Pola te wyrażają wartości w nanosekundach. Jeśli poda " |
| 756 |
"się I<sched_period> jako 0, przyjmowana jest wartość taka sama jak w " |
| 757 |
"I<sched_deadline>." |
| 758 |
|
| 759 |
#. type: Plain text |
| 760 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 761 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 762 |
msgid "The kernel requires that:" |
| 763 |
msgstr "Jądro wymaga aby:" |
| 764 |
|
| 765 |
#. type: Plain text |
| 766 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 767 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 768 |
#, no-wrap |
| 769 |
msgid "sched_runtime E<lt>= sched_deadline E<lt>= sched_period\n" |
| 770 |
msgstr "sched_runtime E<lt>= sched_deadline E<lt>= sched_period\n" |
| 771 |
|
| 772 |
#. See __checkparam_dl in kernel/sched/core.c |
| 773 |
#. type: Plain text |
| 774 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 775 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 776 |
msgid "" |
| 777 |
"In addition, under the current implementation, all of the parameter values " |
| 778 |
"must be at least 1024 (i.e., just over one microsecond, which is the " |
| 779 |
"resolution of the implementation), and less than 2\\[ha]63. If any of these " |
| 780 |
"checks fails, B<sched_setattr>(2) fails with the error B<EINVAL>." |
| 781 |
msgstr "" |
| 782 |
"Dodatkowo, w bieżącej implementacji, wszystkie wartości parametrów muszą " |
| 783 |
"wynosić przynajmniej 1024 (tj. odrobinę ponad jedną mikrosekundę, stanowiącą " |
| 784 |
"rozdzielczość implementacji) i mniej niż 2\\[ha]63. Jeśli któryś z tych " |
| 785 |
"warunków nie będzie spełniony, B<sched_setattr>(2) zawiedzie z błędem " |
| 786 |
"B<EINVAL>." |
| 787 |
|
| 788 |
#. type: Plain text |
| 789 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 790 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 791 |
msgid "" |
| 792 |
"The CBS guarantees non-interference between tasks, by throttling threads " |
| 793 |
"that attempt to over-run their specified Runtime." |
| 794 |
msgstr "" |
| 795 |
"CBS gwarantuje brak interferencji pomiędzy zadaniami, poprzez dławienie " |
| 796 |
"wątków próbujących przekroczyć ich określony Czas Działania." |
| 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 |
"To ensure deadline scheduling guarantees, the kernel must prevent situations " |
| 803 |
"where the set of B<SCHED_DEADLINE> threads is not feasible (schedulable) " |
| 804 |
"within the given constraints. The kernel thus performs an admittance test " |
| 805 |
"when setting or changing B<SCHED_DEADLINE> policy and attributes. This " |
| 806 |
"admission test calculates whether the change is feasible; if it is not, " |
| 807 |
"B<sched_setattr>(2) fails with the error B<EBUSY>." |
| 808 |
msgstr "" |
| 809 |
"Aby zagwarantować szeregowanie z budżetem czasu, jądro musi zapobiegać " |
| 810 |
"sytuacjom, gdy uszeregowanie zbioru wątków B<SCHED_DEADLINE> jest " |
| 811 |
"nierealistyczne w podanych ograniczeniach czasowych. Jądro dokonuje zatem " |
| 812 |
"testu przyjęcia przy ustawianiu lub zmienianiu algorytmu i atrybutów " |
| 813 |
"B<SCHED_DEADLINE>. Test przyjęcia polega na obliczeniu, czy zmiana jest " |
| 814 |
"realistyczna: jeśli nie jest, B<sched_setattr>(2) zawiedzie z błędem " |
| 815 |
"B<EBUSY>." |
| 816 |
|
| 817 |
#. type: Plain text |
| 818 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 819 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 820 |
msgid "" |
| 821 |
"For example, it is required (but not necessarily sufficient) for the total " |
| 822 |
"utilization to be less than or equal to the total number of CPUs available, " |
| 823 |
"where, since each thread can maximally run for Runtime per Period, that " |
| 824 |
"thread's utilization is its Runtime divided by its Period." |
| 825 |
msgstr "" |
| 826 |
"Na przykład, jest wymagane (lecz niekoniecznie wystarczające), aby całkowite " |
| 827 |
"użycie było mniejsze lub równe całkowitej liczbie dostępnych procesorów, " |
| 828 |
"ponieważ każdy wątek może działać maksymalnie przez Czas Działania na Okres, " |
| 829 |
"czyli jego użycie wynosi Czas Działania dzielony przez jego Okres." |
| 830 |
|
| 831 |
#. type: Plain text |
| 832 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 833 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 834 |
msgid "" |
| 835 |
"In order to fulfill the guarantees that are made when a thread is admitted " |
| 836 |
"to the B<SCHED_DEADLINE> policy, B<SCHED_DEADLINE> threads are the highest " |
| 837 |
"priority (user controllable) threads in the system; if any B<SCHED_DEADLINE> " |
| 838 |
"thread is runnable, it will preempt any thread scheduled under one of the " |
| 839 |
"other policies." |
| 840 |
msgstr "" |
| 841 |
"Aby wypełnić gwarancje uczynione przy przyjęciu wątku przez algorytm " |
| 842 |
"B<SCHED_DEADLINE>, wątki B<SCHED_DEADLINE> są wątkami o najwyższym " |
| 843 |
"(kontrolowanym przez użytkownika) priorytecie w systemie; jeśli działa jakiś " |
| 844 |
"wątek B<SCHED_DEADLINE>, wywłaszczy on wszystkie wątki szeregowane według " |
| 845 |
"innych algorytmów." |
| 846 |
|
| 847 |
#. type: Plain text |
| 848 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 849 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 850 |
msgid "" |
| 851 |
"A call to B<fork>(2) by a thread scheduled under the B<SCHED_DEADLINE> " |
| 852 |
"policy fails with the error B<EAGAIN>, unless the thread has its reset-on-" |
| 853 |
"fork flag set (see below)." |
| 854 |
msgstr "" |
| 855 |
"Wywołanie B<fork>(2) przez wątek szeregowany według algorytmu " |
| 856 |
"B<SCHED_DEADLINE> zawiedzie z błędem B<EAGAIN>, chyba że wątek ma ustawiony " |
| 857 |
"swój znacznik reset-on-fork (zob. niżej)." |
| 858 |
|
| 859 |
# |
| 860 |
#. FIXME Calling sched_getparam() on a SCHED_DEADLINE thread |
| 861 |
#. fails with EINVAL, but sched_getscheduler() succeeds. |
| 862 |
#. Is that intended? (Why?) |
| 863 |
#. type: Plain text |
| 864 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 865 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 866 |
msgid "" |
| 867 |
"A B<SCHED_DEADLINE> thread that calls B<sched_yield>(2) will yield the " |
| 868 |
"current job and wait for a new period to begin." |
| 869 |
msgstr "" |
| 870 |
"Wątek B<SCHED_DEADLINE> po wywołaniu B<sched_yield>(2) zwolni bieżącą pracę " |
| 871 |
"i zaczeka na rozpoczęcie nowego okresu." |
| 872 |
|
| 873 |
#. type: SS |
| 874 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 875 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 876 |
#, no-wrap |
| 877 |
msgid "SCHED_OTHER: Default Linux time-sharing scheduling" |
| 878 |
msgstr "SCHED_OTHER: Domyślny sposób szeregowania zadań w Linuksie" |
| 879 |
|
| 880 |
#. type: Plain text |
| 881 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 882 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 883 |
msgid "" |
| 884 |
"B<SCHED_OTHER> can be used at only static priority 0 (i.e., threads under " |
| 885 |
"real-time policies always have priority over B<SCHED_OTHER> processes). " |
| 886 |
"B<SCHED_OTHER> is the standard Linux time-sharing scheduler that is intended " |
| 887 |
"for all threads that do not require the special real-time mechanisms." |
| 888 |
msgstr "" |
| 889 |
"Algorytm B<SCHED_OTHER> można stosować tylko ze statycznym priorytetem 0 " |
| 890 |
"(tj. wątki szeregowane przez algorytmy czasu rzeczywistego są zawsze " |
| 891 |
"priorytetowe wobec procesów B<SCHED_OTHER>). B<SCHED_OTHER> jest " |
| 892 |
"standardowym algorytmem szeregowania w Linuksie, przeznaczonym do wszystkich " |
| 893 |
"wątków niewymagających specjalnych mechanizmów czasu rzeczywistego." |
| 894 |
|
| 895 |
#. type: Plain text |
| 896 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 897 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 898 |
msgid "" |
| 899 |
"The thread to run is chosen from the static priority 0 list based on a " |
| 900 |
"I<dynamic> priority that is determined only inside this list. The dynamic " |
| 901 |
"priority is based on the nice value (see below) and is increased for each " |
| 902 |
"time quantum the thread is ready to run, but denied to run by the " |
| 903 |
"scheduler. This ensures fair progress among all B<SCHED_OTHER> threads." |
| 904 |
msgstr "" |
| 905 |
"Wątek do uruchomienia jest wybierany z listy o statycznym priorytecie 0, w " |
| 906 |
"oparciu o priorytet I<dynamiczny>, określany jedynie wewnątrz tej listy. " |
| 907 |
"Priorytet dynamiczny bazuje na wartości nice (zob. niżej) i jest zwiększany " |
| 908 |
"przy każdym kwancie czasu, w którym wątek jest gotowy do uruchomienia, ale " |
| 909 |
"odmówił mu tego dyspozytor (tzw. postarzanie wątku). W ten sposób uzyskuje " |
| 910 |
"się sprawiedliwy postęp dla wszystkich wątków B<SCHED_OTHER>." |
| 911 |
|
| 912 |
#. type: Plain text |
| 913 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 914 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 915 |
msgid "" |
| 916 |
"In the Linux kernel source code, the B<SCHED_OTHER> policy is actually named " |
| 917 |
"B<SCHED_NORMAL>." |
| 918 |
msgstr "" |
| 919 |
"W kodzie źródłowym jądra Linux, algorytm B<SCHED_OTHER> nazywa się tak " |
| 920 |
"naprawdę B<SCHED_NORMAL>." |
| 921 |
|
| 922 |
#. type: SS |
| 923 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 924 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 925 |
#, no-wrap |
| 926 |
msgid "The nice value" |
| 927 |
msgstr "Wartość nice" |
| 928 |
|
| 929 |
#. type: Plain text |
| 930 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 931 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 932 |
msgid "" |
| 933 |
"The nice value is an attribute that can be used to influence the CPU " |
| 934 |
"scheduler to favor or disfavor a process in scheduling decisions. It " |
| 935 |
"affects the scheduling of B<SCHED_OTHER> and B<SCHED_BATCH> (see below) " |
| 936 |
"processes. The nice value can be modified using B<nice>(2), " |
| 937 |
"B<setpriority>(2), or B<sched_setattr>(2)." |
| 938 |
msgstr "" |
| 939 |
"Wartość nice jest atrybutem, który można wpłynąć na dyspozytora, aby " |
| 940 |
"faworyzował (lub przeciwnie) proces w decyzjach szeregowania zadań. Wpływa " |
| 941 |
"na szeregowanie procesów B<SCHED_OTHER> i B<SCHED_BATCH> (zob. niżej). " |
| 942 |
"Wartość nice można modyfikować za pomocą B<nice>(2), B<setpriority>(2) lub " |
| 943 |
"B<sched_setattr>(2)." |
| 944 |
|
| 945 |
#. type: Plain text |
| 946 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 947 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 948 |
msgid "" |
| 949 |
"According to POSIX.1, the nice value is a per-process attribute; that is, " |
| 950 |
"the threads in a process should share a nice value. However, on Linux, the " |
| 951 |
"nice value is a per-thread attribute: different threads in the same process " |
| 952 |
"may have different nice values." |
| 953 |
msgstr "" |
| 954 |
"Zgodnie z POSIX.1, wartość nice jest atrybutem przynależnym procesowi; tj. " |
| 955 |
"wątki procesu powinny dzielić wartość nice. Jednak w Linuksie wartość nice " |
| 956 |
"jest atrybutem przynależnym wątkowi: różne wątki tego samego procesu mogą " |
| 957 |
"mieć różne wartości nice." |
| 958 |
|
| 959 |
#. Linux before 1.3.36 had \-infinity..15. |
| 960 |
#. Since Linux 1.3.43, Linux has the range \-20..19. |
| 961 |
#. type: Plain text |
| 962 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 963 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 964 |
msgid "" |
| 965 |
"The range of the nice value varies across UNIX systems. On modern Linux, " |
| 966 |
"the range is -20 (high priority) to +19 (low priority). On some other " |
| 967 |
"systems, the range is -20..20. Very early Linux kernels (before Linux 2.0) " |
| 968 |
"had the range -infinity..15." |
| 969 |
msgstr "" |
| 970 |
"Przedział wartości nice różni się między systemami UNIX. We współczesnym " |
| 971 |
"Linuksie przedział wynosi od -20 (wysoki priorytet) do +19 (niski " |
| 972 |
"priorytet). W niektórych innych systemach wynosi on -20..20. Bardzo wczesne " |
| 973 |
"jądra Linux (przed Linuksem 2.0) korzystały z przedziału -nieskończoność..15." |
| 974 |
|
| 975 |
#. type: Plain text |
| 976 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 977 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 978 |
msgid "" |
| 979 |
"The degree to which the nice value affects the relative scheduling of " |
| 980 |
"B<SCHED_OTHER> processes likewise varies across UNIX systems and across " |
| 981 |
"Linux kernel versions." |
| 982 |
msgstr "" |
| 983 |
"Poziom wpływu wartości nice na relatywne szeregowanie procesów " |
| 984 |
"B<SCHED_OTHER> również różni się między systemami UNIX oraz pomiędzy " |
| 985 |
"wersjami jądra Linux." |
| 986 |
|
| 987 |
#. type: Plain text |
| 988 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 989 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 990 |
msgid "" |
| 991 |
"With the advent of the CFS scheduler in Linux 2.6.23, Linux adopted an " |
| 992 |
"algorithm that causes relative differences in nice values to have a much " |
| 993 |
"stronger effect. In the current implementation, each unit of difference in " |
| 994 |
"the nice values of two processes results in a factor of 1.25 in the degree " |
| 995 |
"to which the scheduler favors the higher priority process. This causes very " |
| 996 |
"low nice values (+19) to truly provide little CPU to a process whenever " |
| 997 |
"there is any other higher priority load on the system, and makes high nice " |
| 998 |
"values (-20) deliver most of the CPU to applications that require it (e.g., " |
| 999 |
"some audio applications)." |
| 1000 |
msgstr "" |
| 1001 |
"Wraz z wprowadzeniem dyspozytora CFS w Linuksie 2.6.23, Linux przyjął " |
| 1002 |
"algorytm przewidujący znacznie większy wpływ relatywnych różnic wartości " |
| 1003 |
"nice. W bieżącej implementacji, różnica każdej jedności w wartości nice " |
| 1004 |
"pomiędzy dwoma procesami stanowi mnożnik 1,25, o jaki planista faworyzuje " |
| 1005 |
"proces o wyższym priorytecie. Powoduje to zapewnienie rzeczywiście " |
| 1006 |
"niewielkiego czasu procesora procesom o bardzo niskim priorytecie (wartość " |
| 1007 |
"nice +19), gdy w systemie występują istotniejsze zadania oraz udostępnia " |
| 1008 |
"większość procesora przy wysokim priorytecie (wartość nice -20) aplikacjom, " |
| 1009 |
"które tego wymagają (np. niektóre programy związane z dźwiękiem)." |
| 1010 |
|
| 1011 |
#. type: Plain text |
| 1012 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 1013 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 1014 |
msgid "" |
| 1015 |
"On Linux, the B<RLIMIT_NICE> resource limit can be used to define a limit to " |
| 1016 |
"which an unprivileged process's nice value can be raised; see " |
| 1017 |
"B<setrlimit>(2) for details." |
| 1018 |
msgstr "" |
| 1019 |
"W Linuksie, za pomocą limitu zasobów B<RLIMIT_NICE>, można zdefiniować limit " |
| 1020 |
"wartość nice, jaki może uzyskać nieuprzywilejowany proces; więcej szczegółów " |
| 1021 |
"w podręczniku B<setrlimit>(2)." |
| 1022 |
|
| 1023 |
#. type: Plain text |
| 1024 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 1025 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 1026 |
msgid "" |
| 1027 |
"For further details on the nice value, see the subsections on the autogroup " |
| 1028 |
"feature and group scheduling, below." |
| 1029 |
msgstr "" |
| 1030 |
"Więcej szczegółów na temat wartości nice opisano poniżej, w podrozdziałach o " |
| 1031 |
"funkcji autogrupowania i szeregowania grup." |
| 1032 |
|
| 1033 |
#. type: SS |
| 1034 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 1035 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 1036 |
#, no-wrap |
| 1037 |
msgid "SCHED_BATCH: Scheduling batch processes" |
| 1038 |
msgstr "SCHED_BATCH: Szeregowanie procesów wsadowych" |
| 1039 |
|
| 1040 |
#. type: Plain text |
| 1041 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 1042 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 1043 |
msgid "" |
| 1044 |
"(Since Linux 2.6.16.) B<SCHED_BATCH> can be used only at static priority " |
| 1045 |
"0. This policy is similar to B<SCHED_OTHER> in that it schedules the thread " |
| 1046 |
"according to its dynamic priority (based on the nice value). The difference " |
| 1047 |
"is that this policy will cause the scheduler to always assume that the " |
| 1048 |
"thread is CPU-intensive. Consequently, the scheduler will apply a small " |
| 1049 |
"scheduling penalty with respect to wakeup behavior, so that this thread is " |
| 1050 |
"mildly disfavored in scheduling decisions." |
| 1051 |
msgstr "" |
| 1052 |
"(Od Linuksa 2.6.16). Algorytm B<SCHED_BATCH> można stosować wyłącznie ze " |
| 1053 |
"statycznym priorytetem 0. Algorytm podobny do B<SCHED_OTHER> w tym, że " |
| 1054 |
"szereguje wątki zgodnie z ich priorytetem dynamicznym (bazującym na wartości " |
| 1055 |
"nice). Różnica jest taka, że tutaj dyspozytor zawsze zakłada, że wątek jest " |
| 1056 |
"obciążający dla procesora. W konsekwencji, planista zastosuje niewielką karę " |
| 1057 |
"przy wybudzeniu, co powoduje umiarkowanie rzadsze przydzielanie mu zasobów." |
| 1058 |
|
| 1059 |
#. The following paragraph is drawn largely from the text that |
| 1060 |
#. accompanied Ingo Molnar's patch for the implementation of |
| 1061 |
#. SCHED_BATCH. |
| 1062 |
#. commit b0a9499c3dd50d333e2aedb7e894873c58da3785 |
| 1063 |
#. type: Plain text |
| 1064 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 1065 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 1066 |
msgid "" |
| 1067 |
"This policy is useful for workloads that are noninteractive, but do not want " |
| 1068 |
"to lower their nice value, and for workloads that want a deterministic " |
| 1069 |
"scheduling policy without interactivity causing extra preemptions (between " |
| 1070 |
"the workload's tasks)." |
| 1071 |
msgstr "" |
| 1072 |
"Algorytm przydatny w przypadku obciążeń nieinteraktywnych, które jednak nie " |
| 1073 |
"chcą zmniejszać swojego priorytetu poprzez wartość nice oraz w przypadku " |
| 1074 |
"obciążeń wymagających deterministycznego algorytmu szeregowania, bez " |
| 1075 |
"dodatkowego wywłaszczania wywoływanego przez interaktywność (pomiędzy ich " |
| 1076 |
"zadaniami)." |
| 1077 |
|
| 1078 |
#. type: SS |
| 1079 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 1080 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 1081 |
#, no-wrap |
| 1082 |
msgid "SCHED_IDLE: Scheduling very low priority jobs" |
| 1083 |
msgstr "SCHED_IDLE: Szeregowanie zadań o bardzo niskim priorytecie" |
| 1084 |
|
| 1085 |
#. type: Plain text |
| 1086 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 1087 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 1088 |
msgid "" |
| 1089 |
"(Since Linux 2.6.23.) B<SCHED_IDLE> can be used only at static priority 0; " |
| 1090 |
"the process nice value has no influence for this policy." |
| 1091 |
msgstr "" |
| 1092 |
"(Od Linuksa 2.6.23). Algorytm B<SCHED_IDLE> można stosować tylko ze " |
| 1093 |
"statycznym priorytetem 0; wartość nice procesu nie ma na niego wpływu." |
| 1094 |
|
| 1095 |
#. type: Plain text |
| 1096 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 1097 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 1098 |
msgid "" |
| 1099 |
"This policy is intended for running jobs at extremely low priority (lower " |
| 1100 |
"even than a +19 nice value with the B<SCHED_OTHER> or B<SCHED_BATCH> " |
| 1101 |
"policies)." |
| 1102 |
msgstr "" |
| 1103 |
"Przeznaczony do uruchamiania zadań o ekstremalnie niskim priorytecie " |
| 1104 |
"(niższym nawet niż wartość nice +19 w algorytmach B<SCHED_OTHER> lub " |
| 1105 |
"B<SCHED_BATCH>)." |
| 1106 |
|
| 1107 |
#. type: SS |
| 1108 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 1109 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 1110 |
#, no-wrap |
| 1111 |
msgid "Resetting scheduling policy for child processes" |
| 1112 |
msgstr "Resetowanie algorytmu szeregowania procesów potomnych" |
| 1113 |
|
| 1114 |
#. type: Plain text |
| 1115 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 1116 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 1117 |
msgid "" |
| 1118 |
"Each thread has a reset-on-fork scheduling flag. When this flag is set, " |
| 1119 |
"children created by B<fork>(2) do not inherit privileged scheduling " |
| 1120 |
"policies. The reset-on-fork flag can be set by either:" |
| 1121 |
msgstr "" |
| 1122 |
"Każdy wątek ma znacznik szeregowania reset-on-fork (zresetuj przy " |
| 1123 |
"rozwidleniu). Gdy jest ustawiony, potomkowie utworzeni przy B<fork>(2) nie " |
| 1124 |
"dziedziczą uprzywilejowanych algorytmów szeregowania. Znacznik reset-on-fork " |
| 1125 |
"może być ustawiony przez:" |
| 1126 |
|
| 1127 |
#. type: Plain text |
| 1128 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 1129 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 1130 |
msgid "" |
| 1131 |
"ORing the B<SCHED_RESET_ON_FORK> flag into the I<policy> argument when " |
| 1132 |
"calling B<sched_setscheduler>(2) (since Linux 2.6.32); or" |
| 1133 |
msgstr "" |
| 1134 |
"zsumowanie (logiczne OR) znacznika B<SCHED_RESET_ON_FORK> do argumentu " |
| 1135 |
"I<policy> przy wywołaniu B<sched_setscheduler>(2) (od Linuksa 2.6.32); albo" |
| 1136 |
|
| 1137 |
#. type: Plain text |
| 1138 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 1139 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 1140 |
msgid "" |
| 1141 |
"specifying the B<SCHED_FLAG_RESET_ON_FORK> flag in I<attr.sched_flags> when " |
| 1142 |
"calling B<sched_setattr>(2)." |
| 1143 |
msgstr "" |
| 1144 |
"podanie znacznika B<SCHED_FLAG_RESET_ON_FORK> w I<attr.sched_flags> przy " |
| 1145 |
"wywołaniu B<sched_setattr>(2)." |
| 1146 |
|
| 1147 |
#. type: Plain text |
| 1148 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 1149 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 1150 |
msgid "" |
| 1151 |
"Note that the constants used with these two APIs have different names. The " |
| 1152 |
"state of the reset-on-fork flag can analogously be retrieved using " |
| 1153 |
"B<sched_getscheduler>(2) and B<sched_getattr>(2)." |
| 1154 |
msgstr "" |
| 1155 |
"Proszę zauważyć, że stałe używane przez oba interfejsy mają różne nazwy. " |
| 1156 |
"Stan znacznika reset-on-fork można analogicznie pobrać za pomocą " |
| 1157 |
"B<sched_getscheduler>(2) i B<sched_getattr>(2)." |
| 1158 |
|
| 1159 |
#. type: Plain text |
| 1160 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 1161 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 1162 |
msgid "" |
| 1163 |
"The reset-on-fork feature is intended for media-playback applications, and " |
| 1164 |
"can be used to prevent applications evading the B<RLIMIT_RTTIME> resource " |
| 1165 |
"limit (see B<getrlimit>(2)) by creating multiple child processes." |
| 1166 |
msgstr "" |
| 1167 |
"Funkcja reset-on-fork jest przeznaczona do aplikacji odtwarzających media i " |
| 1168 |
"może posłużyć do uniknięcia możliwości ominięcia przez aplikacje limitu " |
| 1169 |
"zasobu B<RLIMIT_RTTIME> (zob. B<getrlimit>(2)) przez tworzenie wielu " |
| 1170 |
"procesów potomnych." |
| 1171 |
|
| 1172 |
#. type: Plain text |
| 1173 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 1174 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 1175 |
msgid "" |
| 1176 |
"More precisely, if the reset-on-fork flag is set, the following rules apply " |
| 1177 |
"for subsequently created children:" |
| 1178 |
msgstr "" |
| 1179 |
"Precyzyjniej: jeśli ustawiono znacznik reset-on-fork, do nowo tworzonych " |
| 1180 |
"potomków stosują się następujące zasady:" |
| 1181 |
|
| 1182 |
#. type: Plain text |
| 1183 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 1184 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 1185 |
msgid "" |
| 1186 |
"If the calling thread has a scheduling policy of B<SCHED_FIFO> or " |
| 1187 |
"B<SCHED_RR>, the policy is reset to B<SCHED_OTHER> in child processes." |
| 1188 |
msgstr "" |
| 1189 |
"Jeśli wątek wywołujący ma ustawiony algorytm szeregowania B<SCHED_FIFO> lub " |
| 1190 |
"B<SCHED_RR>, algorytm jest resetowany na B<SCHED_OTHER> w procesach " |
| 1191 |
"potomnych." |
| 1192 |
|
| 1193 |
#. type: Plain text |
| 1194 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 1195 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 1196 |
msgid "" |
| 1197 |
"If the calling process has a negative nice value, the nice value is reset to " |
| 1198 |
"zero in child processes." |
| 1199 |
msgstr "" |
| 1200 |
"Jeśli proces wywołujący ma ujemną wartość nice, wartość nice jest resetowana " |
| 1201 |
"na zero w procesach potomnych." |
| 1202 |
|
| 1203 |
#. type: Plain text |
| 1204 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 1205 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 1206 |
msgid "" |
| 1207 |
"After the reset-on-fork flag has been enabled, it can be reset only if the " |
| 1208 |
"thread has the B<CAP_SYS_NICE> capability. This flag is disabled in child " |
| 1209 |
"processes created by B<fork>(2)." |
| 1210 |
msgstr "" |
| 1211 |
"Po włączeniu znacznika reset-on-fork, można go zresetować tylko, jeśli wątek " |
| 1212 |
"ma przywilej B<CAP_SYS_NICE>. Znacznik jest wyłączony w procesach potomnych " |
| 1213 |
"tworzonych przez B<fork>(2)." |
| 1214 |
|
| 1215 |
#. type: SS |
| 1216 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 1217 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 1218 |
#, no-wrap |
| 1219 |
msgid "Privileges and resource limits" |
| 1220 |
msgstr "Przywileje i limity zasobów" |
| 1221 |
|
| 1222 |
#. type: Plain text |
| 1223 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 1224 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 1225 |
msgid "" |
| 1226 |
"Before Linux 2.6.12, only privileged (B<CAP_SYS_NICE>) threads can set a " |
| 1227 |
"nonzero static priority (i.e., set a real-time scheduling policy). The only " |
| 1228 |
"change that an unprivileged thread can make is to set the B<SCHED_OTHER> " |
| 1229 |
"policy, and this can be done only if the effective user ID of the caller " |
| 1230 |
"matches the real or effective user ID of the target thread (i.e., the thread " |
| 1231 |
"specified by I<pid>) whose policy is being changed." |
| 1232 |
msgstr "" |
| 1233 |
"Przed Linuksem 2.6.12, tylko wątki uprzywilejowane (B<CAP_SYS_NICE>) mogą " |
| 1234 |
"mieć ustawiony niezerowy priorytet statyczny (tj. ustawiony algorytm " |
| 1235 |
"szeregowania czasu rzeczywistego). Jedyną zmianę, jaką może dokonać " |
| 1236 |
"nieuprzywilejowany wątek, jest ustawienie algorytmu B<SCHED_OTHER>, a to " |
| 1237 |
"można zrobić tylko, jeśli efektywny identyfikator użytkownika wywołującego " |
| 1238 |
"jest równy rzeczywistemu lub efektywnemu identyfikatorowi użytkownika wątku " |
| 1239 |
"docelowego (tj. wątku określonemu przez I<pid>), którego algorytm jest " |
| 1240 |
"zmieniany." |
| 1241 |
|
| 1242 |
#. type: Plain text |
| 1243 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 1244 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 1245 |
msgid "" |
| 1246 |
"A thread must be privileged (B<CAP_SYS_NICE>) in order to set or modify a " |
| 1247 |
"B<SCHED_DEADLINE> policy." |
| 1248 |
msgstr "" |
| 1249 |
"Wątek musi być uprzywilejowany (B<CAP_SYS_NICE>), aby ustawić lub " |
| 1250 |
"zmodyfikować algorytm B<SCHED_DEADLINE>." |
| 1251 |
|
| 1252 |
#. type: Plain text |
| 1253 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 1254 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 1255 |
msgid "" |
| 1256 |
"Since Linux 2.6.12, the B<RLIMIT_RTPRIO> resource limit defines a ceiling on " |
| 1257 |
"an unprivileged thread's static priority for the B<SCHED_RR> and " |
| 1258 |
"B<SCHED_FIFO> policies. The rules for changing scheduling policy and " |
| 1259 |
"priority are as follows:" |
| 1260 |
msgstr "" |
| 1261 |
"Od Linuksa 2.6.12, limit zasobów B<RLIMIT_RTPRIO> definiuje górny limit " |
| 1262 |
"statycznego priorytetu wątku nieuprzywilejowanego w algorytmach B<SCHED_RR> " |
| 1263 |
"i B<SCHED_FIFO>. Reguły zmiany algorytmów szeregowania i priorytetów są " |
| 1264 |
"następujące:" |
| 1265 |
|
| 1266 |
#. type: Plain text |
| 1267 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 1268 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 1269 |
msgid "" |
| 1270 |
"If an unprivileged thread has a nonzero B<RLIMIT_RTPRIO> soft limit, then it " |
| 1271 |
"can change its scheduling policy and priority, subject to the restriction " |
| 1272 |
"that the priority cannot be set to a value higher than the maximum of its " |
| 1273 |
"current priority and its B<RLIMIT_RTPRIO> soft limit." |
| 1274 |
msgstr "" |
| 1275 |
"Jeśli nieuprzywilejowany wątek ma niezerowy miękki limit B<RLIMIT_RTPRIO>, " |
| 1276 |
"to może zmienić swój algorytm szeregowania zadań i priorytet, z takim " |
| 1277 |
"ograniczeniem, że priorytet nie może być ustawiony na wyższy niż maksymalna " |
| 1278 |
"z wartości: jego bieżącego priorytetu i jego limitu miękkiego " |
| 1279 |
"B<RLIMIT_RTPRIO>." |
| 1280 |
|
| 1281 |
#. type: Plain text |
| 1282 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 1283 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 1284 |
msgid "" |
| 1285 |
"If the B<RLIMIT_RTPRIO> soft limit is 0, then the only permitted changes are " |
| 1286 |
"to lower the priority, or to switch to a non-real-time policy." |
| 1287 |
msgstr "" |
| 1288 |
"Jeśli miękki limit B<RLIMIT_RTPRIO> wynosi 0, to jedynymi dozwolonymi " |
| 1289 |
"zmianami są: obniżenie priorytetu lub przełączenie z algorytmu czasu " |
| 1290 |
"rzeczywistego na niebędący takowym." |
| 1291 |
|
| 1292 |
#. type: Plain text |
| 1293 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 1294 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 1295 |
msgid "" |
| 1296 |
"Subject to the same rules, another unprivileged thread can also make these " |
| 1297 |
"changes, as long as the effective user ID of the thread making the change " |
| 1298 |
"matches the real or effective user ID of the target thread." |
| 1299 |
msgstr "" |
| 1300 |
"Wedle tych samych zasad, inny nieuprzywilejowany wątek może również dokonać " |
| 1301 |
"tych zmian, o ile efektywny identyfikator użytkownika wątku dokonującego " |
| 1302 |
"zmiany jest taki sam, jak rzeczywisty lub efektywny identyfikator " |
| 1303 |
"użytkownika wątku docelowego." |
| 1304 |
|
| 1305 |
#. commit c02aa73b1d18e43cfd79c2f193b225e84ca497c8 |
| 1306 |
#. type: Plain text |
| 1307 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 1308 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 1309 |
msgid "" |
| 1310 |
"Special rules apply for the B<SCHED_IDLE> policy. Before Linux 2.6.39, an " |
| 1311 |
"unprivileged thread operating under this policy cannot change its policy, " |
| 1312 |
"regardless of the value of its B<RLIMIT_RTPRIO> resource limit. Since Linux " |
| 1313 |
"2.6.39, an unprivileged thread can switch to either the B<SCHED_BATCH> or " |
| 1314 |
"the B<SCHED_OTHER> policy so long as its nice value falls within the range " |
| 1315 |
"permitted by its B<RLIMIT_NICE> resource limit (see B<getrlimit>(2))." |
| 1316 |
msgstr "" |
| 1317 |
"Specjalne zasady tyczą się algorytmu B<SCHED_IDLE>. Przed Linuksem 2.6.39, " |
| 1318 |
"nieuprzywilejowany wątek działający według tego algorytmu nie mógł go " |
| 1319 |
"zmienić, niezależnie od wartości jego limitu zasobów B<RLIMIT_RTPRIO>. Od " |
| 1320 |
"Linuksa 2.6.39, nieuprzywilejowany wątek może przełączyć się na algorytm " |
| 1321 |
"B<SCHED_BATCH> lub B<SCHED_OTHER>, o ile jego wartość nice znajduje się w " |
| 1322 |
"przedziale dozwolonym przez jego limit zasobów B<RLIMIT_NICE> (zob. " |
| 1323 |
"B<getrlimit>(2))." |
| 1324 |
|
| 1325 |
#. type: Plain text |
| 1326 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 1327 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 1328 |
msgid "" |
| 1329 |
"Privileged (B<CAP_SYS_NICE>) threads ignore the B<RLIMIT_RTPRIO> limit; as " |
| 1330 |
"with older kernels, they can make arbitrary changes to scheduling policy and " |
| 1331 |
"priority. See B<getrlimit>(2) for further information on B<RLIMIT_RTPRIO>." |
| 1332 |
msgstr "" |
| 1333 |
"Wątki uprzywilejowane (B<CAP_SYS_NICE>) ignorują limit B<RLIMIT_RTPRIO>; " |
| 1334 |
"podobnie jak w starszych jądrach, mogą dokonywać dowolnych zmian dotyczących " |
| 1335 |
"algorytmu szeregowania zadań i priorytetów. Więcej informacji na temat " |
| 1336 |
"B<RLIMIT_RTPRIO> znajduje się w podręczniku B<getrlimit>(2)." |
| 1337 |
|
| 1338 |
#. type: SS |
| 1339 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 1340 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 1341 |
#, no-wrap |
| 1342 |
msgid "Limiting the CPU usage of real-time and deadline processes" |
| 1343 |
msgstr "Ograniczanie użycia procesora przez procesy czasu rzeczywistego i z budżetem czasu" |
| 1344 |
|
| 1345 |
#. type: Plain text |
| 1346 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 1347 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 1348 |
msgid "" |
| 1349 |
"A nonblocking infinite loop in a thread scheduled under the B<SCHED_FIFO>, " |
| 1350 |
"B<SCHED_RR>, or B<SCHED_DEADLINE> policy can potentially block all other " |
| 1351 |
"threads from accessing the CPU forever. Before Linux 2.6.25, the only way " |
| 1352 |
"of preventing a runaway real-time process from freezing the system was to " |
| 1353 |
"run (at the console) a shell scheduled under a higher static priority than " |
| 1354 |
"the tested application. This allows an emergency kill of tested real-time " |
| 1355 |
"applications that do not block or terminate as expected." |
| 1356 |
msgstr "" |
| 1357 |
"Nieblokująca, nieskończona pętla w wątku zaszeregowanym według algorytmu " |
| 1358 |
"B<SCHED_FIFO>, B<SCHED_RR> lub B<SCHED_DEADLINE> potencjalnie może na zawsze " |
| 1359 |
"zablokować dostęp do procesora wszystkim innym wątkom. Przed Linuksem " |
| 1360 |
"2.6.25, jedynym sposobem zapobiegnięcia zamrożenia systemu przez zbiegły " |
| 1361 |
"proces czasu rzeczywistego było uruchomienie (na konsoli) powłoki " |
| 1362 |
"zaszeregowanej z wyższym priorytetem statycznym niż testowana aplikacja. " |
| 1363 |
"Można było w ten sposób awaryjnie zabić testowaną aplikację czasu " |
| 1364 |
"rzeczywistego, która nie zablokowała lub nie zakończyła się zgodnie z " |
| 1365 |
"oczekiwaniami." |
| 1366 |
|
| 1367 |
#. type: Plain text |
| 1368 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 1369 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 1370 |
msgid "" |
| 1371 |
"Since Linux 2.6.25, there are other techniques for dealing with runaway real-" |
| 1372 |
"time and deadline processes. One of these is to use the B<RLIMIT_RTTIME> " |
| 1373 |
"resource limit to set a ceiling on the CPU time that a real-time process may " |
| 1374 |
"consume. See B<getrlimit>(2) for details." |
| 1375 |
msgstr "" |
| 1376 |
"Od Linuksa 2.6.25, istnieją inne techniki radzenia sobie ze zbiegłymi " |
| 1377 |
"procesami czasu rzeczywistego i z budżetem czasu. Jedną z nich jest użycie " |
| 1378 |
"limitu zasobów B<RLIMIT_RTTIME> do nałożenia ograniczenia na czas procesora, " |
| 1379 |
"jaki może skonsumować proces czasu rzeczywistego. Więcej szczegółów w " |
| 1380 |
"podręczniku B<getrlimit>(2)." |
| 1381 |
|
| 1382 |
#. type: Plain text |
| 1383 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 1384 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 1385 |
msgid "" |
| 1386 |
"Since Linux 2.6.25, Linux also provides two I</proc> files that can be used " |
| 1387 |
"to reserve a certain amount of CPU time to be used by non-real-time " |
| 1388 |
"processes. Reserving CPU time in this fashion allows some CPU time to be " |
| 1389 |
"allocated to (say) a root shell that can be used to kill a runaway process. " |
| 1390 |
"Both of these files specify time values in microseconds:" |
| 1391 |
msgstr "" |
| 1392 |
"Od Linuksa 2.6.25, Linux zapewnia również dwa pliki I</proc>, które mogą " |
| 1393 |
"posłużyć do zarezerwowania określonej ilości czasu procesora dla procesów " |
| 1394 |
"innych niż czasu rzeczywistego. Zarezerwowanie czasu procesora w ten sposób, " |
| 1395 |
"pozwala również na przydzielenie pewnej ilości czasu procesora dla " |
| 1396 |
"(przykładowo) powłoki roota, z której można zabić zbiegły proces. Oba pliki " |
| 1397 |
"określają wartości czasu w mikrosekundach:" |
| 1398 |
|
| 1399 |
#. type: TP |
| 1400 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 1401 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 1402 |
#, no-wrap |
| 1403 |
msgid "I</proc/sys/kernel/sched_rt_period_us>" |
| 1404 |
msgstr "I</proc/sys/kernel/sched_rt_period_us>" |
| 1405 |
|
| 1406 |
# Cudzysłów, aby uczytelnić odniesienie z następnego akapitu |
| 1407 |
#. type: Plain text |
| 1408 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 1409 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 1410 |
msgid "" |
| 1411 |
"This file specifies a scheduling period that is equivalent to 100% CPU " |
| 1412 |
"bandwidth. The value in this file can range from 1 to B<INT_MAX>, giving an " |
| 1413 |
"operating range of 1 microsecond to around 35 minutes. The default value in " |
| 1414 |
"this file is 1,000,000 (1 second)." |
| 1415 |
msgstr "" |
| 1416 |
"Plik określa \\[Bq]okres szeregowania zadań\\[rq] równoważny 100% " |
| 1417 |
"przepustowości procesora. Wartość w pliku może być z zakresu od 1 do " |
| 1418 |
"B<INT_MAX>, czyli od 1 mikrosekundy do około 35 minut. Domyślna wartość w " |
| 1419 |
"pliku wynosi 1\\ 000\\ 000 (1 sekunda)." |
| 1420 |
|
| 1421 |
#. type: TP |
| 1422 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 1423 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 1424 |
#, no-wrap |
| 1425 |
msgid "I</proc/sys/kernel/sched_rt_runtime_us>" |
| 1426 |
msgstr "I</proc/sys/kernel/sched_rt_runtime_us>" |
| 1427 |
|
| 1428 |
#. type: Plain text |
| 1429 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 1430 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 1431 |
msgid "" |
| 1432 |
"The value in this file specifies how much of the \"period\" time can be used " |
| 1433 |
"by all real-time and deadline scheduled processes on the system. The value " |
| 1434 |
"in this file can range from -1 to B<INT_MAX>-1. Specifying -1 makes the run " |
| 1435 |
"time the same as the period; that is, no CPU time is set aside for non-real-" |
| 1436 |
"time processes (which was the behavior before Linux 2.6.25). The default " |
| 1437 |
"value in this file is 950,000 (0.95 seconds), meaning that 5% of the CPU " |
| 1438 |
"time is reserved for processes that don't run under a real-time or deadline " |
| 1439 |
"scheduling policy." |
| 1440 |
msgstr "" |
| 1441 |
"Wartość w tym pliku określa, jak dużo tego \\[Bq]okresu szeregowania zadań\\" |
| 1442 |
"[rq] w systemie może być przeznaczone na wszystkie procesy czasu " |
| 1443 |
"rzeczywistego oraz procesy szeregowane z budżetem czasu. Wartość w pliku " |
| 1444 |
"może być z zakresu od -1 do B<INT_MAX>-1. Podanie -1 uczyni ten czas takim " |
| 1445 |
"samym jak ten okres; tj. nie odkłada się czasu procesora na procesy inne niż " |
| 1446 |
"czasu rzeczywistego (takie zachowanie występowało przed Linuksem 2.6.25). " |
| 1447 |
"Wartość domyślna w pliku to 950\\ 000 (0,95 sekundy), co oznacza że 5% czasu " |
| 1448 |
"procesora jest zarezerwowane na procesy szeregowane wedle algorytmów innych " |
| 1449 |
"niż czasu rzeczywistego i z budżetem czasu." |
| 1450 |
|
| 1451 |
#. type: SS |
| 1452 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 1453 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 1454 |
#, no-wrap |
| 1455 |
msgid "Response time" |
| 1456 |
msgstr "Czas odpowiedzi" |
| 1457 |
|
| 1458 |
#. as described in |
| 1459 |
#. .BR request_irq (9). |
| 1460 |
#. type: Plain text |
| 1461 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 1462 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 1463 |
msgid "" |
| 1464 |
"A blocked high priority thread waiting for I/O has a certain response time " |
| 1465 |
"before it is scheduled again. The device driver writer can greatly reduce " |
| 1466 |
"this response time by using a \"slow interrupt\" interrupt handler." |
| 1467 |
msgstr "" |
| 1468 |
"Zablokowany wątek o wysokim priorytecie oczekujący na wejście/wyjście ma " |
| 1469 |
"określony czas odpowiedzi, zanim zostanie ponownie zaszeregowany. Sterownik " |
| 1470 |
"zapisujący urządzenia może znacznie ograniczyć ten czas odpowiedzi poprzez " |
| 1471 |
"korzystanie z procedury obsługi przerwań zwanej \\[Bq]slow interrupt\\[rq]." |
| 1472 |
|
| 1473 |
#. type: SS |
| 1474 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 1475 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 1476 |
#, no-wrap |
| 1477 |
msgid "Miscellaneous" |
| 1478 |
msgstr "Różne" |
| 1479 |
|
| 1480 |
#. type: Plain text |
| 1481 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 1482 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 1483 |
msgid "" |
| 1484 |
"Child processes inherit the scheduling policy and parameters across a " |
| 1485 |
"B<fork>(2). The scheduling policy and parameters are preserved across " |
| 1486 |
"B<execve>(2)." |
| 1487 |
msgstr "" |
| 1488 |
"Procesy potomne dziedziczą algorytm i parametry szeregowania poprzez " |
| 1489 |
"B<fork>(2). Algorytm i parametry szeregowania są zachowywane poprzez " |
| 1490 |
"B<execve>(2)." |
| 1491 |
|
| 1492 |
#. type: Plain text |
| 1493 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 1494 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 1495 |
msgid "" |
| 1496 |
"Memory locking is usually needed for real-time processes to avoid paging " |
| 1497 |
"delays; this can be done with B<mlock>(2) or B<mlockall>(2)." |
| 1498 |
msgstr "" |
| 1499 |
"W przypadku procesów czasu rzeczywistego, aby uniknąć opóźnień związanych ze " |
| 1500 |
"stronicowaniem, potrzebne jest zwykle blokowanie pamięci; można go dokonywać " |
| 1501 |
"za pomocą B<mlock>(2) lub B<mlockall>(2)." |
| 1502 |
|
| 1503 |
#. type: SS |
| 1504 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 1505 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 1506 |
#, no-wrap |
| 1507 |
msgid "The autogroup feature" |
| 1508 |
msgstr "Funkcja autogrupowania" |
| 1509 |
|
| 1510 |
#. commit 5091faa449ee0b7d73bc296a93bca9540fc51d0a |
| 1511 |
#. type: Plain text |
| 1512 |
#: archlinux debian-unstable mageia-cauldron opensuse-leap-16-1 |
| 1513 |
#: opensuse-tumbleweed |
| 1514 |
msgid "" |
| 1515 |
"Since Linux 2.6.38, the kernel provides a feature known as autogrouping to " |
| 1516 |
"improve interactive desktop performance in the face of multiprocess CPU-" |
| 1517 |
"intensive workloads such as building the Linux kernel with large numbers of " |
| 1518 |
"parallel build processes (i.e., the B<make>(1) B<-j> flag)." |
| 1519 |
msgstr "" |
| 1520 |
"Od Linuksa 2.6.38, jądro zapewnia funkcję zwaną autogrupowaniem, która ma na " |
| 1521 |
"celu poprawienie wydajności interaktywnych środowisk graficznych, podczas " |
| 1522 |
"wykonywania wieloprocesowych, mocno obciążających procesor prac, takich jak " |
| 1523 |
"budowanie jądra Linux z wieloma równoległymi procesami budowania (tj. z " |
| 1524 |
"opcją B<-j> B<make>(1))." |
| 1525 |
|
| 1526 |
#. type: Plain text |
| 1527 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 1528 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 1529 |
msgid "" |
| 1530 |
"This feature operates in conjunction with the CFS scheduler and requires a " |
| 1531 |
"kernel that is configured with B<CONFIG_SCHED_AUTOGROUP>. On a running " |
| 1532 |
"system, this feature is enabled or disabled via the file I</proc/sys/kernel/" |
| 1533 |
"sched_autogroup_enabled>; a value of 0 disables the feature, while a value " |
| 1534 |
"of 1 enables it. The default value in this file is 1, unless the kernel was " |
| 1535 |
"booted with the I<noautogroup> parameter." |
| 1536 |
msgstr "" |
| 1537 |
"Funkcja działa razem z planistą CFS i wymaga, aby jądro było skonfigurowane " |
| 1538 |
"z opcją B<CONFIG_SCHED_AUTOGROUP>. W działającym systemie, funkcję można " |
| 1539 |
"włączyć lub wyłączyć poprzez plik I</proc/sys/kernel/" |
| 1540 |
"sched_autogroup_enabled>; wartość 0 wyłącza tę funkcję, a wartość 1 ją " |
| 1541 |
"włącza. Domyślną wartością w pliku jest 1, chyba że podczas rozruchu jądra " |
| 1542 |
"ustawiono parametr I<noautogroup>." |
| 1543 |
|
| 1544 |
#. type: Plain text |
| 1545 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 1546 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 1547 |
msgid "" |
| 1548 |
"A new autogroup is created when a new session is created via B<setsid>(2); " |
| 1549 |
"this happens, for example, when a new terminal window is started. A new " |
| 1550 |
"process created by B<fork>(2) inherits its parent's autogroup membership. " |
| 1551 |
"Thus, all of the processes in a session are members of the same autogroup. " |
| 1552 |
"An autogroup is automatically destroyed when the last process in the group " |
| 1553 |
"terminates." |
| 1554 |
msgstr "" |
| 1555 |
"Nowa autogrupa jest tworzona przy tworzeniu nowej sesji za pomocą " |
| 1556 |
"B<setsid>(2); dzieje się tak np. przy uruchamianiu nowego okna terminala. " |
| 1557 |
"Nowy proces tworzony przez B<fork>(2) dziedziczy członkostwo w autogrupie " |
| 1558 |
"swojego rodzica. Wszystkie procesy w sesji są zatem członkami tej samej " |
| 1559 |
"autogrupy. Autogrupa jest automatycznie niszczona, gdy zakończy się ostatni " |
| 1560 |
"proces grupy." |
| 1561 |
|
| 1562 |
#. type: Plain text |
| 1563 |
#: archlinux debian-unstable fedora-44 fedora-rawhide mageia-cauldron |
| 1564 |
#: opensuse-leap-16-1 opensuse-tumbleweed |
| 1565 |
msgid "" |
| 1566 |
"When autogrouping is enabled, all of the members of an autogroup are placed " |
| 1567 |
"in the same kernel scheduler \"task group\". When disabled, the group " |
| 1568 |
"creation happens as above, and autogroup membership is still visible in I</" |
| 1569 |
"proc>, but the autogroups are not used. The CFS scheduler employs an " |
| 1570 |
"algorithm that equalizes the distribution of CPU cycles across task groups. " |
| 1571 |
"The benefits of this for interactive desktop performance can be described " |
| 1572 |
"via the following example." |
| 1573 |
msgstr "" |
| 1574 |
"Gdy autogrupowanie jest włączone, wszyscy członkowie autogrupy są " |
| 1575 |
"umieszczani w tej samej \\[Bq]grupie zadań\\[rq] dyspozytora jądra. Gdy jest " |
| 1576 |
"wyłączone, tworzenie grup odbywa się tak samo, członkostwo w autogrupie jest " |
| 1577 |
"wciąż widoczne w I</proc>, lecz autogrupy nie są używane. Planista CFS używa " |
| 1578 |
"algorytmu wyrównującego rozłożenie cykli procesora pomiędzy grupami zadań. " |
| 1579 |
"Korzyści, jakie z tego wynikają dla wydajności interaktywnego środowiska " |
| 1580 |
"graficznego może przybliżyć następujący przykład." |
| 1581 |
|
| 1582 |
#. Mike Galbraith, 25 Nov 2016: |
| 1583 |
#. I'd say something more wishy-washy here, like cycles are |
| 1584 |
#. distributed fairly across groups and leave it at that, as your |
| 1585 |
#. detailed example is incorrect due to SMP fairness (which I don't |
| 1586 |
#. like much because [very unlikely] worst case scenario |
| 1587 |
#. renders a box sized group incapable of utilizing more that |
| 1588 |
#. a single CPU total). For example, if a group of NR_CPUS |
| 1589 |
#. size competes with a singleton, load balancing will try to give |
| 1590 |
#. the singleton a full CPU of its very own. If groups intersect for |
| 1591 |
#. whatever reason on say my quad lappy, distribution is 80/20 in |
| 1592 |
#. favor of the singleton. |
| 1593 |
#. type: Plain text |
| 1594 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 1595 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 1596 |
msgid "" |
| 1597 |
"Suppose that there are two autogroups competing for the same CPU (i.e., " |
| 1598 |
"presume either a single CPU system or the use of B<taskset>(1) to confine " |
| 1599 |
"all the processes to the same CPU on an SMP system). The first group " |
| 1600 |
"contains ten CPU-bound processes from a kernel build started with I<make\\ " |
| 1601 |
"-j10>. The other contains a single CPU-bound process: a video player. The " |
| 1602 |
"effect of autogrouping is that the two groups will each receive half of the " |
| 1603 |
"CPU cycles. That is, the video player will receive 50% of the CPU cycles, " |
| 1604 |
"rather than just 9% of the cycles, which would likely lead to degraded video " |
| 1605 |
"playback. The situation on an SMP system is more complex, but the general " |
| 1606 |
"effect is the same: the scheduler distributes CPU cycles across task groups " |
| 1607 |
"such that an autogroup that contains a large number of CPU-bound processes " |
| 1608 |
"does not end up hogging CPU cycles at the expense of the other jobs on the " |
| 1609 |
"system." |
| 1610 |
msgstr "" |
| 1611 |
"Załóżmy, że są dwie autogrupy rywalizujące o ten sam procesor (tj. może być " |
| 1612 |
"to system jednoprocesorowy albo wykorzystano B<taskset>(1) do ograniczenia " |
| 1613 |
"wszystkich procesów do tego samego procesora w wieloprocesorowym systemie " |
| 1614 |
"SMP). Pierwsza grupa zawiera dziesięć procesów ograniczonych wydajnością " |
| 1615 |
"procesora, pochodzących od polecenia budującego jądro: I<make\\ -j10>. Druga " |
| 1616 |
"zawiera jeden proces ograniczony wydajnością procesora: odtwarzacz wideo. " |
| 1617 |
"Efekt autogrupowania jest taki, że obie grupy otrzymają po połowie cykli " |
| 1618 |
"procesora. Odtwarzacz wideo otrzyma zatem 50% cykli procesora, zamiast 9%, " |
| 1619 |
"które najprawdopodobniej odbiły by się negatywnie na ciągłości odtwarzania " |
| 1620 |
"wideo. Sytuacja w wieloprocesorowym systemie SMP jest bardziej złożona, ale " |
| 1621 |
"ogólny efekt jest taki sam: dyspozytor rozkłada cykle procesora pomiędzy " |
| 1622 |
"poszczególne grupy zadaniowe w ten sposób, że autogrupy zawierające dużą " |
| 1623 |
"liczbę procesów ograniczonych wydajnością procesora nie zmonopolizują cykli " |
| 1624 |
"procesora kosztem innych zadań systemu." |
| 1625 |
|
| 1626 |
#. type: Plain text |
| 1627 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 1628 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 1629 |
msgid "" |
| 1630 |
"A process's autogroup (task group) membership can be viewed via the file I</" |
| 1631 |
"proc/>pidI</autogroup>:" |
| 1632 |
msgstr "" |
| 1633 |
"Członkostwo procesu w autogrupie (grupie zadań) można sprawdzić w pliku I</" |
| 1634 |
"proc/>pidI</autogroup>:" |
| 1635 |
|
| 1636 |
#. type: Plain text |
| 1637 |
#: archlinux debian-unstable mageia-cauldron opensuse-leap-16-1 |
| 1638 |
#: opensuse-tumbleweed |
| 1639 |
#, no-wrap |
| 1640 |
msgid "" |
| 1641 |
"$B< cat /proc/1/autogroup>\n" |
| 1642 |
"/autogroup-1 nice 0\n" |
| 1643 |
msgstr "" |
| 1644 |
"$B< cat /proc/1/autogroup>\n" |
| 1645 |
"/autogroup-1 nice 0\n" |
| 1646 |
|
| 1647 |
# |
| 1648 |
#. FIXME . |
| 1649 |
#. Because of a bug introduced in Linux 4.7 |
| 1650 |
#. (commit 2159197d66770ec01f75c93fb11dc66df81fd45b made changes |
| 1651 |
#. that exposed the fact that autogroup didn't call scale_load()), |
| 1652 |
#. it happened that *all* values in this range caused a task group |
| 1653 |
#. to be further disfavored by the scheduler, with \-20 resulting |
| 1654 |
#. in the scheduler mildly disfavoring the task group and +19 greatly |
| 1655 |
#. disfavoring it. |
| 1656 |
#. A patch was posted on 23 Nov 2016 |
| 1657 |
#. ("sched/autogroup: Fix 64bit kernel nice adjustment"; |
| 1658 |
#. check later to see in which kernel version it lands. |
| 1659 |
#. type: Plain text |
| 1660 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 1661 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 1662 |
msgid "" |
| 1663 |
"This file can also be used to modify the CPU bandwidth allocated to an " |
| 1664 |
"autogroup. This is done by writing a number in the \"nice\" range to the " |
| 1665 |
"file to set the autogroup's nice value. The allowed range is from +19 (low " |
| 1666 |
"priority) to -20 (high priority). (Writing values outside of this range " |
| 1667 |
"causes B<write>(2) to fail with the error B<EINVAL>.)" |
| 1668 |
msgstr "" |
| 1669 |
"Za pomocą tego pliku można też zmodyfikować przydział procesora przypisany " |
| 1670 |
"autogrupie. Robi się to zapisując liczbę z przedziału wartości \\[Bq]nice\\" |
| 1671 |
"[rq] do pliku, co powoduje przypisanie wartości nice autogrupie. Dozwolony " |
| 1672 |
"zakres to od +19 (niski priorytet) do -20 (wysoki priorytet). Zapisanie " |
| 1673 |
"wartości spoza tego przedziału spowoduje zgłoszenie przez B<write>(2) błędu " |
| 1674 |
"B<EINVAL>." |
| 1675 |
|
| 1676 |
#. type: Plain text |
| 1677 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 1678 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 1679 |
msgid "" |
| 1680 |
"The autogroup nice setting has the same meaning as the process nice value, " |
| 1681 |
"but applies to distribution of CPU cycles to the autogroup as a whole, based " |
| 1682 |
"on the relative nice values of other autogroups. For a process inside an " |
| 1683 |
"autogroup, the CPU cycles that it receives will be a product of the " |
| 1684 |
"autogroup's nice value (compared to other autogroups) and the process's " |
| 1685 |
"nice value (compared to other processes in the same autogroup." |
| 1686 |
msgstr "" |
| 1687 |
"Ustawienie nice autogrupy ma takie samo znaczenie jak wartość nice procesu, " |
| 1688 |
"jednak odnosi się do rozłożenia cykli procesora do autogrupy jako całości, w " |
| 1689 |
"oparciu o relatywne wartości nice innych autogrup. W przypadku procesu " |
| 1690 |
"wewnątrz autogrupy, cykle procesora jakie on otrzyma będą skutkiem łącznego " |
| 1691 |
"oddziaływania wartości nice autogrupy (w porównaniu z innymi autogrupami) " |
| 1692 |
"oraz wartości nice procesu (w porównaniu z innymi procesami tej samej " |
| 1693 |
"autogrupy)." |
| 1694 |
|
| 1695 |
#. type: Plain text |
| 1696 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 1697 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 1698 |
msgid "" |
| 1699 |
"The use of the B<cgroups>(7) CPU controller to place processes in cgroups " |
| 1700 |
"other than the root CPU cgroup overrides the effect of autogrouping." |
| 1701 |
msgstr "" |
| 1702 |
"Korzystanie z kontrolera procesora B<cgroups>(7) do umieszczania procesów w " |
| 1703 |
"grupach kontrolnych (cgroup) innych niż główna grupa kontrolna procesora " |
| 1704 |
"przesłania efekt działania autogrupowania." |
| 1705 |
|
| 1706 |
#. type: Plain text |
| 1707 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 1708 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 1709 |
msgid "" |
| 1710 |
"The autogroup feature groups only processes scheduled under non-real-time " |
| 1711 |
"policies (B<SCHED_OTHER>, B<SCHED_BATCH>, and B<SCHED_IDLE>). It does not " |
| 1712 |
"group processes scheduled under real-time and deadline policies. Those " |
| 1713 |
"processes are scheduled according to the rules described earlier." |
| 1714 |
msgstr "" |
| 1715 |
"Funkcja autogrupowania grupuje jedynie procesy szeregowane według algorytmów " |
| 1716 |
"innych niż czasu rzeczywistego (tj. dotyczy algorytmów B<SCHED_OTHER>, " |
| 1717 |
"B<SCHED_BATCH> i B<SCHED_IDLE>). Nie grupuje procesów szeregowanych według " |
| 1718 |
"algorytmów czasu rzeczywistego oraz z budżetem czasu. Takie procesy są " |
| 1719 |
"szeregowane zgodnie z zasadami opisanymi wcześniej." |
| 1720 |
|
| 1721 |
#. type: SS |
| 1722 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 1723 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 1724 |
#, no-wrap |
| 1725 |
msgid "The nice value and group scheduling" |
| 1726 |
msgstr "Wartość nice oraz szeregowanie grup" |
| 1727 |
|
| 1728 |
#. type: Plain text |
| 1729 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 1730 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 1731 |
msgid "" |
| 1732 |
"When scheduling non-real-time processes (i.e., those scheduled under the " |
| 1733 |
"B<SCHED_OTHER>, B<SCHED_BATCH>, and B<SCHED_IDLE> policies), the CFS " |
| 1734 |
"scheduler employs a technique known as \"group scheduling\", if the kernel " |
| 1735 |
"was configured with the B<CONFIG_FAIR_GROUP_SCHED> option (which is typical)." |
| 1736 |
msgstr "" |
| 1737 |
"Przy szeregowaniu procesów innych niż czasu rzeczywistego (tj. szeregowanych " |
| 1738 |
"według algorytmów B<SCHED_OTHER>, B<SCHED_BATCH> i B<SCHED_IDLE>), " |
| 1739 |
"dyspozytor CFS używa techniki znanej jako \\[Bq]szeregowanie grup\\[rq], " |
| 1740 |
"jeśli tylko jądro skonfigurowano z opcją B<CONFIG_FAIR_GROUP_SCHED> (jest to " |
| 1741 |
"opcja typowo włączona)." |
| 1742 |
|
| 1743 |
#. type: Plain text |
| 1744 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 1745 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 1746 |
msgid "" |
| 1747 |
"Under group scheduling, threads are scheduled in \"task groups\". Task " |
| 1748 |
"groups have a hierarchical relationship, rooted under the initial task group " |
| 1749 |
"on the system, known as the \"root task group\". Task groups are formed in " |
| 1750 |
"the following circumstances:" |
| 1751 |
msgstr "" |
| 1752 |
"W szeregowaniu grup, wątki są szeregowane w \\[Bq]grupach zadań\\[rq]. Grupy " |
| 1753 |
"zadań mają relację hierarchiczną, zakorzenioną w pierwotnej grupie " |
| 1754 |
"zadaniowej systemu, zwanej \\[Bq]główną grupą zadań\\[rq]. Grupy zadań są " |
| 1755 |
"tworzone w następujących okolicznościach:" |
| 1756 |
|
| 1757 |
#. type: Plain text |
| 1758 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 1759 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 1760 |
msgid "" |
| 1761 |
"All of the threads in a CPU cgroup form a task group. The parent of this " |
| 1762 |
"task group is the task group of the corresponding parent cgroup." |
| 1763 |
msgstr "" |
| 1764 |
"Wszystkie wątki grupy kontrolnej (cgroup) procesora tworzą grupę zadań. " |
| 1765 |
"Rodzicem tej grupy zadań jest grupa zadań odpowiadającej rodzicielskiej " |
| 1766 |
"grupy kontrolnej." |
| 1767 |
|
| 1768 |
#. type: Plain text |
| 1769 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 1770 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 1771 |
msgid "" |
| 1772 |
"If autogrouping is enabled, then all of the threads that are (implicitly) " |
| 1773 |
"placed in an autogroup (i.e., the same session, as created by B<setsid>(2)) " |
| 1774 |
"form a task group. Each new autogroup is thus a separate task group. The " |
| 1775 |
"root task group is the parent of all such autogroups." |
| 1776 |
msgstr "" |
| 1777 |
"Jeśli autogrupowanie jest włączone, wszystkie wątki, które są (w sposób " |
| 1778 |
"dorozumiany) umieszczane w autogrupie (tj. z tej samej sesji, tworzonej " |
| 1779 |
"przez B<setsid>(2)) tworzą grupę zadań. Każda nowa autogrupa jest zatem " |
| 1780 |
"oddzielną grupą zadań. Główna grupa zadań jest rodzicem wszystkich takich " |
| 1781 |
"autogrup." |
| 1782 |
|
| 1783 |
#. type: Plain text |
| 1784 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 1785 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 1786 |
msgid "" |
| 1787 |
"If autogrouping is enabled, then the root task group consists of all " |
| 1788 |
"processes in the root CPU cgroup that were not otherwise implicitly placed " |
| 1789 |
"into a new autogroup." |
| 1790 |
msgstr "" |
| 1791 |
"Jeśli autogrupowanie jest włączone, główna grupa zadań składa się ze " |
| 1792 |
"wszystkich procesów w głównej grupie kontrolnej procesora, które nie zostały " |
| 1793 |
"w sposób dorozumiany umieszczone w nowej autogrupie." |
| 1794 |
|
| 1795 |
#. type: Plain text |
| 1796 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 1797 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 1798 |
msgid "" |
| 1799 |
"If autogrouping is disabled, then the root task group consists of all " |
| 1800 |
"processes in the root CPU cgroup." |
| 1801 |
msgstr "" |
| 1802 |
"Jeśli autogrupowanie jest wyłączone, główna grupa zadań składa się ze " |
| 1803 |
"wszystkich procesów w głównej grupie kontrolnej procesora." |
| 1804 |
|
| 1805 |
#. type: Plain text |
| 1806 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 1807 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 1808 |
msgid "" |
| 1809 |
"If group scheduling was disabled (i.e., the kernel was configured without " |
| 1810 |
"B<CONFIG_FAIR_GROUP_SCHED>), then all of the processes on the system are " |
| 1811 |
"notionally placed in a single task group." |
| 1812 |
msgstr "" |
| 1813 |
"Jeśli wyłączono szeregowanie grup (tj. jądro skonfigurowano bez opcji " |
| 1814 |
"B<CONFIG_FAIR_GROUP_SCHED>), wszystkie procesy w systemie są jak gdyby " |
| 1815 |
"umieszczane w jednej grupie zadań." |
| 1816 |
|
| 1817 |
#. type: Plain text |
| 1818 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 1819 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 1820 |
msgid "" |
| 1821 |
"Under group scheduling, a thread's nice value has an effect for scheduling " |
| 1822 |
"decisions I<only relative to other threads in the same task group>. This " |
| 1823 |
"has some surprising consequences in terms of the traditional semantics of " |
| 1824 |
"the nice value on UNIX systems. In particular, if autogrouping is enabled " |
| 1825 |
"(which is the default in various distributions), then employing " |
| 1826 |
"B<setpriority>(2) or B<nice>(1) on a process has an effect only for " |
| 1827 |
"scheduling relative to other processes executed in the same session " |
| 1828 |
"(typically: the same terminal window)." |
| 1829 |
msgstr "" |
| 1830 |
"Przy korzystaniu z szeregowaniu grup, wartość nice wątku ma znaczenie przy " |
| 1831 |
"decyzjach szeregowania I<tylko względem innych wątków w tej samej grupie " |
| 1832 |
"zadań>. Ma to pewne zaskakujące konsekwencje w kontekście tradycyjnego " |
| 1833 |
"zachowania wartości nice w systemach uniksowych. W szczególności, jeśli " |
| 1834 |
"autogrupowanie jest włączone (a tak domyślnie jest w wielu dystrybucjach), " |
| 1835 |
"to użycie B<setpriority>(2) lub B<nice>(1) wobec procesu odnosi efekt na " |
| 1836 |
"szeregowaniu tylko względem innych procesów wykonywanych w tej samej sesji " |
| 1837 |
"(zwykle: tym samym oknie terminala)." |
| 1838 |
|
| 1839 |
#. More succinctly: the nice(1) command is in many cases a no-op since |
| 1840 |
#. Linux 2.6.38. |
| 1841 |
#. type: Plain text |
| 1842 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 1843 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 1844 |
msgid "" |
| 1845 |
"Conversely, for two processes that are (for example) the sole CPU-bound " |
| 1846 |
"processes in different sessions (e.g., different terminal windows, each of " |
| 1847 |
"whose jobs are tied to different autogroups), I<modifying the nice value of " |
| 1848 |
"the process in one of the sessions> I<has no effect> in terms of the " |
| 1849 |
"scheduler's decisions relative to the process in the other session. A " |
| 1850 |
"possibly useful workaround here is to use a command such as the following to " |
| 1851 |
"modify the autogroup nice value for I<all> of the processes in a terminal " |
| 1852 |
"session:" |
| 1853 |
msgstr "" |
| 1854 |
"Co za tym idzie, w przypadku dwóch procesów (przykładowo), które są jedynymi " |
| 1855 |
"procesami ograniczonymi wydajnością procesora, występujących w dwóch sesjach " |
| 1856 |
"(np. różnych oknach terminala, zatem każde z zadań jest przypisanych do " |
| 1857 |
"innej autogrupy), I<modyfikacja wartość nice procesu w jednej z sesji nie " |
| 1858 |
"odnosi skutku> wobec decyzji dyspozytora odnoszącej się do procesu w drugiej " |
| 1859 |
"sesji. Przydatnym obejściem tego nieintuicyjnego zachowania może być " |
| 1860 |
"polecenie, takie jak poniższe, modyfikujące wartość nice autogrupy " |
| 1861 |
"I<wszystkich> procesów w sesji terminala:" |
| 1862 |
|
| 1863 |
#. type: Plain text |
| 1864 |
#: archlinux debian-unstable mageia-cauldron opensuse-leap-16-1 |
| 1865 |
#: opensuse-tumbleweed |
| 1866 |
#, no-wrap |
| 1867 |
msgid "$B< echo 10 E<gt> /proc/self/autogroup>\n" |
| 1868 |
msgstr "$B< echo 10 E<gt> /proc/self/autogroup>\n" |
| 1869 |
|
| 1870 |
#. type: SS |
| 1871 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 1872 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 1873 |
#, no-wrap |
| 1874 |
msgid "Real-time features in the mainline Linux kernel" |
| 1875 |
msgstr "Funkcje czasu rzeczywistego w jądrze Linux z głównej serii" |
| 1876 |
|
| 1877 |
#. The archaeologist knows about v2.6.9-mm1-V0.1-realtime-preempt |
| 1878 |
#. type: Plain text |
| 1879 |
#: archlinux debian-unstable mageia-cauldron opensuse-leap-16-1 |
| 1880 |
#: opensuse-tumbleweed |
| 1881 |
msgid "" |
| 1882 |
"Since Linux 2.6.18, Linux is gradually becoming equipped with real-time " |
| 1883 |
"capabilities, most of which are derived from the former I<realtime-preempt> " |
| 1884 |
"patch set. These patches are named:" |
| 1885 |
msgstr "" |
| 1886 |
"Od Linuksa 2.6.18, Linux jest stopniowo wzbogacany o zdolności czasu " |
| 1887 |
"rzeczywistego; większość pochodzi z uprzedniego zestawu łatek I<realtime-" |
| 1888 |
"preempt>. Łatki są nazywane następująco:" |
| 1889 |
|
| 1890 |
#. type: Plain text |
| 1891 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 1892 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 1893 |
#, no-wrap |
| 1894 |
msgid "patch-I<kernelversion>-rtI<patchversion>\n" |
| 1895 |
msgstr "patch-I<wersjajądra>-rtI<wersjałatki>\n" |
| 1896 |
|
| 1897 |
#. type: Plain text |
| 1898 |
#: archlinux debian-unstable mageia-cauldron opensuse-leap-16-1 |
| 1899 |
#: opensuse-tumbleweed |
| 1900 |
msgid "" |
| 1901 |
"and can be downloaded from E<.UR http:\\://www.kernel.org\\:/pub\\:/linux\\:/" |
| 1902 |
"kernel\\:/projects\\:/rt/> E<.UE> or cloned from a git tree E<.UR https:\\://" |
| 1903 |
"git.kernel.org\\:/pub\\:/scm\\:/linux\\:/kernel\\:/git\\:/rt\\:/linux-stable-" |
| 1904 |
"rt.git> E<.UE .> The individual releases are maintained as long as the " |
| 1905 |
"matching LTS kernel is maintained." |
| 1906 |
msgstr "" |
| 1907 |
"i można je pobrać ze strony E<.UR http:\\://www.kernel.org\\:/pub\\:/" |
| 1908 |
"linux\\:/kernel\\:/projects\\:/rt/> E<.UE> lub klonując drzewo git E<.UR " |
| 1909 |
"https:\\://git.kernel.org\\:/pub\\:/scm\\:/linux\\:/kernel\\:/git\\:/rt\\:/" |
| 1910 |
"linux-stable-rt.git> E<.UE .> Poszczególne wydania są utrzymywane tak długo, " |
| 1911 |
"jak dane jądro LTS." |
| 1912 |
|
| 1913 |
#. type: Plain text |
| 1914 |
#: archlinux debian-unstable mageia-cauldron opensuse-leap-16-1 |
| 1915 |
#: opensuse-tumbleweed |
| 1916 |
msgid "" |
| 1917 |
"Since Linux 6.12 it possible to enable the real-time preemption without the " |
| 1918 |
"need for any patches. The I<realtime-patch> continues to exist and contains " |
| 1919 |
"support for not-yet-integrated architectures, drivers, and features that are " |
| 1920 |
"in development." |
| 1921 |
msgstr "" |
| 1922 |
"Od Linuksa 6.12 można włączyć wywłaszczanie czasu rzeczywistego bez " |
| 1923 |
"konieczności instalowania łatek. I<realtime-patch> wciąż będzie istniał, " |
| 1924 |
"zapewniając obsługę jeszcze niezintegrowanych architektur, sterowników oraz " |
| 1925 |
"funkcji w trakcie rozwoju." |
| 1926 |
|
| 1927 |
#. type: Plain text |
| 1928 |
#: archlinux debian-unstable mageia-cauldron opensuse-leap-16-1 |
| 1929 |
#: opensuse-tumbleweed |
| 1930 |
msgid "" |
| 1931 |
"Since Linux 6.13 real-time became an option and not a preemption model. " |
| 1932 |
"With this change, the following preemption models are available: " |
| 1933 |
"B<CONFIG_PREEMPT_NONE>, B<CONFIG_PREEMPT_VOLUNTARY>, B<CONFIG_PREEMPT>, and " |
| 1934 |
"B<CONFIG_PREEMPT_LAZY>. The real-time capabilities can be enabled with the " |
| 1935 |
"option B<CONFIG_PREEMPT_RT> and the preemption model can be set to either " |
| 1936 |
"B<CONFIG_PREEMPT> or B<CONFIG_PREEMPT_LAZY>. The latter model is less eager " |
| 1937 |
"to preempt B<SCHED_NORMAL> tasks in an attempt to reduce lock-holder " |
| 1938 |
"preemption. It does not affect real-time tasks." |
| 1939 |
msgstr "" |
| 1940 |
"Od Linux 6.13 możliwości czasu rzeczywistego są zapewniane jako opcja, a nie " |
| 1941 |
"model wywłaszczania. Po tej zmianie, dostępne są następujące modele " |
| 1942 |
"wywłaszczania: B<CONFIG_PREEMPT_NONE>, B<CONFIG_PREEMPT_VOLUNTARY>, " |
| 1943 |
"B<CONFIG_PREEMPT> oraz B<CONFIG_PREEMPT_LAZY>. Możliwości czasu " |
| 1944 |
"rzeczywistego można włączyć opcją B<CONFIG_PREEMPT_RT>, a model " |
| 1945 |
"wywłaszczania można ustawić na B<CONFIG_PREEMPT> lub B<CONFIG_PREEMPT_LAZY>. " |
| 1946 |
"Ten drugi rzadziej wywłaszcza zadania B<SCHED_NORMAL>, próbując ograniczyć " |
| 1947 |
"wywłaszczanie posiadaczy blokad. Nie ma to wpływu na zadania czasu " |
| 1948 |
"rzeczywistego." |
| 1949 |
|
| 1950 |
#. type: Plain text |
| 1951 |
#: archlinux debian-unstable mageia-cauldron opensuse-leap-16-1 |
| 1952 |
#: opensuse-tumbleweed |
| 1953 |
msgid "" |
| 1954 |
"With B<CONFIG_PREEMPT_RT> enabled, Linux is transformed into a regular real-" |
| 1955 |
"time operating system. The B<SCHED_FIFO>, B<SCHED_RR>, and " |
| 1956 |
"B<SCHED_DEADLINE> scheduling policies are then used to run a thread with " |
| 1957 |
"true real-time priority and a minimum worst-case scheduling latency." |
| 1958 |
msgstr "" |
| 1959 |
"Po włączeniu B<CONFIG_PREEMPT_RT>, Linux staje się standardowym systemem " |
| 1960 |
"operacyjnym czasu rzeczywistego. Algorytmy szeregowania B<SCHED_FIFO>, " |
| 1961 |
"B<SCHED_RR> i B<SCHED_DEADLINE> są wówczas stosowane do uruchamiania wątku z " |
| 1962 |
"prawdziwym priorytetem czasu rzeczywistego oraz zapewnionym minimalnym " |
| 1963 |
"opóźnieniem szeregowania najgorszego przypadku." |
| 1964 |
|
| 1965 |
#. type: SH |
| 1966 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 1967 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 1968 |
#, no-wrap |
| 1969 |
msgid "NOTES" |
| 1970 |
msgstr "UWAGI" |
| 1971 |
|
| 1972 |
#. type: Plain text |
| 1973 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 1974 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 1975 |
msgid "" |
| 1976 |
"The B<cgroups>(7) CPU controller can be used to limit the CPU consumption " |
| 1977 |
"of groups of processes." |
| 1978 |
msgstr "" |
| 1979 |
"Do ograniczania użycia procesora przez grupy procesów można stosować " |
| 1980 |
"kontroler procesora B<cgroups>(7)." |
| 1981 |
|
| 1982 |
#. type: Plain text |
| 1983 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 1984 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 1985 |
msgid "" |
| 1986 |
"Originally, Standard Linux was intended as a general-purpose operating " |
| 1987 |
"system being able to handle background processes, interactive applications, " |
| 1988 |
"and less demanding real-time applications (applications that need to usually " |
| 1989 |
"meet timing deadlines). Although the Linux 2.6 allowed for kernel " |
| 1990 |
"preemption and the newly introduced O(1) scheduler ensures that the time " |
| 1991 |
"needed to schedule is fixed and deterministic irrespective of the number of " |
| 1992 |
"active tasks, true real-time computing was not possible up to Linux 2.6.17." |
| 1993 |
msgstr "" |
| 1994 |
"Pierwotnie, standardowy Linux był pomyślany jako uniwersalny system " |
| 1995 |
"operacyjny, zdolny do obsługi procesów tła, aplikacji interaktywnych oraz " |
| 1996 |
"mniej wymagających aplikacji czasu rzeczywistego (aplikacji, które zwykle " |
| 1997 |
"muszą mieścić się w ograniczeniach czasowych). Choć Linux 2.6 umożliwił " |
| 1998 |
"wywłaszczanie przez jądro, a nowo wprowadzony dyspozytor O(1) zapewnia, że " |
| 1999 |
"czas potrzebny na uszeregowanie jest stały i deterministyczny, niezależnie " |
| 2000 |
"od liczby aktywnych zadań, prawdziwe zachowanie czasu rzeczywistego nie było " |
| 2001 |
"dostępne do Linuksa 2.6.17." |
| 2002 |
|
| 2003 |
#. type: SH |
| 2004 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 2005 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 2006 |
#, no-wrap |
| 2007 |
msgid "SEE ALSO" |
| 2008 |
msgstr "ZOBACZ TAKŻE" |
| 2009 |
|
| 2010 |
#. type: Plain text |
| 2011 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 2012 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 2013 |
msgid "" |
| 2014 |
"B<chcpu>(1), B<chrt>(1), B<lscpu>(1), B<ps>(1), B<taskset>(1), B<top>(1), " |
| 2015 |
"B<getpriority>(2), B<mlock>(2), B<mlockall>(2), B<munlock>(2), " |
| 2016 |
"B<munlockall>(2), B<nice>(2), B<sched_get_priority_max>(2), " |
| 2017 |
"B<sched_get_priority_min>(2), B<sched_getaffinity>(2), B<sched_getparam>(2), " |
| 2018 |
"B<sched_getscheduler>(2), B<sched_rr_get_interval>(2), " |
| 2019 |
"B<sched_setaffinity>(2), B<sched_setparam>(2), B<sched_setscheduler>(2), " |
| 2020 |
"B<sched_yield>(2), B<setpriority>(2), B<pthread_getaffinity_np>(3), " |
| 2021 |
"B<pthread_getschedparam>(3), B<pthread_setaffinity_np>(3), " |
| 2022 |
"B<sched_getcpu>(3), B<capabilities>(7), B<cpuset>(7)" |
| 2023 |
msgstr "" |
| 2024 |
"B<chcpu>(1), B<chrt>(1), B<lscpu>(1), B<ps>(1), B<taskset>(1), B<top>(1), " |
| 2025 |
"B<getpriority>(2), B<mlock>(2), B<mlockall>(2), B<munlock>(2), " |
| 2026 |
"B<munlockall>(2), B<nice>(2), B<sched_get_priority_max>(2), " |
| 2027 |
"B<sched_get_priority_min>(2), B<sched_getaffinity>(2), B<sched_getparam>(2), " |
| 2028 |
"B<sched_getscheduler>(2), B<sched_rr_get_interval>(2), " |
| 2029 |
"B<sched_setaffinity>(2), B<sched_setparam>(2), B<sched_setscheduler>(2), " |
| 2030 |
"B<sched_yield>(2), B<setpriority>(2), B<pthread_getaffinity_np>(3), " |
| 2031 |
"B<pthread_getschedparam>(3), B<pthread_setaffinity_np>(3), " |
| 2032 |
"B<sched_getcpu>(3), B<capabilities>(7), B<cpuset>(7)" |
| 2033 |
|
| 2034 |
#. type: Plain text |
| 2035 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 2036 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 2037 |
msgid "" |
| 2038 |
"I<Programming for the real world - POSIX.4> by Bill O.\\& Gallmeister, " |
| 2039 |
"O'Reilly & Associates, Inc., ISBN 1-56592-074-0." |
| 2040 |
msgstr "" |
| 2041 |
"I<Programming for the real world - POSIX.4> autorstwa Billa O.\\& " |
| 2042 |
"Gallmeistera, O'Reilly & Associates, Inc., ISBN 1-56592-074-0." |
| 2043 |
|
| 2044 |
#. type: Plain text |
| 2045 |
#: archlinux debian-unstable mageia-cauldron opensuse-leap-16-1 |
| 2046 |
#: opensuse-tumbleweed |
| 2047 |
msgid "" |
| 2048 |
"E<.UR https:\\://docs.kernel.org/\\:scheduler> The Linux kernel " |
| 2049 |
"documentation for the scheduler E<.UE .>" |
| 2050 |
msgstr "" |
| 2051 |
"E<.UR https:\\://docs.kernel.org/\\:scheduler> Dokumentacja dyspozytora w " |
| 2052 |
"jądrze Linux E<.UE .>" |
| 2053 |
|
| 2054 |
#. type: Plain text |
| 2055 |
#: archlinux debian-unstable mageia-cauldron opensuse-leap-16-1 |
| 2056 |
#: opensuse-tumbleweed |
| 2057 |
msgid "" |
| 2058 |
"Worth looking at: E<.UR https:\\://wiki.linuxfoundation.org/\\:realtime/" |
| 2059 |
"\\:start> E<.UE>" |
| 2060 |
msgstr "" |
| 2061 |
"Warte przeglądnięcia na stronie: E<.UR https:\\://wiki.linuxfoundation.org/" |
| 2062 |
"\\:realtime/\\:start> E<.UE>" |
| 2063 |
|
| 2064 |
#. type: TH |
| 2065 |
#: debian-trixie |
| 2066 |
#, no-wrap |
| 2067 |
msgid "2024-05-02" |
| 2068 |
msgstr "2 maja 2024 r." |
| 2069 |
|
| 2070 |
#. type: TH |
| 2071 |
#: debian-trixie |
| 2072 |
#, no-wrap |
| 2073 |
msgid "Linux man-pages 6.9.1" |
| 2074 |
msgstr "Linux man-pages 6.9.1" |
| 2075 |
|
| 2076 |
#. type: Plain text |
| 2077 |
#: debian-trixie fedora-44 fedora-rawhide |
| 2078 |
msgid "" |
| 2079 |
"Processes scheduled under one of the real-time policies (B<SCHED_FIFO>, " |
| 2080 |
"B<SCHED_RR>) have a I<sched_priority> value in the range 1 (low) to 99 " |
| 2081 |
"(high). (As the numbers imply, real-time threads always have higher " |
| 2082 |
"priority than normal threads.) Note well: POSIX.1 requires an " |
| 2083 |
"implementation to support only a minimum 32 distinct priority levels for the " |
| 2084 |
"real-time policies, and some systems supply just this minimum. Portable " |
| 2085 |
"programs should use B<sched_get_priority_min>(2) and " |
| 2086 |
"B<sched_get_priority_max>(2) to find the range of priorities supported for " |
| 2087 |
"a particular policy." |
| 2088 |
msgstr "" |
| 2089 |
"Procesy korzystające z jednego z algorytmów szeregowania czasu rzeczywistego " |
| 2090 |
"(B<SCHED_FIFO>, B<SCHED_RR>) mają wartość I<sched_priority> z przedziału od " |
| 2091 |
"1 (niski) do 99 (wysoki). Jak wskazują wartości, wątki czasu rzeczywistego " |
| 2092 |
"mają zawsze wyższy priorytet od zwykłych wątków. Proszę zauważyć, że POSIX.1 " |
| 2093 |
"wymaga obsługi przez implementację co najmniej 32 oddzielnych poziomów " |
| 2094 |
"priorytetów w przypadku algorytmów szeregowania czasu rzeczywistego i " |
| 2095 |
"niektóre systemy obsługują tylko to minimum. Przenośne programy powinny " |
| 2096 |
"stosować B<sched_get_priority_min>(2) i B<sched_get_priority_max>(2), aby " |
| 2097 |
"poznać przedział priorytetów obsługiwanych dla danego algorytmu." |
| 2098 |
|
| 2099 |
#. type: Plain text |
| 2100 |
#: debian-trixie fedora-44 fedora-rawhide |
| 2101 |
msgid "" |
| 2102 |
"B<SCHED_FIFO> can be used only with static priorities higher than 0, which " |
| 2103 |
"means that when a B<SCHED_FIFO> thread becomes runnable, it will always " |
| 2104 |
"immediately preempt any currently running B<SCHED_OTHER>, B<SCHED_BATCH>, or " |
| 2105 |
"B<SCHED_IDLE> thread. B<SCHED_FIFO> is a simple scheduling algorithm " |
| 2106 |
"without time slicing. For threads scheduled under the B<SCHED_FIFO> policy, " |
| 2107 |
"the following rules apply:" |
| 2108 |
msgstr "" |
| 2109 |
"Algorytm B<SCHED_FIFO> (z ang. first in-first out) można stosować tylko ze " |
| 2110 |
"statycznymi priorytetami wyższymi niż 0, co oznacza, że gdy wątek " |
| 2111 |
"B<SCHED_FIFO> stanie się gotowy do uruchomienia, zawsze natychmiast " |
| 2112 |
"wywłaszczy każdy działający wątek B<SCHED_OTHER>, B<SCHED_BATCH> lub " |
| 2113 |
"B<SCHED_IDLE>. B<SCHED_FIFO> jest algorytmem prostego planowania bez " |
| 2114 |
"podziału na wycinki czasowe. Do wątków szeregowanych według algorytmu " |
| 2115 |
"B<SCHED_FIFO> stosują się następujące reguły:" |
| 2116 |
|
| 2117 |
#. type: Plain text |
| 2118 |
#: debian-trixie fedora-44 fedora-rawhide |
| 2119 |
#, no-wrap |
| 2120 |
msgid "" |
| 2121 |
"arrival/wakeup absolute deadline\n" |
| 2122 |
" | start time |\n" |
| 2123 |
" | | |\n" |
| 2124 |
" v v v\n" |
| 2125 |
"-----x--------xooooooooooooooooo--------x--------x---\n" |
| 2126 |
" |E<lt>- comp. time -E<gt>|\n" |
| 2127 |
" |E<lt>------- relative deadline ------E<gt>|\n" |
| 2128 |
" |E<lt>-------------- period -------------------E<gt>|\n" |
| 2129 |
msgstr "" |
| 2130 |
"nadejście/wybudzenie limit absolutny\n" |
| 2131 |
" | moment uruchomienia |\n" |
| 2132 |
" | | |\n" |
| 2133 |
" v v v\n" |
| 2134 |
"-----x--------xooooooooooooooooo--------x--------x---\n" |
| 2135 |
" |E<lt>- czas obl. -E<gt>|\n" |
| 2136 |
" |E<lt>-------- limit względny --------E<gt>|\n" |
| 2137 |
" |E<lt>-------------- okres --------------------E<gt>|\n" |
| 2138 |
|
| 2139 |
#. commit 5091faa449ee0b7d73bc296a93bca9540fc51d0a |
| 2140 |
#. type: Plain text |
| 2141 |
#: debian-trixie fedora-44 fedora-rawhide |
| 2142 |
msgid "" |
| 2143 |
"Since Linux 2.6.38, the kernel provides a feature known as autogrouping to " |
| 2144 |
"improve interactive desktop performance in the face of multiprocess, CPU-" |
| 2145 |
"intensive workloads such as building the Linux kernel with large numbers of " |
| 2146 |
"parallel build processes (i.e., the B<make>(1) B<-j> flag)." |
| 2147 |
msgstr "" |
| 2148 |
"Od Linuksa 2.6.38, jądro zapewnia funkcję zwaną autogrupowaniem, która ma na " |
| 2149 |
"celu poprawienie wydajności interaktywnych środowisk graficznych, podczas " |
| 2150 |
"wykonywania wieloprocesowych, mocno obciążających procesor prac, takich jak " |
| 2151 |
"budowanie jądra Linux z wieloma równoległymi procesami budowania (tj. z " |
| 2152 |
"opcją B<-j> B<make>(1))." |
| 2153 |
|
| 2154 |
#. type: Plain text |
| 2155 |
#: debian-trixie |
| 2156 |
msgid "" |
| 2157 |
"When autogrouping is enabled, all of the members of an autogroup are placed " |
| 2158 |
"in the same kernel scheduler \"task group\". The CFS scheduler employs an " |
| 2159 |
"algorithm that equalizes the distribution of CPU cycles across task groups. " |
| 2160 |
"The benefits of this for interactive desktop performance can be described " |
| 2161 |
"via the following example." |
| 2162 |
msgstr "" |
| 2163 |
"Gdy autogrupowanie jest włączone, wszyscy członkowie autogrupy są " |
| 2164 |
"umieszczani w tej samej \\[Bq]grupie zadań\\[rq] dyspozytora jądra. Planista " |
| 2165 |
"CFS używa algorytmu wyrównującego rozłożenie cykli procesora pomiędzy " |
| 2166 |
"grupami zadań. Korzyści, jakie z tego wynikają dla wydajności interaktywnego " |
| 2167 |
"środowiska graficznego może przybliżyć następujący przykład." |
| 2168 |
|
| 2169 |
#. type: Plain text |
| 2170 |
#: debian-trixie fedora-44 fedora-rawhide |
| 2171 |
#, no-wrap |
| 2172 |
msgid "" |
| 2173 |
"$ B<cat /proc/1/autogroup>\n" |
| 2174 |
"/autogroup-1 nice 0\n" |
| 2175 |
msgstr "" |
| 2176 |
"$ B<cat /proc/1/autogroup>\n" |
| 2177 |
"/autogroup-1 nice 0\n" |
| 2178 |
|
| 2179 |
#. type: Plain text |
| 2180 |
#: debian-trixie fedora-44 fedora-rawhide |
| 2181 |
#, no-wrap |
| 2182 |
msgid "$ B<echo 10 E<gt> /proc/self/autogroup>\n" |
| 2183 |
msgstr "$ B<echo 10 E<gt> /proc/self/autogroup>\n" |
| 2184 |
|
| 2185 |
#. FIXME . Probably this text will need some minor tweaking |
| 2186 |
#. ask Carsten Emde about this. |
| 2187 |
#. type: Plain text |
| 2188 |
#: debian-trixie fedora-44 fedora-rawhide |
| 2189 |
msgid "" |
| 2190 |
"Since Linux 2.6.18, Linux is gradually becoming equipped with real-time " |
| 2191 |
"capabilities, most of which are derived from the former I<realtime-preempt> " |
| 2192 |
"patch set. Until the patches have been completely merged into the mainline " |
| 2193 |
"kernel, they must be installed to achieve the best real-time performance. " |
| 2194 |
"These patches are named:" |
| 2195 |
msgstr "" |
| 2196 |
"Od Linuksa 2.6.18, Linux jest stopniowo wzbogacany o zdolności czasu " |
| 2197 |
"rzeczywistego; większość pochodzi z uprzedniego zestawu łatek I<realtime-" |
| 2198 |
"preempt>. Do momentu całkowitego wprowadzenia łatek do jądra z głównej " |
| 2199 |
"serii, do uzyskania najlepszej wydajności czasu rzeczywistego, konieczna " |
| 2200 |
"jest ich instalacja. Łatki są nazywane następująco:" |
| 2201 |
|
| 2202 |
#. type: Plain text |
| 2203 |
#: debian-trixie fedora-44 fedora-rawhide |
| 2204 |
msgid "" |
| 2205 |
"and can be downloaded from E<.UR http://www.kernel.org\\:/pub\\:/linux\\:/" |
| 2206 |
"kernel\\:/projects\\:/rt/> E<.UE .>" |
| 2207 |
msgstr "" |
| 2208 |
"i można je pobrać ze strony E<.UR http://www.kernel.org\\:/pub\\:/linux\\:/" |
| 2209 |
"kernel\\:/projects\\:/rt/> E<.UE .>" |
| 2210 |
|
| 2211 |
#. type: Plain text |
| 2212 |
#: debian-trixie fedora-44 fedora-rawhide |
| 2213 |
msgid "" |
| 2214 |
"Without the patches and prior to their full inclusion into the mainline " |
| 2215 |
"kernel, the kernel configuration offers only the three preemption classes " |
| 2216 |
"B<CONFIG_PREEMPT_NONE>, B<CONFIG_PREEMPT_VOLUNTARY>, and " |
| 2217 |
"B<CONFIG_PREEMPT_DESKTOP> which respectively provide no, some, and " |
| 2218 |
"considerable reduction of the worst-case scheduling latency." |
| 2219 |
msgstr "" |
| 2220 |
"Bez łatek i do momentu ich pełnego wprowadzenia do jądra z głównej serii, " |
| 2221 |
"konfiguracja jądra oferuje jedynie trzy klasy wywłaszczania: " |
| 2222 |
"B<CONFIG_PREEMPT_NONE>, B<CONFIG_PREEMPT_VOLUNTARY> i " |
| 2223 |
"B<CONFIG_PREEMPT_DESKTOP>, które zapewniają, odpowiednio: brak, pewną i " |
| 2224 |
"znaczną redukcję najgorszego przypadku opóźnienia szeregowania." |
| 2225 |
|
| 2226 |
#. type: Plain text |
| 2227 |
#: debian-trixie fedora-44 fedora-rawhide |
| 2228 |
msgid "" |
| 2229 |
"With the patches applied or after their full inclusion into the mainline " |
| 2230 |
"kernel, the additional configuration item B<CONFIG_PREEMPT_RT> becomes " |
| 2231 |
"available. If this is selected, Linux is transformed into a regular real-" |
| 2232 |
"time operating system. The FIFO and RR scheduling policies are then used to " |
| 2233 |
"run a thread with true real-time priority and a minimum worst-case " |
| 2234 |
"scheduling latency." |
| 2235 |
msgstr "" |
| 2236 |
"Z zastosowanymi łatkami lub po ich pełnym wprowadzeniu do jądra z głównej " |
| 2237 |
"serii, pojawia się dodatkowa pozycja konfiguracyjna: B<CONFIG_PREEMPT_RT>. " |
| 2238 |
"Po jej wybraniu, Linux staje się standardowym systemem operacyjnym czasu " |
| 2239 |
"rzeczywistego. Algorytmy szeregowania FIFO i RR są wówczas stosowane do " |
| 2240 |
"uruchamiania wątku z prawdziwym priorytetem czasu rzeczywistego oraz " |
| 2241 |
"zapewnionym minimalnym opóźnieniem szeregowania najgorszego przypadku." |
| 2242 |
|
| 2243 |
#. type: Plain text |
| 2244 |
#: debian-trixie fedora-44 fedora-rawhide |
| 2245 |
msgid "" |
| 2246 |
"The Linux kernel source files I<\\%Documentation/\\:scheduler/\\:sched-" |
| 2247 |
"deadline\\:.txt>, I<\\%Documentation/\\:scheduler/\\:sched-rt-group\\:.txt>, " |
| 2248 |
"I<\\%Documentation/\\:scheduler/\\:sched-design-CFS\\:.txt>, and I<\\" |
| 2249 |
"%Documentation/\\:scheduler/\\:sched-nice-design\\:.txt>" |
| 2250 |
msgstr "" |
| 2251 |
"Pliki źródeł jądra Linux: I<\\%Documentation/\\:scheduler/\\:sched-" |
| 2252 |
"deadline\\:.txt>, I<\\%Documentation/\\:scheduler/\\:sched-rt-group\\:.txt>, " |
| 2253 |
"I<\\%Documentation/\\:scheduler/\\:sched-design-CFS\\:.txt> oraz I<\\" |
| 2254 |
"%Documentation/\\:scheduler/\\:sched-nice-design\\:.txt>" |
| 2255 |
|
| 2256 |
#. type: TH |
| 2257 |
#: fedora-44 fedora-rawhide |
| 2258 |
#, no-wrap |
| 2259 |
msgid "2025-02-02" |
| 2260 |
msgstr "2 lutego 2025 r." |
| 2261 |
|
| 2262 |
#. type: TH |
| 2263 |
#: fedora-44 fedora-rawhide |
| 2264 |
#, no-wrap |
| 2265 |
msgid "Linux man-pages 6.13" |
| 2266 |
msgstr "Linux man-pages 6.13" |
| 2267 |
|
| 2268 |
#. type: TH |
| 2269 |
#: mageia-cauldron |
| 2270 |
#, no-wrap |
| 2271 |
msgid "Linux man-pages 6.17" |
| 2272 |
msgstr "Linux man-pages 6.17" |
| 2273 |
|
| 2274 |
#. type: TH |
| 2275 |
#: opensuse-leap-16-1 opensuse-tumbleweed |
| 2276 |
#, no-wrap |
| 2277 |
msgid "Linux man-pages (unreleased)" |
| 2278 |
msgstr "Linux man-pages (niewydane)" |