# Polish translation of manpages # This file is distributed under the same license as the manpages-l10n package. # Copyright © of this file: # Michał Kułach , 2026. msgid "" msgstr "" "Project-Id-Version: manpages-l10n 4.26.3.1\n" "POT-Creation-Date: 2026-06-05 06:42+0200\n" "PO-Revision-Date: 2026-03-11 19:03+0100\n" "Last-Translator: Michał Kułach \n" "Language-Team: Polish \n" "Language: pl\n" "MIME-Version: 1.0\n" "Content-Type: text/plain; charset=UTF-8\n" "Content-Transfer-Encoding: 8bit\n" "Plural-Forms: nplurals=3; plural=(n==1 ? 0 : n%10>=2 && n%10<=4 && (n%100<10 " "|| n%100>=20) ? 1 : 2);\n" "X-Generator: Lokalize 25.04.0\n" #. type: TH #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed #, no-wrap msgid "sched" msgstr "sched" #. type: TH #: archlinux debian-unstable mageia-cauldron opensuse-leap-16-1 #: opensuse-tumbleweed #, no-wrap msgid "2026-02-08" msgstr "8 lutego 2026 r." #. type: TH #: archlinux debian-unstable #, no-wrap msgid "Linux man-pages 6.18" msgstr "Linux man-pages 6.18" #. type: SH #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed #, no-wrap msgid "NAME" msgstr "NAZWA" #. type: Plain text #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed msgid "sched - overview of CPU scheduling" msgstr "sched - przegląd szeregowania zadań" #. type: SH #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed #, no-wrap msgid "DESCRIPTION" msgstr "OPIS" #. type: Plain text #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed msgid "" "Since Linux 2.6.23, the default scheduler is CFS, the \"Completely Fair " "Scheduler\". The CFS scheduler replaced the earlier \"O(1)\" scheduler." msgstr "" "Od Linuksa 2.6.23, domyślnym planistą jest CFS, \\[Bq]Completely Fair " "Scheduler\\[rq] (zupełnie sprawiedliwy dyspozytor). Planista CFS zastąpił " "wcześniejszego dyspozytora \\[Bq]O(1)\\[rq]." #. type: SS #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed #, no-wrap msgid "API summary" msgstr "Podsumowanie API" #. type: Plain text #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed msgid "" "Linux provides the following system calls for controlling the CPU scheduling " "behavior, policy, and priority of processes (or, more precisely, threads)." msgstr "" "Linux udostępnia poniższe wywołania systemowe, służące do kontrolowania " "zachowania planisty procesora, algorytmu oraz priorytetów procesów (lub " "precyzyjniej: wątków)." #. type: TP #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed #, no-wrap msgid "B(2)" msgstr "B(2)" #. type: Plain text #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed msgid "" "Set a new nice value for the calling thread, and return the new nice value." msgstr "" "Ustawia nową wartość nice wątku wywołującego i zwraca nową wartość nice." #. type: TP #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed #, no-wrap msgid "B(2)" msgstr "B(2)" #. type: Plain text #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed msgid "" "Return the nice value of a thread, a process group, or the set of threads " "owned by a specified user." msgstr "" "Zwraca wartość nice wątku, grupy procesów lub zbioru wątków podanego " "użytkownika." #. type: TP #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed #, no-wrap msgid "B(2)" msgstr "B(2)" #. type: Plain text #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed msgid "" "Set the nice value of a thread, a process group, or the set of threads owned " "by a specified user." msgstr "" "Ustawia wartość wątku, grupy procesów lub zbioru wątków podanego użytkownika." #. type: TP #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed #, no-wrap msgid "B(2)" msgstr "B(2)" #. type: Plain text #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed msgid "Set the scheduling policy and parameters of a specified thread." msgstr "Ustawia algorytm i parametry szeregowania podanego wątku." #. type: TP #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed #, no-wrap msgid "B(2)" msgstr "B(2)" #. type: Plain text #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed msgid "Return the scheduling policy of a specified thread." msgstr "Zwraca algorytm szeregowania podanego wątku." #. type: TP #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed #, no-wrap msgid "B(2)" msgstr "B(2)" #. type: Plain text #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed msgid "Set the scheduling parameters of a specified thread." msgstr "Ustawia parametry szeregowania podanego wątku." #. type: TP #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed #, no-wrap msgid "B(2)" msgstr "B(2)" #. type: Plain text #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed msgid "Fetch the scheduling parameters of a specified thread." msgstr "Pobiera parametry szeregowania podanego wątku." #. type: TP #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed #, no-wrap msgid "B(2)" msgstr "B(2)" #. type: Plain text #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed msgid "Return the maximum priority available in a specified scheduling policy." msgstr "Zwraca maksymalny dostępny priorytet w danym algorytmie szeregowania." #. type: TP #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed #, no-wrap msgid "B(2)" msgstr "B(2)" #. type: Plain text #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed msgid "Return the minimum priority available in a specified scheduling policy." msgstr "Zwraca minimalny dostępny priorytet w danym algorytmie szeregowania." #. type: TP #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed #, no-wrap msgid "B(2)" msgstr "B(2)" #. type: Plain text #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed msgid "" "Fetch the quantum used for threads that are scheduled under the \"round-" "robin\" scheduling policy." msgstr "" "Pobiera kwant używany wobec wątków szeregowanych przez algorytm karuzelowy " "(\\[Bq]round-robin\\[rq])." #. type: TP #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed #, no-wrap msgid "B(2)" msgstr "B(2)" #. type: Plain text #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed msgid "" "Cause the caller to relinquish the CPU, so that some other thread be " "executed." msgstr "" "Powoduje zwolnienie procesora przez wywołującego, dzięki czemu może być " "wykonany jakiś inny wątek." #. type: TP #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed #, no-wrap msgid "B(2)" msgstr "B(2)" #. type: Plain text #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed msgid "(Linux-specific) Set the CPU affinity of a specified thread." msgstr "(typowo linuksowe) Ustawia koligację procesora podanego wątku." #. type: TP #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed #, no-wrap msgid "B(2)" msgstr "B(2)" #. type: Plain text #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed msgid "(Linux-specific) Get the CPU affinity of a specified thread." msgstr "(typowo linuksowe) Pobiera koligację procesora podanego wątku." #. type: TP #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed #, no-wrap msgid "B(2)" msgstr "B(2)" #. type: Plain text #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed msgid "" "Set the scheduling policy and parameters of a specified thread. This (Linux-" "specific) system call provides a superset of the functionality of " "B(2) and B(2)." msgstr "" "Ustawia algorytm i parametry szeregowania podanego wątku. To (typowo " "linuksowe) wywołanie systemowe zapewnia nadzbiór funkcjonalności " "B(2) oraz B(2)." #. type: TP #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed #, no-wrap msgid "B(2)" msgstr "B(2)" #. type: Plain text #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed msgid "" "Fetch the scheduling policy and parameters of a specified thread. This " "(Linux-specific) system call provides a superset of the functionality of " "B(2) and B(2)." msgstr "" "Pobiera algorytm i parametry szeregowania podanego wątku. To (typowo " "linuksowe) wywołanie systemowe zapewnia nadzbiór funkcjonalności " "B(2) oraz B(2)." #. type: SS #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed #, no-wrap msgid "Scheduling policies" msgstr "Algorytmy szeregowania" #. type: Plain text #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed msgid "" "The scheduler is the kernel component that decides which runnable thread " "will be executed by the CPU next. Each thread has an associated scheduling " "policy and a I scheduling priority, I. The " "scheduler makes its decisions based on knowledge of the scheduling policy " "and static priority of all threads on the system." msgstr "" "Planista (dyspozytor) to część jądra decydująca o tym, który gotowy do " "działania wątek zostanie wykonany przez procesor jako następny. Każdy wątek " "ma przypisany algorytm szeregowania zadań oraz I priorytet " "szeregowania, I. Dyspozytor podejmuje swe decyzje w oparciu " "o wiedzę o algorytmie szeregowania oraz statycznych priorytetach wszystkich " "wątków w systemie." #. type: Plain text #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed msgid "" "For threads scheduled under one of the normal scheduling policies " "(B, B, B), I is not " "used in scheduling decisions (it must be specified as 0)." msgstr "" "W przypadku wątków korzystających z jednego ze zwykłych algorytmów " "szeregowania (B, B, B), " "I nie jest stosowane przy podejmowaniu decyzji o " "szeregowaniu (musi być podane jako 0)." #. type: Plain text #: archlinux debian-unstable mageia-cauldron opensuse-leap-16-1 #: opensuse-tumbleweed msgid "" "Processes scheduled under one of the real-time policies (B, " "B) have a I value in the range 1 (low) to 99 " "(high). (As the numbers imply, real-time threads always have higher " "priority than normal threads.) Note well: POSIX.1 requires an " "implementation to support only a minimum 32 distinct priority levels for the " "real-time policies, and some systems supply just this minimum. Portable " "programs should use B(2) and " "B(2) to find the range of priorities supported for " "a particular policy." msgstr "" "Procesy korzystające z jednego z algorytmów szeregowania czasu rzeczywistego " "(B, B) mają wartość I z przedziału od " "1 (niski) do 99 (wysoki). Jak wskazują wartości, wątki czasu rzeczywistego " "mają zawsze wyższy priorytet od zwykłych wątków. Proszę zauważyć, że POSIX.1 " "wymaga obsługi przez implementację co najmniej 32 oddzielnych poziomów " "priorytetów w przypadku algorytmów szeregowania czasu rzeczywistego i " "niektóre systemy obsługują tylko to minimum. Przenośne programy powinny " "stosować B(2) i B(2), aby " "poznać przedział priorytetów obsługiwanych dla danego algorytmu." #. type: Plain text #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed msgid "" "Conceptually, the scheduler maintains a list of runnable threads for each " "possible I value. In order to determine which thread runs " "next, the scheduler looks for the nonempty list with the highest static " "priority and selects the thread at the head of this list." msgstr "" "Idea jest taka, że dyspozytor zarządza listą działających wątków dla każdej " "możliwej wartości I. Aby określić następny uruchomiony " "wątek, planista szuka niepustej listy o najwyższym statycznym priorytecie i " "wybiera wątek na jej początku." #. type: Plain text #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed msgid "" "A thread's scheduling policy determines where it will be inserted into the " "list of threads with equal static priority and how it will move inside this " "list." msgstr "" "Algorytm szeregowania wątku określa miejsce, w którym zostanie on " "umieszczony na liście wątków o takim samym statycznym priorytecie oraz " "sposób przemieszczenia się wewnątrz tej listy." #. type: Plain text #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed msgid "" "All scheduling is preemptive: if a thread with a higher static priority " "becomes ready to run, the currently running thread will be preempted and " "returned to the wait list for its static priority level. The scheduling " "policy determines the ordering only within the list of runnable threads with " "equal static priority." msgstr "" "Wszelkie szeregowanie następuje z wywłaszczaniem: jeśli pojawi się wątek o " "wyższym priorytecie gotowy do uruchomienia, aktualnie uruchomiony wątek " "zostanie wywłaszczony i powróci na listę oczekujących swego statycznego " "poziomu priorytetu. Algorytm szeregowania określa kolejność jedynie na " "liście działających wątków o takim samym statycznym priorytecie." #. type: SS #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed #, no-wrap msgid "SCHED_FIFO: First in-first out scheduling" msgstr "SCHED_FIFO: Szeregowanie typu pierwszy na wejściu, pierwszy na wyjściu" #. type: Plain text #: archlinux debian-unstable mageia-cauldron opensuse-leap-16-1 #: opensuse-tumbleweed msgid "" "B can be used only with static priorities higher than 0, which " "means that when a B thread becomes runnable, it will always " "immediately preempt any currently running B, B, or " "B thread. B algorithm " "without time slicing. For threads scheduled under the B policy, " "the following rules apply:" msgstr "" "Algorytm B (z ang. first in-first out) można stosować tylko ze " "statycznymi priorytetami wyższymi niż 0, co oznacza, że gdy wątek " "B stanie się gotowy do uruchomienia, zawsze natychmiast " "wywłaszczy każdy działający wątek B, B lub " "B. B bez " "podziału na wycinki czasowe. Do wątków szeregowanych według algorytmu " "B stosują się następujące reguły:" #. type: IP #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed #, no-wrap msgid "\\[bu]" msgstr "\\[bu]" #. type: Plain text #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed msgid "" "A running B thread that has been preempted by another thread of " "higher priority will stay at the head of the list for its priority and will " "resume execution as soon as all threads of higher priority are blocked again." msgstr "" "Działający wątek B wywłaszczony przez inny wątek o wyższym " "priorytecie pozostanie na czele listy swojego priorytetu i wznowi wykonanie, " "gdy tylko wszystkie wątki o wyższym priorytecie zostaną ponownie zablokowane." #. type: Plain text #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed msgid "" "When a blocked B thread becomes runnable, it will be inserted at " "the end of the list for its priority." msgstr "" "Gdy zablokowany wątek B stanie się gotowy do uruchomienia, " "zostanie umieszczony na końcu listy swojego priorytetu." #. type: Plain text #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed msgid "" "If a call to B(2), B(2), " "B(2), B(3), or " "B(3) changes the priority of the running or runnable " "B thread identified by I the effect on the thread's " "position in the list depends on the direction of the change to the thread's " "priority:" msgstr "" "Gdy wywołanie do B(2), B(2), " "B(2), B(3) lub " "B(3) zmieni priorytet działającego lub gotowego do " "działania wątku B, identyfikowanego przez I, efekt pozycji " "wątku na liście zależy od kierunku zmiany priorytetu wątku:" #. type: IP #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed #, no-wrap msgid "(a)" msgstr "(a)" #. type: Plain text #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed msgid "" "If the thread's priority is raised, it is placed at the end of the list for " "its new priority. As a consequence, it may preempt a currently running " "thread with the same priority." msgstr "" "Jeśli podnosi się priorytet wątku, jest on umieszczany na końcu listy jego " "nowego priorytetu. Może zatem wywłaszczyć aktualnie działający wątek o tym " "samym priorytecie." #. type: IP #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed #, no-wrap msgid "(b)" msgstr "(b)" #. type: Plain text #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed msgid "" "If the thread's priority is unchanged, its position in the run list is " "unchanged." msgstr "" "Jeśli priorytet wątku nie ulega zmianie, jego pozycja na liście nie ulega " "zmianie." #. type: IP #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed #, no-wrap msgid "(c)" msgstr "(c)" #. type: Plain text #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed msgid "" "If the thread's priority is lowered, it is placed at the front of the list " "for its new priority." msgstr "" "Jeśli obniża się priorytet wątku, jest on umieszczany na czele listy jego " "nowego priorytetu." #. In Linux 2.2.x and Linux 2.4.x, the thread is placed at the front of the queue #. In Linux 2.0.x, the Right Thing happened: the thread went to the back -- MTK #. type: Plain text #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed msgid "" "According to POSIX.1-2008, changes to a thread's priority (or policy) using " "any mechanism other than B(3) should result in the " "thread being placed at the end of the list for its priority." msgstr "" "Zgodnie z POSIX.1-2008, zmiany priorytetu (lub algorytmu szeregowania) " "wątku, dokonane mechanizmem innym niż B(3), powinny " "spowodować umieszczenie wątku na końcu listy jego priorytetu." #. type: Plain text #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed msgid "A thread calling B(2) will be put at the end of the list." msgstr "" "Wątek wywołujący B(2) zostanie umieszczony na końcu listy." #. type: Plain text #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed msgid "" "No other events will move a thread scheduled under the B policy " "in the wait list of runnable threads with equal static priority." msgstr "" "Nie występują inne zdarzenia mogące przesunąć wątek szeregowany według " "algorytmu B na liście oczekujących wątków gotowych do działania " "o tym samym priorytecie statycznym." #. type: Plain text #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed msgid "" "A B thread runs until either it is blocked by an I/O request, it " "is preempted by a higher priority thread, or it calls B(2)." msgstr "" "Wątek B działa do momentu zablokowania przez żądanie wejścia/" "wyjścia, wywłaszczenia przez wątek o wyższym priorytecie lub wywołania przez " "niego B(2)." #. type: SS #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed #, no-wrap msgid "SCHED_RR: Round-robin scheduling" msgstr "SCHED_RR: Szeregowanie rotacyjne (karuzelowe)" #. On Linux 2.4, the length of the RR interval is influenced #. by the process nice value -- MTK #. type: Plain text #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed msgid "" "B is a simple enhancement of B. Everything described " "above for B also applies to B, except that each thread " "is allowed to run only for a maximum time quantum. If a B thread " "has been running for a time period equal to or longer than the time quantum, " "it will be put at the end of the list for its priority. A B " "thread that has been preempted by a higher priority thread and subsequently " "resumes execution as a running thread will complete the unexpired portion of " "its round-robin time quantum. The length of the time quantum can be " "retrieved using B(2)." msgstr "" "Algorytm B (z ang. round-robin) jest prostym rozszerzeniem " "B. Wszystko, co opisano powyżej wobec B, stosuje się " "również wobec B z tym wyjątkiem, że każdy wątek może działać " "jedynie przez maksymalny kwant czasu. Jeśli wątek B działał przez " "czas równy lub dłuższy kwantowi czasu, zostanie umieszczony na końcu listy " "dla jego priorytetu. Wątek B wywłaszczony przez wątek o wyższym " "priorytecie, który następnie wznowił działanie jako wątek działający, " "ukończy niewygasły fragment swojego kwantu czasu szeregowania rotacyjnego. " "Długość kwantu czasu można pozyskać za pomocą B(2)." #. type: SS #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed #, no-wrap msgid "SCHED_DEADLINE: Sporadic task model deadline scheduling" msgstr "SCHED_DEADLINE: Szeregowanie sporadyczne z budżetem czasu" #. type: Plain text #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed msgid "" "Since Linux 3.14, Linux provides a deadline scheduling policy " "(B). This policy is currently implemented using GEDF " "(Global Earliest Deadline First) in conjunction with CBS (Constant " "Bandwidth Server). To set and fetch this policy and associated attributes, " "one must use the Linux-specific B(2) and " "B(2) system calls." msgstr "" "Od Linuksa 3.14, Linux udostępnia szeregowanie sporadyczne z budżetem czasu " "(B). Ten algorytm zaimplementowano obecnie za pomocą GEDF " "(Global Earliest Deadline First) w połączeniu z CBS (Constant Bandwidth " "Server). Aby ustawić i pobrać ten algorytm wraz z powiązanymi atrybutami, " "konieczne jest użycie typowo linuksowych wywołań systemowych " "B(2) i B(2)." #. type: Plain text #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed msgid "" "A sporadic task is one that has a sequence of jobs, where each job is " "activated at most once per period. Each job also has a I, before which it should finish execution, and a I, which is the CPU time necessary for executing the job. The moment " "when a task wakes up because a new job has to be executed is called the " "I (also referred to as the request time or release time). The " "I is the time at which a task starts its execution. The " "I is thus obtained by adding the relative deadline to the " "arrival time." msgstr "" "Zadaniem sporadycznym jest takie, które ma sekwencje zadań, z których każde " "jest aktywowane co najwyżej raz na okres. Każde zadanie ma też I, przed którym powinno ukończyć wykonanie oraz I, który jest czasem procesora potrzebnym na wykonanie zadania. " "Moment, w którym zadanie wybudza się, ze względu na nową pracę do wykonania, " "nazywa się I (również momentem żądania lub momentem " "zwolnienia). I to czas, w którym zadanie rozpoczyna swe " "wykonywanie. I powstaje zatem przez dodanie limitu " "względnego do czasu nadejścia." #. type: Plain text #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed msgid "The following diagram clarifies these terms:" msgstr "Poniższy diagram ukazuje powyższe pojęcia:" #. type: Plain text #: archlinux debian-unstable mageia-cauldron opensuse-leap-16-1 #: opensuse-tumbleweed #, no-wrap msgid "" "arrival/wakeup absolute deadline\n" " | start time |\n" " | | |\n" " v v v\n" "-----x--------xooooooooooooooooo--------x--------x---\n" " |E- comp.\\& time -E|\n" " |E------- relative deadline ------E|\n" " |E-------------- period -------------------E|\n" msgstr "" "nadejście/wybudzenie limit absolutny\n" " | moment uruchomienia |\n" " | | |\n" " v v v\n" "-----x--------xooooooooooooooooo--------x--------x---\n" " |E- czas obl.\\& --E|\n" " |E-------- limit względny --------E|\n" " |E-------------- okres --------------------E|\n" # Tłumaczenie zsynchronizować z sched_setattr(2). #. type: Plain text #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed msgid "" "When setting a B policy for a thread using " "B(2), one can specify three parameters: I, " "I, and I. These parameters do not necessarily correspond " "to the aforementioned terms: usual practice is to set Runtime to something " "bigger than the average computation time (or worst-case execution time for " "hard real-time tasks), Deadline to the relative deadline, and Period to the " "period of the task. Thus, for B scheduling, we have:" msgstr "" "Przy ustawianiu algorytmu B wobec wątku za pomocą " "B(2), można podać trzy parametry: I " "(I), I (I) oraz I (I). Parametry te " "niekoniecznie odpowiadają wcześniej wymienionym pojęciom: praktyką jest " "zwykle ustawienie Czasu Działania na wartość większą niż przeciętny czas " "obliczeniowy (lub czas wykonania w najgorszym wariancie, w przypadku " "trudnych zadań czasu rzeczywistego), Limit na limit względny a Okres na " "okres zadania. Zatem w szeregowaniu B mamy:" #. type: Plain text #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed #, no-wrap msgid "" "arrival/wakeup absolute deadline\n" " | start time |\n" " | | |\n" " v v v\n" "-----x--------xooooooooooooooooo--------x--------x---\n" " |E-- Runtime -------E|\n" " |E----------- Deadline -----------E|\n" " |E-------------- Period -------------------E|\n" msgstr "" "nadejście/wybudzenie limit absolutny\n" " | moment uruchomienia |\n" " | | |\n" " v v v\n" "-----x--------xooooooooooooooooo--------x--------x---\n" " |E- Czas Działania -E|\n" " |E------------- Limit ------------E|\n" " |E-------------- Okres --------------------E|\n" #. FIXME It looks as though specifying sched_period as 0 means #. "make sched_period the same as sched_deadline". #. This needs to be documented. #. type: Plain text #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed msgid "" "The three deadline-scheduling parameters correspond to the I, " "I, and I fields of the I " "structure; see B(2). These fields express values in " "nanoseconds. If I is specified as 0, then it is made the same " "as I." msgstr "" "Trzy parametry niniejszego szeregowania odpowiadają polom I, " "I oraz I struktury I; zob. " "B(2). Pola te wyrażają wartości w nanosekundach. Jeśli poda " "się I jako 0, przyjmowana jest wartość taka sama jak w " "I." #. type: Plain text #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed msgid "The kernel requires that:" msgstr "Jądro wymaga aby:" #. type: Plain text #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed #, no-wrap msgid "sched_runtime E= sched_deadline E= sched_period\n" msgstr "sched_runtime E= sched_deadline E= sched_period\n" #. See __checkparam_dl in kernel/sched/core.c #. type: Plain text #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed msgid "" "In addition, under the current implementation, all of the parameter values " "must be at least 1024 (i.e., just over one microsecond, which is the " "resolution of the implementation), and less than 2\\[ha]63. If any of these " "checks fails, B(2) fails with the error B." msgstr "" "Dodatkowo, w bieżącej implementacji, wszystkie wartości parametrów muszą " "wynosić przynajmniej 1024 (tj. odrobinę ponad jedną mikrosekundę, stanowiącą " "rozdzielczość implementacji) i mniej niż 2\\[ha]63. Jeśli któryś z tych " "warunków nie będzie spełniony, B(2) zawiedzie z błędem " "B." #. type: Plain text #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed msgid "" "The CBS guarantees non-interference between tasks, by throttling threads " "that attempt to over-run their specified Runtime." msgstr "" "CBS gwarantuje brak interferencji pomiędzy zadaniami, poprzez dławienie " "wątków próbujących przekroczyć ich określony Czas Działania." #. type: Plain text #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed msgid "" "To ensure deadline scheduling guarantees, the kernel must prevent situations " "where the set of B threads is not feasible (schedulable) " "within the given constraints. The kernel thus performs an admittance test " "when setting or changing B policy and attributes. This " "admission test calculates whether the change is feasible; if it is not, " "B(2) fails with the error B." msgstr "" "Aby zagwarantować szeregowanie z budżetem czasu, jądro musi zapobiegać " "sytuacjom, gdy uszeregowanie zbioru wątków B jest " "nierealistyczne w podanych ograniczeniach czasowych. Jądro dokonuje zatem " "testu przyjęcia przy ustawianiu lub zmienianiu algorytmu i atrybutów " "B. Test przyjęcia polega na obliczeniu, czy zmiana jest " "realistyczna: jeśli nie jest, B(2) zawiedzie z błędem " "B." #. type: Plain text #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed msgid "" "For example, it is required (but not necessarily sufficient) for the total " "utilization to be less than or equal to the total number of CPUs available, " "where, since each thread can maximally run for Runtime per Period, that " "thread's utilization is its Runtime divided by its Period." msgstr "" "Na przykład, jest wymagane (lecz niekoniecznie wystarczające), aby całkowite " "użycie było mniejsze lub równe całkowitej liczbie dostępnych procesorów, " "ponieważ każdy wątek może działać maksymalnie przez Czas Działania na Okres, " "czyli jego użycie wynosi Czas Działania dzielony przez jego Okres." #. type: Plain text #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed msgid "" "In order to fulfill the guarantees that are made when a thread is admitted " "to the B policy, B threads are the highest " "priority (user controllable) threads in the system; if any B " "thread is runnable, it will preempt any thread scheduled under one of the " "other policies." msgstr "" "Aby wypełnić gwarancje uczynione przy przyjęciu wątku przez algorytm " "B, wątki B są wątkami o najwyższym " "(kontrolowanym przez użytkownika) priorytecie w systemie; jeśli działa jakiś " "wątek B, wywłaszczy on wszystkie wątki szeregowane według " "innych algorytmów." #. type: Plain text #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed msgid "" "A call to B(2) by a thread scheduled under the B " "policy fails with the error B, unless the thread has its reset-on-" "fork flag set (see below)." msgstr "" "Wywołanie B(2) przez wątek szeregowany według algorytmu " "B zawiedzie z błędem B, chyba że wątek ma ustawiony " "swój znacznik reset-on-fork (zob. niżej)." # #. FIXME Calling sched_getparam() on a SCHED_DEADLINE thread #. fails with EINVAL, but sched_getscheduler() succeeds. #. Is that intended? (Why?) #. type: Plain text #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed msgid "" "A B thread that calls B(2) will yield the " "current job and wait for a new period to begin." msgstr "" "Wątek B po wywołaniu B(2) zwolni bieżącą pracę " "i zaczeka na rozpoczęcie nowego okresu." #. type: SS #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed #, no-wrap msgid "SCHED_OTHER: Default Linux time-sharing scheduling" msgstr "SCHED_OTHER: Domyślny sposób szeregowania zadań w Linuksie" #. type: Plain text #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed msgid "" "B can be used at only static priority 0 (i.e., threads under " "real-time policies always have priority over B processes). " "B is the standard Linux time-sharing scheduler that is intended " "for all threads that do not require the special real-time mechanisms." msgstr "" "Algorytm B można stosować tylko ze statycznym priorytetem 0 " "(tj. wątki szeregowane przez algorytmy czasu rzeczywistego są zawsze " "priorytetowe wobec procesów B). B jest " "standardowym algorytmem szeregowania w Linuksie, przeznaczonym do wszystkich " "wątków niewymagających specjalnych mechanizmów czasu rzeczywistego." #. type: Plain text #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed msgid "" "The thread to run is chosen from the static priority 0 list based on a " "I priority that is determined only inside this list. The dynamic " "priority is based on the nice value (see below) and is increased for each " "time quantum the thread is ready to run, but denied to run by the " "scheduler. This ensures fair progress among all B threads." msgstr "" "Wątek do uruchomienia jest wybierany z listy o statycznym priorytecie 0, w " "oparciu o priorytet I, określany jedynie wewnątrz tej listy. " "Priorytet dynamiczny bazuje na wartości nice (zob. niżej) i jest zwiększany " "przy każdym kwancie czasu, w którym wątek jest gotowy do uruchomienia, ale " "odmówił mu tego dyspozytor (tzw. postarzanie wątku). W ten sposób uzyskuje " "się sprawiedliwy postęp dla wszystkich wątków B." #. type: Plain text #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed msgid "" "In the Linux kernel source code, the B policy is actually named " "B." msgstr "" "W kodzie źródłowym jądra Linux, algorytm B nazywa się tak " "naprawdę B." #. type: SS #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed #, no-wrap msgid "The nice value" msgstr "Wartość nice" #. type: Plain text #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed msgid "" "The nice value is an attribute that can be used to influence the CPU " "scheduler to favor or disfavor a process in scheduling decisions. It " "affects the scheduling of B and B (see below) " "processes. The nice value can be modified using B(2), " "B(2), or B(2)." msgstr "" "Wartość nice jest atrybutem, który można wpłynąć na dyspozytora, aby " "faworyzował (lub przeciwnie) proces w decyzjach szeregowania zadań. Wpływa " "na szeregowanie procesów B i B (zob. niżej). " "Wartość nice można modyfikować za pomocą B(2), B(2) lub " "B(2)." #. type: Plain text #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed msgid "" "According to POSIX.1, the nice value is a per-process attribute; that is, " "the threads in a process should share a nice value. However, on Linux, the " "nice value is a per-thread attribute: different threads in the same process " "may have different nice values." msgstr "" "Zgodnie z POSIX.1, wartość nice jest atrybutem przynależnym procesowi; tj. " "wątki procesu powinny dzielić wartość nice. Jednak w Linuksie wartość nice " "jest atrybutem przynależnym wątkowi: różne wątki tego samego procesu mogą " "mieć różne wartości nice." #. Linux before 1.3.36 had \-infinity..15. #. Since Linux 1.3.43, Linux has the range \-20..19. #. type: Plain text #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed msgid "" "The range of the nice value varies across UNIX systems. On modern Linux, " "the range is -20 (high priority) to +19 (low priority). On some other " "systems, the range is -20..20. Very early Linux kernels (before Linux 2.0) " "had the range -infinity..15." msgstr "" "Przedział wartości nice różni się między systemami UNIX. We współczesnym " "Linuksie przedział wynosi od -20 (wysoki priorytet) do +19 (niski " "priorytet). W niektórych innych systemach wynosi on -20..20. Bardzo wczesne " "jądra Linux (przed Linuksem 2.0) korzystały z przedziału -nieskończoność..15." #. type: Plain text #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed msgid "" "The degree to which the nice value affects the relative scheduling of " "B processes likewise varies across UNIX systems and across " "Linux kernel versions." msgstr "" "Poziom wpływu wartości nice na relatywne szeregowanie procesów " "B również różni się między systemami UNIX oraz pomiędzy " "wersjami jądra Linux." #. type: Plain text #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed msgid "" "With the advent of the CFS scheduler in Linux 2.6.23, Linux adopted an " "algorithm that causes relative differences in nice values to have a much " "stronger effect. In the current implementation, each unit of difference in " "the nice values of two processes results in a factor of 1.25 in the degree " "to which the scheduler favors the higher priority process. This causes very " "low nice values (+19) to truly provide little CPU to a process whenever " "there is any other higher priority load on the system, and makes high nice " "values (-20) deliver most of the CPU to applications that require it (e.g., " "some audio applications)." msgstr "" "Wraz z wprowadzeniem dyspozytora CFS w Linuksie 2.6.23, Linux przyjął " "algorytm przewidujący znacznie większy wpływ relatywnych różnic wartości " "nice. W bieżącej implementacji, różnica każdej jedności w wartości nice " "pomiędzy dwoma procesami stanowi mnożnik 1,25, o jaki planista faworyzuje " "proces o wyższym priorytecie. Powoduje to zapewnienie rzeczywiście " "niewielkiego czasu procesora procesom o bardzo niskim priorytecie (wartość " "nice +19), gdy w systemie występują istotniejsze zadania oraz udostępnia " "większość procesora przy wysokim priorytecie (wartość nice -20) aplikacjom, " "które tego wymagają (np. niektóre programy związane z dźwiękiem)." #. type: Plain text #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed msgid "" "On Linux, the B resource limit can be used to define a limit to " "which an unprivileged process's nice value can be raised; see " "B(2) for details." msgstr "" "W Linuksie, za pomocą limitu zasobów B, można zdefiniować limit " "wartość nice, jaki może uzyskać nieuprzywilejowany proces; więcej szczegółów " "w podręczniku B(2)." #. type: Plain text #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed msgid "" "For further details on the nice value, see the subsections on the autogroup " "feature and group scheduling, below." msgstr "" "Więcej szczegółów na temat wartości nice opisano poniżej, w podrozdziałach o " "funkcji autogrupowania i szeregowania grup." #. type: SS #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed #, no-wrap msgid "SCHED_BATCH: Scheduling batch processes" msgstr "SCHED_BATCH: Szeregowanie procesów wsadowych" #. type: Plain text #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed msgid "" "(Since Linux 2.6.16.) B can be used only at static priority " "0. This policy is similar to B in that it schedules the thread " "according to its dynamic priority (based on the nice value). The difference " "is that this policy will cause the scheduler to always assume that the " "thread is CPU-intensive. Consequently, the scheduler will apply a small " "scheduling penalty with respect to wakeup behavior, so that this thread is " "mildly disfavored in scheduling decisions." msgstr "" "(Od Linuksa 2.6.16). Algorytm B można stosować wyłącznie ze " "statycznym priorytetem 0. Algorytm podobny do B w tym, że " "szereguje wątki zgodnie z ich priorytetem dynamicznym (bazującym na wartości " "nice). Różnica jest taka, że tutaj dyspozytor zawsze zakłada, że wątek jest " "obciążający dla procesora. W konsekwencji, planista zastosuje niewielką karę " "przy wybudzeniu, co powoduje umiarkowanie rzadsze przydzielanie mu zasobów." #. The following paragraph is drawn largely from the text that #. accompanied Ingo Molnar's patch for the implementation of #. SCHED_BATCH. #. commit b0a9499c3dd50d333e2aedb7e894873c58da3785 #. type: Plain text #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed msgid "" "This policy is useful for workloads that are noninteractive, but do not want " "to lower their nice value, and for workloads that want a deterministic " "scheduling policy without interactivity causing extra preemptions (between " "the workload's tasks)." msgstr "" "Algorytm przydatny w przypadku obciążeń nieinteraktywnych, które jednak nie " "chcą zmniejszać swojego priorytetu poprzez wartość nice oraz w przypadku " "obciążeń wymagających deterministycznego algorytmu szeregowania, bez " "dodatkowego wywłaszczania wywoływanego przez interaktywność (pomiędzy ich " "zadaniami)." #. type: SS #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed #, no-wrap msgid "SCHED_IDLE: Scheduling very low priority jobs" msgstr "SCHED_IDLE: Szeregowanie zadań o bardzo niskim priorytecie" #. type: Plain text #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed msgid "" "(Since Linux 2.6.23.) B can be used only at static priority 0; " "the process nice value has no influence for this policy." msgstr "" "(Od Linuksa 2.6.23). Algorytm B można stosować tylko ze " "statycznym priorytetem 0; wartość nice procesu nie ma na niego wpływu." #. type: Plain text #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed msgid "" "This policy is intended for running jobs at extremely low priority (lower " "even than a +19 nice value with the B or B " "policies)." msgstr "" "Przeznaczony do uruchamiania zadań o ekstremalnie niskim priorytecie " "(niższym nawet niż wartość nice +19 w algorytmach B lub " "B)." #. type: SS #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed #, no-wrap msgid "Resetting scheduling policy for child processes" msgstr "Resetowanie algorytmu szeregowania procesów potomnych" #. type: Plain text #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed msgid "" "Each thread has a reset-on-fork scheduling flag. When this flag is set, " "children created by B(2) do not inherit privileged scheduling " "policies. The reset-on-fork flag can be set by either:" msgstr "" "Każdy wątek ma znacznik szeregowania reset-on-fork (zresetuj przy " "rozwidleniu). Gdy jest ustawiony, potomkowie utworzeni przy B(2) nie " "dziedziczą uprzywilejowanych algorytmów szeregowania. Znacznik reset-on-fork " "może być ustawiony przez:" #. type: Plain text #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed msgid "" "ORing the B flag into the I argument when " "calling B(2) (since Linux 2.6.32); or" msgstr "" "zsumowanie (logiczne OR) znacznika B do argumentu " "I przy wywołaniu B(2) (od Linuksa 2.6.32); albo" #. type: Plain text #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed msgid "" "specifying the B flag in I when " "calling B(2)." msgstr "" "podanie znacznika B w I przy " "wywołaniu B(2)." #. type: Plain text #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed msgid "" "Note that the constants used with these two APIs have different names. The " "state of the reset-on-fork flag can analogously be retrieved using " "B(2) and B(2)." msgstr "" "Proszę zauważyć, że stałe używane przez oba interfejsy mają różne nazwy. " "Stan znacznika reset-on-fork można analogicznie pobrać za pomocą " "B(2) i B(2)." #. type: Plain text #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed msgid "" "The reset-on-fork feature is intended for media-playback applications, and " "can be used to prevent applications evading the B resource " "limit (see B(2)) by creating multiple child processes." msgstr "" "Funkcja reset-on-fork jest przeznaczona do aplikacji odtwarzających media i " "może posłużyć do uniknięcia możliwości ominięcia przez aplikacje limitu " "zasobu B (zob. B(2)) przez tworzenie wielu " "procesów potomnych." #. type: Plain text #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed msgid "" "More precisely, if the reset-on-fork flag is set, the following rules apply " "for subsequently created children:" msgstr "" "Precyzyjniej: jeśli ustawiono znacznik reset-on-fork, do nowo tworzonych " "potomków stosują się następujące zasady:" #. type: Plain text #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed msgid "" "If the calling thread has a scheduling policy of B or " "B, the policy is reset to B in child processes." msgstr "" "Jeśli wątek wywołujący ma ustawiony algorytm szeregowania B lub " "B, algorytm jest resetowany na B w procesach " "potomnych." #. type: Plain text #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed msgid "" "If the calling process has a negative nice value, the nice value is reset to " "zero in child processes." msgstr "" "Jeśli proces wywołujący ma ujemną wartość nice, wartość nice jest resetowana " "na zero w procesach potomnych." #. type: Plain text #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed msgid "" "After the reset-on-fork flag has been enabled, it can be reset only if the " "thread has the B capability. This flag is disabled in child " "processes created by B(2)." msgstr "" "Po włączeniu znacznika reset-on-fork, można go zresetować tylko, jeśli wątek " "ma przywilej B. Znacznik jest wyłączony w procesach potomnych " "tworzonych przez B(2)." #. type: SS #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed #, no-wrap msgid "Privileges and resource limits" msgstr "Przywileje i limity zasobów" #. type: Plain text #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed msgid "" "Before Linux 2.6.12, only privileged (B) threads can set a " "nonzero static priority (i.e., set a real-time scheduling policy). The only " "change that an unprivileged thread can make is to set the B " "policy, and this can be done only if the effective user ID of the caller " "matches the real or effective user ID of the target thread (i.e., the thread " "specified by I) whose policy is being changed." msgstr "" "Przed Linuksem 2.6.12, tylko wątki uprzywilejowane (B) mogą " "mieć ustawiony niezerowy priorytet statyczny (tj. ustawiony algorytm " "szeregowania czasu rzeczywistego). Jedyną zmianę, jaką może dokonać " "nieuprzywilejowany wątek, jest ustawienie algorytmu B, a to " "można zrobić tylko, jeśli efektywny identyfikator użytkownika wywołującego " "jest równy rzeczywistemu lub efektywnemu identyfikatorowi użytkownika wątku " "docelowego (tj. wątku określonemu przez I), którego algorytm jest " "zmieniany." #. type: Plain text #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed msgid "" "A thread must be privileged (B) in order to set or modify a " "B policy." msgstr "" "Wątek musi być uprzywilejowany (B), aby ustawić lub " "zmodyfikować algorytm B." #. type: Plain text #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed msgid "" "Since Linux 2.6.12, the B resource limit defines a ceiling on " "an unprivileged thread's static priority for the B and " "B policies. The rules for changing scheduling policy and " "priority are as follows:" msgstr "" "Od Linuksa 2.6.12, limit zasobów B definiuje górny limit " "statycznego priorytetu wątku nieuprzywilejowanego w algorytmach B " "i B. Reguły zmiany algorytmów szeregowania i priorytetów są " "następujące:" #. type: Plain text #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed msgid "" "If an unprivileged thread has a nonzero B soft limit, then it " "can change its scheduling policy and priority, subject to the restriction " "that the priority cannot be set to a value higher than the maximum of its " "current priority and its B soft limit." msgstr "" "Jeśli nieuprzywilejowany wątek ma niezerowy miękki limit B, " "to może zmienić swój algorytm szeregowania zadań i priorytet, z takim " "ograniczeniem, że priorytet nie może być ustawiony na wyższy niż maksymalna " "z wartości: jego bieżącego priorytetu i jego limitu miękkiego " "B." #. type: Plain text #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed msgid "" "If the B soft limit is 0, then the only permitted changes are " "to lower the priority, or to switch to a non-real-time policy." msgstr "" "Jeśli miękki limit B wynosi 0, to jedynymi dozwolonymi " "zmianami są: obniżenie priorytetu lub przełączenie z algorytmu czasu " "rzeczywistego na niebędący takowym." #. type: Plain text #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed msgid "" "Subject to the same rules, another unprivileged thread can also make these " "changes, as long as the effective user ID of the thread making the change " "matches the real or effective user ID of the target thread." msgstr "" "Wedle tych samych zasad, inny nieuprzywilejowany wątek może również dokonać " "tych zmian, o ile efektywny identyfikator użytkownika wątku dokonującego " "zmiany jest taki sam, jak rzeczywisty lub efektywny identyfikator " "użytkownika wątku docelowego." #. commit c02aa73b1d18e43cfd79c2f193b225e84ca497c8 #. type: Plain text #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed msgid "" "Special rules apply for the B policy. Before Linux 2.6.39, an " "unprivileged thread operating under this policy cannot change its policy, " "regardless of the value of its B resource limit. Since Linux " "2.6.39, an unprivileged thread can switch to either the B or " "the B policy so long as its nice value falls within the range " "permitted by its B resource limit (see B(2))." msgstr "" "Specjalne zasady tyczą się algorytmu B. Przed Linuksem 2.6.39, " "nieuprzywilejowany wątek działający według tego algorytmu nie mógł go " "zmienić, niezależnie od wartości jego limitu zasobów B. Od " "Linuksa 2.6.39, nieuprzywilejowany wątek może przełączyć się na algorytm " "B lub B, o ile jego wartość nice znajduje się w " "przedziale dozwolonym przez jego limit zasobów B (zob. " "B(2))." #. type: Plain text #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed msgid "" "Privileged (B) threads ignore the B limit; as " "with older kernels, they can make arbitrary changes to scheduling policy and " "priority. See B(2) for further information on B." msgstr "" "Wątki uprzywilejowane (B) ignorują limit B; " "podobnie jak w starszych jądrach, mogą dokonywać dowolnych zmian dotyczących " "algorytmu szeregowania zadań i priorytetów. Więcej informacji na temat " "B znajduje się w podręczniku B(2)." #. type: SS #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed #, no-wrap msgid "Limiting the CPU usage of real-time and deadline processes" msgstr "Ograniczanie użycia procesora przez procesy czasu rzeczywistego i z budżetem czasu" #. type: Plain text #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed msgid "" "A nonblocking infinite loop in a thread scheduled under the B, " "B, or B policy can potentially block all other " "threads from accessing the CPU forever. Before Linux 2.6.25, the only way " "of preventing a runaway real-time process from freezing the system was to " "run (at the console) a shell scheduled under a higher static priority than " "the tested application. This allows an emergency kill of tested real-time " "applications that do not block or terminate as expected." msgstr "" "Nieblokująca, nieskończona pętla w wątku zaszeregowanym według algorytmu " "B, B lub B potencjalnie może na zawsze " "zablokować dostęp do procesora wszystkim innym wątkom. Przed Linuksem " "2.6.25, jedynym sposobem zapobiegnięcia zamrożenia systemu przez zbiegły " "proces czasu rzeczywistego było uruchomienie (na konsoli) powłoki " "zaszeregowanej z wyższym priorytetem statycznym niż testowana aplikacja. " "Można było w ten sposób awaryjnie zabić testowaną aplikację czasu " "rzeczywistego, która nie zablokowała lub nie zakończyła się zgodnie z " "oczekiwaniami." #. type: Plain text #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed msgid "" "Since Linux 2.6.25, there are other techniques for dealing with runaway real-" "time and deadline processes. One of these is to use the B " "resource limit to set a ceiling on the CPU time that a real-time process may " "consume. See B(2) for details." msgstr "" "Od Linuksa 2.6.25, istnieją inne techniki radzenia sobie ze zbiegłymi " "procesami czasu rzeczywistego i z budżetem czasu. Jedną z nich jest użycie " "limitu zasobów B do nałożenia ograniczenia na czas procesora, " "jaki może skonsumować proces czasu rzeczywistego. Więcej szczegółów w " "podręczniku B(2)." #. type: Plain text #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed msgid "" "Since Linux 2.6.25, Linux also provides two I files that can be used " "to reserve a certain amount of CPU time to be used by non-real-time " "processes. Reserving CPU time in this fashion allows some CPU time to be " "allocated to (say) a root shell that can be used to kill a runaway process. " "Both of these files specify time values in microseconds:" msgstr "" "Od Linuksa 2.6.25, Linux zapewnia również dwa pliki I, które mogą " "posłużyć do zarezerwowania określonej ilości czasu procesora dla procesów " "innych niż czasu rzeczywistego. Zarezerwowanie czasu procesora w ten sposób, " "pozwala również na przydzielenie pewnej ilości czasu procesora dla " "(przykładowo) powłoki roota, z której można zabić zbiegły proces. Oba pliki " "określają wartości czasu w mikrosekundach:" #. type: TP #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed #, no-wrap msgid "I" msgstr "I" # Cudzysłów, aby uczytelnić odniesienie z następnego akapitu #. type: Plain text #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed msgid "" "This file specifies a scheduling period that is equivalent to 100% CPU " "bandwidth. The value in this file can range from 1 to B, giving an " "operating range of 1 microsecond to around 35 minutes. The default value in " "this file is 1,000,000 (1 second)." msgstr "" "Plik określa \\[Bq]okres szeregowania zadań\\[rq] równoważny 100% " "przepustowości procesora. Wartość w pliku może być z zakresu od 1 do " "B, czyli od 1 mikrosekundy do około 35 minut. Domyślna wartość w " "pliku wynosi 1\\ 000\\ 000 (1 sekunda)." #. type: TP #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed #, no-wrap msgid "I" msgstr "I" #. type: Plain text #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed msgid "" "The value in this file specifies how much of the \"period\" time can be used " "by all real-time and deadline scheduled processes on the system. The value " "in this file can range from -1 to B-1. Specifying -1 makes the run " "time the same as the period; that is, no CPU time is set aside for non-real-" "time processes (which was the behavior before Linux 2.6.25). The default " "value in this file is 950,000 (0.95 seconds), meaning that 5% of the CPU " "time is reserved for processes that don't run under a real-time or deadline " "scheduling policy." msgstr "" "Wartość w tym pliku określa, jak dużo tego \\[Bq]okresu szeregowania zadań\\" "[rq] w systemie może być przeznaczone na wszystkie procesy czasu " "rzeczywistego oraz procesy szeregowane z budżetem czasu. Wartość w pliku " "może być z zakresu od -1 do B-1. Podanie -1 uczyni ten czas takim " "samym jak ten okres; tj. nie odkłada się czasu procesora na procesy inne niż " "czasu rzeczywistego (takie zachowanie występowało przed Linuksem 2.6.25). " "Wartość domyślna w pliku to 950\\ 000 (0,95 sekundy), co oznacza że 5% czasu " "procesora jest zarezerwowane na procesy szeregowane wedle algorytmów innych " "niż czasu rzeczywistego i z budżetem czasu." #. type: SS #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed #, no-wrap msgid "Response time" msgstr "Czas odpowiedzi" #. as described in #. .BR request_irq (9). #. type: Plain text #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed msgid "" "A blocked high priority thread waiting for I/O has a certain response time " "before it is scheduled again. The device driver writer can greatly reduce " "this response time by using a \"slow interrupt\" interrupt handler." msgstr "" "Zablokowany wątek o wysokim priorytecie oczekujący na wejście/wyjście ma " "określony czas odpowiedzi, zanim zostanie ponownie zaszeregowany. Sterownik " "zapisujący urządzenia może znacznie ograniczyć ten czas odpowiedzi poprzez " "korzystanie z procedury obsługi przerwań zwanej \\[Bq]slow interrupt\\[rq]." #. type: SS #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed #, no-wrap msgid "Miscellaneous" msgstr "Różne" #. type: Plain text #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed msgid "" "Child processes inherit the scheduling policy and parameters across a " "B(2). The scheduling policy and parameters are preserved across " "B(2)." msgstr "" "Procesy potomne dziedziczą algorytm i parametry szeregowania poprzez " "B(2). Algorytm i parametry szeregowania są zachowywane poprzez " "B(2)." #. type: Plain text #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed msgid "" "Memory locking is usually needed for real-time processes to avoid paging " "delays; this can be done with B(2) or B(2)." msgstr "" "W przypadku procesów czasu rzeczywistego, aby uniknąć opóźnień związanych ze " "stronicowaniem, potrzebne jest zwykle blokowanie pamięci; można go dokonywać " "za pomocą B(2) lub B(2)." #. type: SS #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed #, no-wrap msgid "The autogroup feature" msgstr "Funkcja autogrupowania" #. commit 5091faa449ee0b7d73bc296a93bca9540fc51d0a #. type: Plain text #: archlinux debian-unstable mageia-cauldron opensuse-leap-16-1 #: opensuse-tumbleweed msgid "" "Since Linux 2.6.38, the kernel provides a feature known as autogrouping to " "improve interactive desktop performance in the face of multiprocess CPU-" "intensive workloads such as building the Linux kernel with large numbers of " "parallel build processes (i.e., the B(1) B<-j> flag)." msgstr "" "Od Linuksa 2.6.38, jądro zapewnia funkcję zwaną autogrupowaniem, która ma na " "celu poprawienie wydajności interaktywnych środowisk graficznych, podczas " "wykonywania wieloprocesowych, mocno obciążających procesor prac, takich jak " "budowanie jądra Linux z wieloma równoległymi procesami budowania (tj. z " "opcją B<-j> B(1))." #. type: Plain text #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed msgid "" "This feature operates in conjunction with the CFS scheduler and requires a " "kernel that is configured with B. On a running " "system, this feature is enabled or disabled via the file I; a value of 0 disables the feature, while a value " "of 1 enables it. The default value in this file is 1, unless the kernel was " "booted with the I parameter." msgstr "" "Funkcja działa razem z planistą CFS i wymaga, aby jądro było skonfigurowane " "z opcją B. W działającym systemie, funkcję można " "włączyć lub wyłączyć poprzez plik I; wartość 0 wyłącza tę funkcję, a wartość 1 ją " "włącza. Domyślną wartością w pliku jest 1, chyba że podczas rozruchu jądra " "ustawiono parametr I." #. type: Plain text #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed msgid "" "A new autogroup is created when a new session is created via B(2); " "this happens, for example, when a new terminal window is started. A new " "process created by B(2) inherits its parent's autogroup membership. " "Thus, all of the processes in a session are members of the same autogroup. " "An autogroup is automatically destroyed when the last process in the group " "terminates." msgstr "" "Nowa autogrupa jest tworzona przy tworzeniu nowej sesji za pomocą " "B(2); dzieje się tak np. przy uruchamianiu nowego okna terminala. " "Nowy proces tworzony przez B(2) dziedziczy członkostwo w autogrupie " "swojego rodzica. Wszystkie procesy w sesji są zatem członkami tej samej " "autogrupy. Autogrupa jest automatycznie niszczona, gdy zakończy się ostatni " "proces grupy." #. type: Plain text #: archlinux debian-unstable fedora-44 fedora-rawhide mageia-cauldron #: opensuse-leap-16-1 opensuse-tumbleweed msgid "" "When autogrouping is enabled, all of the members of an autogroup are placed " "in the same kernel scheduler \"task group\". When disabled, the group " "creation happens as above, and autogroup membership is still visible in I, but the autogroups are not used. The CFS scheduler employs an " "algorithm that equalizes the distribution of CPU cycles across task groups. " "The benefits of this for interactive desktop performance can be described " "via the following example." msgstr "" "Gdy autogrupowanie jest włączone, wszyscy członkowie autogrupy są " "umieszczani w tej samej \\[Bq]grupie zadań\\[rq] dyspozytora jądra. Gdy jest " "wyłączone, tworzenie grup odbywa się tak samo, członkostwo w autogrupie jest " "wciąż widoczne w I, lecz autogrupy nie są używane. Planista CFS używa " "algorytmu wyrównującego rozłożenie cykli procesora pomiędzy grupami zadań. " "Korzyści, jakie z tego wynikają dla wydajności interaktywnego środowiska " "graficznego może przybliżyć następujący przykład." #. Mike Galbraith, 25 Nov 2016: #. I'd say something more wishy-washy here, like cycles are #. distributed fairly across groups and leave it at that, as your #. detailed example is incorrect due to SMP fairness (which I don't #. like much because [very unlikely] worst case scenario #. renders a box sized group incapable of utilizing more that #. a single CPU total). For example, if a group of NR_CPUS #. size competes with a singleton, load balancing will try to give #. the singleton a full CPU of its very own. If groups intersect for #. whatever reason on say my quad lappy, distribution is 80/20 in #. favor of the singleton. #. type: Plain text #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed msgid "" "Suppose that there are two autogroups competing for the same CPU (i.e., " "presume either a single CPU system or the use of B(1) to confine " "all the processes to the same CPU on an SMP system). The first group " "contains ten CPU-bound processes from a kernel build started with I. The other contains a single CPU-bound process: a video player. The " "effect of autogrouping is that the two groups will each receive half of the " "CPU cycles. That is, the video player will receive 50% of the CPU cycles, " "rather than just 9% of the cycles, which would likely lead to degraded video " "playback. The situation on an SMP system is more complex, but the general " "effect is the same: the scheduler distributes CPU cycles across task groups " "such that an autogroup that contains a large number of CPU-bound processes " "does not end up hogging CPU cycles at the expense of the other jobs on the " "system." msgstr "" "Załóżmy, że są dwie autogrupy rywalizujące o ten sam procesor (tj. może być " "to system jednoprocesorowy albo wykorzystano B(1) do ograniczenia " "wszystkich procesów do tego samego procesora w wieloprocesorowym systemie " "SMP). Pierwsza grupa zawiera dziesięć procesów ograniczonych wydajnością " "procesora, pochodzących od polecenia budującego jądro: I. Druga " "zawiera jeden proces ograniczony wydajnością procesora: odtwarzacz wideo. " "Efekt autogrupowania jest taki, że obie grupy otrzymają po połowie cykli " "procesora. Odtwarzacz wideo otrzyma zatem 50% cykli procesora, zamiast 9%, " "które najprawdopodobniej odbiły by się negatywnie na ciągłości odtwarzania " "wideo. Sytuacja w wieloprocesorowym systemie SMP jest bardziej złożona, ale " "ogólny efekt jest taki sam: dyspozytor rozkłada cykle procesora pomiędzy " "poszczególne grupy zadaniowe w ten sposób, że autogrupy zawierające dużą " "liczbę procesów ograniczonych wydajnością procesora nie zmonopolizują cykli " "procesora kosztem innych zadań systemu." #. type: Plain text #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed msgid "" "A process's autogroup (task group) membership can be viewed via the file IpidI:" msgstr "" "Członkostwo procesu w autogrupie (grupie zadań) można sprawdzić w pliku IpidI:" #. type: Plain text #: archlinux debian-unstable mageia-cauldron opensuse-leap-16-1 #: opensuse-tumbleweed #, no-wrap msgid "" "$B< cat /proc/1/autogroup>\n" "/autogroup-1 nice 0\n" msgstr "" "$B< cat /proc/1/autogroup>\n" "/autogroup-1 nice 0\n" # #. FIXME . #. Because of a bug introduced in Linux 4.7 #. (commit 2159197d66770ec01f75c93fb11dc66df81fd45b made changes #. that exposed the fact that autogroup didn't call scale_load()), #. it happened that *all* values in this range caused a task group #. to be further disfavored by the scheduler, with \-20 resulting #. in the scheduler mildly disfavoring the task group and +19 greatly #. disfavoring it. #. A patch was posted on 23 Nov 2016 #. ("sched/autogroup: Fix 64bit kernel nice adjustment"; #. check later to see in which kernel version it lands. #. type: Plain text #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed msgid "" "This file can also be used to modify the CPU bandwidth allocated to an " "autogroup. This is done by writing a number in the \"nice\" range to the " "file to set the autogroup's nice value. The allowed range is from +19 (low " "priority) to -20 (high priority). (Writing values outside of this range " "causes B(2) to fail with the error B.)" msgstr "" "Za pomocą tego pliku można też zmodyfikować przydział procesora przypisany " "autogrupie. Robi się to zapisując liczbę z przedziału wartości \\[Bq]nice\\" "[rq] do pliku, co powoduje przypisanie wartości nice autogrupie. Dozwolony " "zakres to od +19 (niski priorytet) do -20 (wysoki priorytet). Zapisanie " "wartości spoza tego przedziału spowoduje zgłoszenie przez B(2) błędu " "B." #. type: Plain text #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed msgid "" "The autogroup nice setting has the same meaning as the process nice value, " "but applies to distribution of CPU cycles to the autogroup as a whole, based " "on the relative nice values of other autogroups. For a process inside an " "autogroup, the CPU cycles that it receives will be a product of the " "autogroup's nice value (compared to other autogroups) and the process's " "nice value (compared to other processes in the same autogroup." msgstr "" "Ustawienie nice autogrupy ma takie samo znaczenie jak wartość nice procesu, " "jednak odnosi się do rozłożenia cykli procesora do autogrupy jako całości, w " "oparciu o relatywne wartości nice innych autogrup. W przypadku procesu " "wewnątrz autogrupy, cykle procesora jakie on otrzyma będą skutkiem łącznego " "oddziaływania wartości nice autogrupy (w porównaniu z innymi autogrupami) " "oraz wartości nice procesu (w porównaniu z innymi procesami tej samej " "autogrupy)." #. type: Plain text #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed msgid "" "The use of the B(7) CPU controller to place processes in cgroups " "other than the root CPU cgroup overrides the effect of autogrouping." msgstr "" "Korzystanie z kontrolera procesora B(7) do umieszczania procesów w " "grupach kontrolnych (cgroup) innych niż główna grupa kontrolna procesora " "przesłania efekt działania autogrupowania." #. type: Plain text #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed msgid "" "The autogroup feature groups only processes scheduled under non-real-time " "policies (B, B, and B). It does not " "group processes scheduled under real-time and deadline policies. Those " "processes are scheduled according to the rules described earlier." msgstr "" "Funkcja autogrupowania grupuje jedynie procesy szeregowane według algorytmów " "innych niż czasu rzeczywistego (tj. dotyczy algorytmów B, " "B i B). Nie grupuje procesów szeregowanych według " "algorytmów czasu rzeczywistego oraz z budżetem czasu. Takie procesy są " "szeregowane zgodnie z zasadami opisanymi wcześniej." #. type: SS #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed #, no-wrap msgid "The nice value and group scheduling" msgstr "Wartość nice oraz szeregowanie grup" #. type: Plain text #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed msgid "" "When scheduling non-real-time processes (i.e., those scheduled under the " "B, B, and B policies), the CFS " "scheduler employs a technique known as \"group scheduling\", if the kernel " "was configured with the B option (which is typical)." msgstr "" "Przy szeregowaniu procesów innych niż czasu rzeczywistego (tj. szeregowanych " "według algorytmów B, B i B), " "dyspozytor CFS używa techniki znanej jako \\[Bq]szeregowanie grup\\[rq], " "jeśli tylko jądro skonfigurowano z opcją B (jest to " "opcja typowo włączona)." #. type: Plain text #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed msgid "" "Under group scheduling, threads are scheduled in \"task groups\". Task " "groups have a hierarchical relationship, rooted under the initial task group " "on the system, known as the \"root task group\". Task groups are formed in " "the following circumstances:" msgstr "" "W szeregowaniu grup, wątki są szeregowane w \\[Bq]grupach zadań\\[rq]. Grupy " "zadań mają relację hierarchiczną, zakorzenioną w pierwotnej grupie " "zadaniowej systemu, zwanej \\[Bq]główną grupą zadań\\[rq]. Grupy zadań są " "tworzone w następujących okolicznościach:" #. type: Plain text #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed msgid "" "All of the threads in a CPU cgroup form a task group. The parent of this " "task group is the task group of the corresponding parent cgroup." msgstr "" "Wszystkie wątki grupy kontrolnej (cgroup) procesora tworzą grupę zadań. " "Rodzicem tej grupy zadań jest grupa zadań odpowiadającej rodzicielskiej " "grupy kontrolnej." #. type: Plain text #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed msgid "" "If autogrouping is enabled, then all of the threads that are (implicitly) " "placed in an autogroup (i.e., the same session, as created by B(2)) " "form a task group. Each new autogroup is thus a separate task group. The " "root task group is the parent of all such autogroups." msgstr "" "Jeśli autogrupowanie jest włączone, wszystkie wątki, które są (w sposób " "dorozumiany) umieszczane w autogrupie (tj. z tej samej sesji, tworzonej " "przez B(2)) tworzą grupę zadań. Każda nowa autogrupa jest zatem " "oddzielną grupą zadań. Główna grupa zadań jest rodzicem wszystkich takich " "autogrup." #. type: Plain text #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed msgid "" "If autogrouping is enabled, then the root task group consists of all " "processes in the root CPU cgroup that were not otherwise implicitly placed " "into a new autogroup." msgstr "" "Jeśli autogrupowanie jest włączone, główna grupa zadań składa się ze " "wszystkich procesów w głównej grupie kontrolnej procesora, które nie zostały " "w sposób dorozumiany umieszczone w nowej autogrupie." #. type: Plain text #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed msgid "" "If autogrouping is disabled, then the root task group consists of all " "processes in the root CPU cgroup." msgstr "" "Jeśli autogrupowanie jest wyłączone, główna grupa zadań składa się ze " "wszystkich procesów w głównej grupie kontrolnej procesora." #. type: Plain text #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed msgid "" "If group scheduling was disabled (i.e., the kernel was configured without " "B), then all of the processes on the system are " "notionally placed in a single task group." msgstr "" "Jeśli wyłączono szeregowanie grup (tj. jądro skonfigurowano bez opcji " "B), wszystkie procesy w systemie są jak gdyby " "umieszczane w jednej grupie zadań." #. type: Plain text #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed msgid "" "Under group scheduling, a thread's nice value has an effect for scheduling " "decisions I. This " "has some surprising consequences in terms of the traditional semantics of " "the nice value on UNIX systems. In particular, if autogrouping is enabled " "(which is the default in various distributions), then employing " "B(2) or B(1) on a process has an effect only for " "scheduling relative to other processes executed in the same session " "(typically: the same terminal window)." msgstr "" "Przy korzystaniu z szeregowaniu grup, wartość nice wątku ma znaczenie przy " "decyzjach szeregowania I. Ma to pewne zaskakujące konsekwencje w kontekście tradycyjnego " "zachowania wartości nice w systemach uniksowych. W szczególności, jeśli " "autogrupowanie jest włączone (a tak domyślnie jest w wielu dystrybucjach), " "to użycie B(2) lub B(1) wobec procesu odnosi efekt na " "szeregowaniu tylko względem innych procesów wykonywanych w tej samej sesji " "(zwykle: tym samym oknie terminala)." #. More succinctly: the nice(1) command is in many cases a no-op since #. Linux 2.6.38. #. type: Plain text #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed msgid "" "Conversely, for two processes that are (for example) the sole CPU-bound " "processes in different sessions (e.g., different terminal windows, each of " "whose jobs are tied to different autogroups), I I in terms of the " "scheduler's decisions relative to the process in the other session. A " "possibly useful workaround here is to use a command such as the following to " "modify the autogroup nice value for I of the processes in a terminal " "session:" msgstr "" "Co za tym idzie, w przypadku dwóch procesów (przykładowo), które są jedynymi " "procesami ograniczonymi wydajnością procesora, występujących w dwóch sesjach " "(np. różnych oknach terminala, zatem każde z zadań jest przypisanych do " "innej autogrupy), I wobec decyzji dyspozytora odnoszącej się do procesu w drugiej " "sesji. Przydatnym obejściem tego nieintuicyjnego zachowania może być " "polecenie, takie jak poniższe, modyfikujące wartość nice autogrupy " "I procesów w sesji terminala:" #. type: Plain text #: archlinux debian-unstable mageia-cauldron opensuse-leap-16-1 #: opensuse-tumbleweed #, no-wrap msgid "$B< echo 10 E /proc/self/autogroup>\n" msgstr "$B< echo 10 E /proc/self/autogroup>\n" #. type: SS #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed #, no-wrap msgid "Real-time features in the mainline Linux kernel" msgstr "Funkcje czasu rzeczywistego w jądrze Linux z głównej serii" #. The archaeologist knows about v2.6.9-mm1-V0.1-realtime-preempt #. type: Plain text #: archlinux debian-unstable mageia-cauldron opensuse-leap-16-1 #: opensuse-tumbleweed msgid "" "Since Linux 2.6.18, Linux is gradually becoming equipped with real-time " "capabilities, most of which are derived from the former I " "patch set. These patches are named:" msgstr "" "Od Linuksa 2.6.18, Linux jest stopniowo wzbogacany o zdolności czasu " "rzeczywistego; większość pochodzi z uprzedniego zestawu łatek I. Łatki są nazywane następująco:" #. type: Plain text #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed #, no-wrap msgid "patch-I-rtI\n" msgstr "patch-I-rtI\n" #. type: Plain text #: archlinux debian-unstable mageia-cauldron opensuse-leap-16-1 #: opensuse-tumbleweed msgid "" "and can be downloaded from E<.UR http:\\://www.kernel.org\\:/pub\\:/linux\\:/" "kernel\\:/projects\\:/rt/> E<.UE> or cloned from a git tree E<.UR https:\\://" "git.kernel.org\\:/pub\\:/scm\\:/linux\\:/kernel\\:/git\\:/rt\\:/linux-stable-" "rt.git> E<.UE .> The individual releases are maintained as long as the " "matching LTS kernel is maintained." msgstr "" "i można je pobrać ze strony E<.UR http:\\://www.kernel.org\\:/pub\\:/" "linux\\:/kernel\\:/projects\\:/rt/> E<.UE> lub klonując drzewo git E<.UR " "https:\\://git.kernel.org\\:/pub\\:/scm\\:/linux\\:/kernel\\:/git\\:/rt\\:/" "linux-stable-rt.git> E<.UE .> Poszczególne wydania są utrzymywane tak długo, " "jak dane jądro LTS." #. type: Plain text #: archlinux debian-unstable mageia-cauldron opensuse-leap-16-1 #: opensuse-tumbleweed msgid "" "Since Linux 6.12 it possible to enable the real-time preemption without the " "need for any patches. The I continues to exist and contains " "support for not-yet-integrated architectures, drivers, and features that are " "in development." msgstr "" "Od Linuksa 6.12 można włączyć wywłaszczanie czasu rzeczywistego bez " "konieczności instalowania łatek. I wciąż będzie istniał, " "zapewniając obsługę jeszcze niezintegrowanych architektur, sterowników oraz " "funkcji w trakcie rozwoju." #. type: Plain text #: archlinux debian-unstable mageia-cauldron opensuse-leap-16-1 #: opensuse-tumbleweed msgid "" "Since Linux 6.13 real-time became an option and not a preemption model. " "With this change, the following preemption models are available: " "B, B, B, and " "B. The real-time capabilities can be enabled with the " "option B and the preemption model can be set to either " "B or B. The latter model is less eager " "to preempt B tasks in an attempt to reduce lock-holder " "preemption. It does not affect real-time tasks." msgstr "" "Od Linux 6.13 możliwości czasu rzeczywistego są zapewniane jako opcja, a nie " "model wywłaszczania. Po tej zmianie, dostępne są następujące modele " "wywłaszczania: B, B, " "B oraz B. Możliwości czasu " "rzeczywistego można włączyć opcją B, a model " "wywłaszczania można ustawić na B lub B. " "Ten drugi rzadziej wywłaszcza zadania B, próbując ograniczyć " "wywłaszczanie posiadaczy blokad. Nie ma to wpływu na zadania czasu " "rzeczywistego." #. type: Plain text #: archlinux debian-unstable mageia-cauldron opensuse-leap-16-1 #: opensuse-tumbleweed msgid "" "With B enabled, Linux is transformed into a regular real-" "time operating system. The B, B, and " "B scheduling policies are then used to run a thread with " "true real-time priority and a minimum worst-case scheduling latency." msgstr "" "Po włączeniu B, Linux staje się standardowym systemem " "operacyjnym czasu rzeczywistego. Algorytmy szeregowania B, " "B i B są wówczas stosowane do uruchamiania wątku z " "prawdziwym priorytetem czasu rzeczywistego oraz zapewnionym minimalnym " "opóźnieniem szeregowania najgorszego przypadku." #. type: SH #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed #, no-wrap msgid "NOTES" msgstr "UWAGI" #. type: Plain text #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed msgid "" "The B(7) CPU controller can be used to limit the CPU consumption " "of groups of processes." msgstr "" "Do ograniczania użycia procesora przez grupy procesów można stosować " "kontroler procesora B(7)." #. type: Plain text #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed msgid "" "Originally, Standard Linux was intended as a general-purpose operating " "system being able to handle background processes, interactive applications, " "and less demanding real-time applications (applications that need to usually " "meet timing deadlines). Although the Linux 2.6 allowed for kernel " "preemption and the newly introduced O(1) scheduler ensures that the time " "needed to schedule is fixed and deterministic irrespective of the number of " "active tasks, true real-time computing was not possible up to Linux 2.6.17." msgstr "" "Pierwotnie, standardowy Linux był pomyślany jako uniwersalny system " "operacyjny, zdolny do obsługi procesów tła, aplikacji interaktywnych oraz " "mniej wymagających aplikacji czasu rzeczywistego (aplikacji, które zwykle " "muszą mieścić się w ograniczeniach czasowych). Choć Linux 2.6 umożliwił " "wywłaszczanie przez jądro, a nowo wprowadzony dyspozytor O(1) zapewnia, że " "czas potrzebny na uszeregowanie jest stały i deterministyczny, niezależnie " "od liczby aktywnych zadań, prawdziwe zachowanie czasu rzeczywistego nie było " "dostępne do Linuksa 2.6.17." #. type: SH #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed #, no-wrap msgid "SEE ALSO" msgstr "ZOBACZ TAKŻE" #. type: Plain text #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed msgid "" "B(1), B(1), B(1), B(1), B(1), B(1), " "B(2), B(2), B(2), B(2), " "B(2), B(2), B(2), " "B(2), B(2), B(2), " "B(2), B(2), " "B(2), B(2), B(2), " "B(2), B(2), B(3), " "B(3), B(3), " "B(3), B(7), B(7)" msgstr "" "B(1), B(1), B(1), B(1), B(1), B(1), " "B(2), B(2), B(2), B(2), " "B(2), B(2), B(2), " "B(2), B(2), B(2), " "B(2), B(2), " "B(2), B(2), B(2), " "B(2), B(2), B(3), " "B(3), B(3), " "B(3), B(7), B(7)" #. type: Plain text #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed msgid "" "I by Bill O.\\& Gallmeister, " "O'Reilly & Associates, Inc., ISBN 1-56592-074-0." msgstr "" "I autorstwa Billa O.\\& " "Gallmeistera, O'Reilly & Associates, Inc., ISBN 1-56592-074-0." #. type: Plain text #: archlinux debian-unstable mageia-cauldron opensuse-leap-16-1 #: opensuse-tumbleweed msgid "" "E<.UR https:\\://docs.kernel.org/\\:scheduler> The Linux kernel " "documentation for the scheduler E<.UE .>" msgstr "" "E<.UR https:\\://docs.kernel.org/\\:scheduler> Dokumentacja dyspozytora w " "jądrze Linux E<.UE .>" #. type: Plain text #: archlinux debian-unstable mageia-cauldron opensuse-leap-16-1 #: opensuse-tumbleweed msgid "" "Worth looking at: E<.UR https:\\://wiki.linuxfoundation.org/\\:realtime/" "\\:start> E<.UE>" msgstr "" "Warte przeglądnięcia na stronie: E<.UR https:\\://wiki.linuxfoundation.org/" "\\:realtime/\\:start> E<.UE>" #. type: TH #: debian-trixie #, no-wrap msgid "2024-05-02" msgstr "2 maja 2024 r." #. type: TH #: debian-trixie #, no-wrap msgid "Linux man-pages 6.9.1" msgstr "Linux man-pages 6.9.1" #. type: Plain text #: debian-trixie fedora-44 fedora-rawhide msgid "" "Processes scheduled under one of the real-time policies (B, " "B) have a I value in the range 1 (low) to 99 " "(high). (As the numbers imply, real-time threads always have higher " "priority than normal threads.) Note well: POSIX.1 requires an " "implementation to support only a minimum 32 distinct priority levels for the " "real-time policies, and some systems supply just this minimum. Portable " "programs should use B(2) and " "B(2) to find the range of priorities supported for " "a particular policy." msgstr "" "Procesy korzystające z jednego z algorytmów szeregowania czasu rzeczywistego " "(B, B) mają wartość I z przedziału od " "1 (niski) do 99 (wysoki). Jak wskazują wartości, wątki czasu rzeczywistego " "mają zawsze wyższy priorytet od zwykłych wątków. Proszę zauważyć, że POSIX.1 " "wymaga obsługi przez implementację co najmniej 32 oddzielnych poziomów " "priorytetów w przypadku algorytmów szeregowania czasu rzeczywistego i " "niektóre systemy obsługują tylko to minimum. Przenośne programy powinny " "stosować B(2) i B(2), aby " "poznać przedział priorytetów obsługiwanych dla danego algorytmu." #. type: Plain text #: debian-trixie fedora-44 fedora-rawhide msgid "" "B can be used only with static priorities higher than 0, which " "means that when a B thread becomes runnable, it will always " "immediately preempt any currently running B, B, or " "B thread. B is a simple scheduling algorithm " "without time slicing. For threads scheduled under the B policy, " "the following rules apply:" msgstr "" "Algorytm B (z ang. first in-first out) można stosować tylko ze " "statycznymi priorytetami wyższymi niż 0, co oznacza, że gdy wątek " "B stanie się gotowy do uruchomienia, zawsze natychmiast " "wywłaszczy każdy działający wątek B, B lub " "B. B jest algorytmem prostego planowania bez " "podziału na wycinki czasowe. Do wątków szeregowanych według algorytmu " "B stosują się następujące reguły:" #. type: Plain text #: debian-trixie fedora-44 fedora-rawhide #, no-wrap msgid "" "arrival/wakeup absolute deadline\n" " | start time |\n" " | | |\n" " v v v\n" "-----x--------xooooooooooooooooo--------x--------x---\n" " |E- comp. time -E|\n" " |E------- relative deadline ------E|\n" " |E-------------- period -------------------E|\n" msgstr "" "nadejście/wybudzenie limit absolutny\n" " | moment uruchomienia |\n" " | | |\n" " v v v\n" "-----x--------xooooooooooooooooo--------x--------x---\n" " |E- czas obl. -E|\n" " |E-------- limit względny --------E|\n" " |E-------------- okres --------------------E|\n" #. commit 5091faa449ee0b7d73bc296a93bca9540fc51d0a #. type: Plain text #: debian-trixie fedora-44 fedora-rawhide msgid "" "Since Linux 2.6.38, the kernel provides a feature known as autogrouping to " "improve interactive desktop performance in the face of multiprocess, CPU-" "intensive workloads such as building the Linux kernel with large numbers of " "parallel build processes (i.e., the B(1) B<-j> flag)." msgstr "" "Od Linuksa 2.6.38, jądro zapewnia funkcję zwaną autogrupowaniem, która ma na " "celu poprawienie wydajności interaktywnych środowisk graficznych, podczas " "wykonywania wieloprocesowych, mocno obciążających procesor prac, takich jak " "budowanie jądra Linux z wieloma równoległymi procesami budowania (tj. z " "opcją B<-j> B(1))." #. type: Plain text #: debian-trixie msgid "" "When autogrouping is enabled, all of the members of an autogroup are placed " "in the same kernel scheduler \"task group\". The CFS scheduler employs an " "algorithm that equalizes the distribution of CPU cycles across task groups. " "The benefits of this for interactive desktop performance can be described " "via the following example." msgstr "" "Gdy autogrupowanie jest włączone, wszyscy członkowie autogrupy są " "umieszczani w tej samej \\[Bq]grupie zadań\\[rq] dyspozytora jądra. Planista " "CFS używa algorytmu wyrównującego rozłożenie cykli procesora pomiędzy " "grupami zadań. Korzyści, jakie z tego wynikają dla wydajności interaktywnego " "środowiska graficznego może przybliżyć następujący przykład." #. type: Plain text #: debian-trixie fedora-44 fedora-rawhide #, no-wrap msgid "" "$ B\n" "/autogroup-1 nice 0\n" msgstr "" "$ B\n" "/autogroup-1 nice 0\n" #. type: Plain text #: debian-trixie fedora-44 fedora-rawhide #, no-wrap msgid "$ B /proc/self/autogroup>\n" msgstr "$ B /proc/self/autogroup>\n" #. FIXME . Probably this text will need some minor tweaking #. ask Carsten Emde about this. #. type: Plain text #: debian-trixie fedora-44 fedora-rawhide msgid "" "Since Linux 2.6.18, Linux is gradually becoming equipped with real-time " "capabilities, most of which are derived from the former I " "patch set. Until the patches have been completely merged into the mainline " "kernel, they must be installed to achieve the best real-time performance. " "These patches are named:" msgstr "" "Od Linuksa 2.6.18, Linux jest stopniowo wzbogacany o zdolności czasu " "rzeczywistego; większość pochodzi z uprzedniego zestawu łatek I. Do momentu całkowitego wprowadzenia łatek do jądra z głównej " "serii, do uzyskania najlepszej wydajności czasu rzeczywistego, konieczna " "jest ich instalacja. Łatki są nazywane następująco:" #. type: Plain text #: debian-trixie fedora-44 fedora-rawhide msgid "" "and can be downloaded from E<.UR http://www.kernel.org\\:/pub\\:/linux\\:/" "kernel\\:/projects\\:/rt/> E<.UE .>" msgstr "" "i można je pobrać ze strony E<.UR http://www.kernel.org\\:/pub\\:/linux\\:/" "kernel\\:/projects\\:/rt/> E<.UE .>" #. type: Plain text #: debian-trixie fedora-44 fedora-rawhide msgid "" "Without the patches and prior to their full inclusion into the mainline " "kernel, the kernel configuration offers only the three preemption classes " "B, B, and " "B which respectively provide no, some, and " "considerable reduction of the worst-case scheduling latency." msgstr "" "Bez łatek i do momentu ich pełnego wprowadzenia do jądra z głównej serii, " "konfiguracja jądra oferuje jedynie trzy klasy wywłaszczania: " "B, B i " "B, które zapewniają, odpowiednio: brak, pewną i " "znaczną redukcję najgorszego przypadku opóźnienia szeregowania." #. type: Plain text #: debian-trixie fedora-44 fedora-rawhide msgid "" "With the patches applied or after their full inclusion into the mainline " "kernel, the additional configuration item B becomes " "available. If this is selected, Linux is transformed into a regular real-" "time operating system. The FIFO and RR scheduling policies are then used to " "run a thread with true real-time priority and a minimum worst-case " "scheduling latency." msgstr "" "Z zastosowanymi łatkami lub po ich pełnym wprowadzeniu do jądra z głównej " "serii, pojawia się dodatkowa pozycja konfiguracyjna: B. " "Po jej wybraniu, Linux staje się standardowym systemem operacyjnym czasu " "rzeczywistego. Algorytmy szeregowania FIFO i RR są wówczas stosowane do " "uruchamiania wątku z prawdziwym priorytetem czasu rzeczywistego oraz " "zapewnionym minimalnym opóźnieniem szeregowania najgorszego przypadku." #. type: Plain text #: debian-trixie fedora-44 fedora-rawhide msgid "" "The Linux kernel source files I<\\%Documentation/\\:scheduler/\\:sched-" "deadline\\:.txt>, I<\\%Documentation/\\:scheduler/\\:sched-rt-group\\:.txt>, " "I<\\%Documentation/\\:scheduler/\\:sched-design-CFS\\:.txt>, and I<\\" "%Documentation/\\:scheduler/\\:sched-nice-design\\:.txt>" msgstr "" "Pliki źródeł jądra Linux: I<\\%Documentation/\\:scheduler/\\:sched-" "deadline\\:.txt>, I<\\%Documentation/\\:scheduler/\\:sched-rt-group\\:.txt>, " "I<\\%Documentation/\\:scheduler/\\:sched-design-CFS\\:.txt> oraz I<\\" "%Documentation/\\:scheduler/\\:sched-nice-design\\:.txt>" #. type: TH #: fedora-44 fedora-rawhide #, no-wrap msgid "2025-02-02" msgstr "2 lutego 2025 r." #. type: TH #: fedora-44 fedora-rawhide #, no-wrap msgid "Linux man-pages 6.13" msgstr "Linux man-pages 6.13" #. type: TH #: mageia-cauldron #, no-wrap msgid "Linux man-pages 6.17" msgstr "Linux man-pages 6.17" #. type: TH #: opensuse-leap-16-1 opensuse-tumbleweed #, no-wrap msgid "Linux man-pages (unreleased)" msgstr "Linux man-pages (niewydane)"