Debian Codegraph @

po/ar/man7/sched.7.po

raw
1 # Arabic translation of manpages
2 # This file is distributed under the same license as the manpages-l10n package.
3 # Copyright © of this file:
4 # زايد السعيدي <[email protected]>, 2026.
5
6 msgid ""
7 msgstr ""
8 "Project-Id-Version: manpages-l10n\n"
9 "POT-Creation-Date: 2026-06-05 06:42+0200\n"
10 "PO-Revision-Date: 2026-06-06 10:35+0400\n"
11 "Last-Translator: Zayed Al-Saidi <[email protected]>\n"
12 "Language-Team: Arabic <[email protected]>\n"
13 "Language: ar\n"
14 "MIME-Version: 1.0\n"
15 "Content-Type: text/plain; charset=UTF-8\n"
16 "Content-Transfer-Encoding: 8bit\n"
17 ".MIME-Version: 1.0\n"
18 "Plural-Forms: nplurals=6; plural=n==0 ? 0 : n==1 ? 1 : n==2 ? 2 : n%100>=3 &&"
19 " n%100<=10 ? 3 : n%100>=11 && n%100<=99 ? 4 : 5;\n"
20 "X-Generator: Lokalize 23.08.5\n"
21
22 #. type: TH
23 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
24 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
25 #, no-wrap
26 msgid "sched"
27 msgstr "sched"
28
29 #. type: TH
30 #: archlinux debian-unstable mageia-cauldron opensuse-leap-16-1
31 #: opensuse-tumbleweed
32 #, no-wrap
33 msgid "2026-02-08"
34 msgstr "8 فبراير 2026"
35
36 #. type: TH
37 #: archlinux debian-unstable
38 #, no-wrap
39 msgid "Linux man-pages 6.18"
40 msgstr "صفحات دليل لينكس 6.18"
41
42 #. type: SH
43 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
44 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
45 #, no-wrap
46 msgid "NAME"
47 msgstr "الاسم"
48
49 #. type: Plain text
50 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
51 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
52 msgid "sched - overview of CPU scheduling"
53 msgstr "sched - نظرة عامة على جدولة وحدة المعالجة المركزية"
54
55 #. type: SH
56 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
57 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
58 #, no-wrap
59 msgid "DESCRIPTION"
60 msgstr "الوصف"
61
62 #. type: Plain text
63 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
64 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
65 msgid ""
66 "Since Linux 2.6.23, the default scheduler is CFS, the \"Completely Fair "
67 "Scheduler\". The CFS scheduler replaced the earlier \"O(1)\" scheduler."
68 msgstr ""
69 "منذ لينكس 2.6.23، المُجدول المبدئي هو CFS، \"المُجدول العادل تمامًا\". حل"
70 " مُجدول "
71 "CFS محل المُجدول السابق \"O(1)\"."
72
73 #. type: SS
74 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
75 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
76 #, no-wrap
77 msgid "API summary"
78 msgstr "ملخص واجهة برمجة التطبيقات"
79
80 #. type: Plain text
81 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
82 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
83 msgid ""
84 "Linux provides the following system calls for controlling the CPU scheduling "
85 "behavior, policy, and priority of processes (or, more precisely, threads)."
86 msgstr ""
87 "يوفر لينكس استدعاءات النظام التالية للتحكم في سلوك جدولة وحدة المعالجة "
88 "المركزية، وسياسة، وأولوية العمليات (أو، بشكل أدق، الخيوط)."
89
90 #. type: TP
91 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
92 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
93 #, no-wrap
94 msgid "B<nice>(2)"
95 msgstr "B<nice>(2)"
96
97 #. type: Plain text
98 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
99 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
100 msgid ""
101 "Set a new nice value for the calling thread, and return the new nice value."
102 msgstr "تعيين قيمة nice جديدة للخيط المستدعي، وإرجاع قيمة nice الجديدة."
103
104 #. type: TP
105 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
106 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
107 #, no-wrap
108 msgid "B<getpriority>(2)"
109 msgstr "B<getpriority>(2)"
110
111 #. type: Plain text
112 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
113 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
114 msgid ""
115 "Return the nice value of a thread, a process group, or the set of threads "
116 "owned by a specified user."
117 msgstr ""
118 "إرجاع قيمة nice لخيط، مجموعة عمليات، أو مجموعة الخيوط المملوكة لمستخدم محدد."
119
120 #. type: TP
121 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
122 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
123 #, no-wrap
124 msgid "B<setpriority>(2)"
125 msgstr "B<setpriority>(2)"
126
127 #. type: Plain text
128 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
129 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
130 msgid ""
131 "Set the nice value of a thread, a process group, or the set of threads owned "
132 "by a specified user."
133 msgstr ""
134 "تعيين قيمة nice لخيط، مجموعة عمليات، أو مجموعة الخيوط المملوكة لمستخدم محدد."
135
136 #. type: TP
137 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
138 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
139 #, no-wrap
140 msgid "B<sched_setscheduler>(2)"
141 msgstr "B<sched_setscheduler>(2)"
142
143 #. type: Plain text
144 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
145 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
146 msgid "Set the scheduling policy and parameters of a specified thread."
147 msgstr "تعيين سياسة الجدولة ومعاملات خيط محدد."
148
149 #. type: TP
150 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
151 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
152 #, no-wrap
153 msgid "B<sched_getscheduler>(2)"
154 msgstr "B<sched_getscheduler>(2)"
155
156 #. type: Plain text
157 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
158 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
159 msgid "Return the scheduling policy of a specified thread."
160 msgstr "إرجاع سياسة الجدولة لخيط محدد."
161
162 #. type: TP
163 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
164 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
165 #, no-wrap
166 msgid "B<sched_setparam>(2)"
167 msgstr "B<sched_setparam>(2)"
168
169 #. type: Plain text
170 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
171 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
172 msgid "Set the scheduling parameters of a specified thread."
173 msgstr "تعيين معاملات الجدولة لخيط محدد."
174
175 #. type: TP
176 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
177 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
178 #, no-wrap
179 msgid "B<sched_getparam>(2)"
180 msgstr "B<sched_getparam>(2)"
181
182 #. type: Plain text
183 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
184 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
185 msgid "Fetch the scheduling parameters of a specified thread."
186 msgstr "جلب معاملات الجدولة لخيط محدد."
187
188 #. type: TP
189 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
190 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
191 #, no-wrap
192 msgid "B<sched_get_priority_max>(2)"
193 msgstr "B<sched_get_priority_max>(2)"
194
195 #. type: Plain text
196 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
197 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
198 msgid "Return the maximum priority available in a specified scheduling policy."
199 msgstr "إرجاع الحد الأقصى للأولوية المتاحة في سياسة جدولة محددة."
200
201 #. type: TP
202 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
203 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
204 #, no-wrap
205 msgid "B<sched_get_priority_min>(2)"
206 msgstr "B<sched_get_priority_min>(2)"
207
208 #. type: Plain text
209 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
210 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
211 msgid "Return the minimum priority available in a specified scheduling policy."
212 msgstr "إرجاع الحد الأدنى للأولوية المتاحة في سياسة جدولة محددة."
213
214 #. type: TP
215 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
216 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
217 #, no-wrap
218 msgid "B<sched_rr_get_interval>(2)"
219 msgstr "B<sched_rr_get_interval>(2)"
220
221 #. type: Plain text
222 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
223 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
224 msgid ""
225 "Fetch the quantum used for threads that are scheduled under the \"round-"
226 "robin\" scheduling policy."
227 msgstr "جلب الكم المستخدم للخيوط المُجدولة تحت سياسة الجدولة \"الدائرية\"."
228
229 #. type: TP
230 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
231 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
232 #, no-wrap
233 msgid "B<sched_yield>(2)"
234 msgstr "B<sched_yield>(2)"
235
236 #. type: Plain text
237 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
238 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
239 msgid ""
240 "Cause the caller to relinquish the CPU, so that some other thread be "
241 "executed."
242 msgstr "جعل المستدعي يتخلى عن وحدة المعالجة المركزية، بحيث يُنفذ خيط آخر."
243
244 #. type: TP
245 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
246 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
247 #, no-wrap
248 msgid "B<sched_setaffinity>(2)"
249 msgstr "B<sched_setaffinity>(2)"
250
251 #. type: Plain text
252 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
253 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
254 msgid "(Linux-specific) Set the CPU affinity of a specified thread."
255 msgstr "(خاص بلينكس) تعيين تقارب وحدة المعالجة المركزية لخيط محدد."
256
257 #. type: TP
258 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
259 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
260 #, no-wrap
261 msgid "B<sched_getaffinity>(2)"
262 msgstr "B<sched_getaffinity>(2)"
263
264 #. type: Plain text
265 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
266 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
267 msgid "(Linux-specific) Get the CPU affinity of a specified thread."
268 msgstr "(خاص بلينكس) الحصول على تقارب وحدة المعالجة المركزية لخيط محدد."
269
270 #. type: TP
271 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
272 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
273 #, no-wrap
274 msgid "B<sched_setattr>(2)"
275 msgstr "B<sched_setattr>(2)"
276
277 #. type: Plain text
278 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
279 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
280 msgid ""
281 "Set the scheduling policy and parameters of a specified thread. This (Linux-"
282 "specific) system call provides a superset of the functionality of "
283 "B<sched_setscheduler>(2) and B<sched_setparam>(2)."
284 msgstr ""
285 "تعيين سياسة الجدولة ومعاملات خيط محدد. يوفر استدعاء النظام هذا (خاص بلينكس) "
286 "مجموعة شاملة من وظائف B<sched_setscheduler>(2) و B<sched_setparam>(2)."
287
288 #. type: TP
289 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
290 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
291 #, no-wrap
292 msgid "B<sched_getattr>(2)"
293 msgstr "B<sched_getattr>(2)"
294
295 #. type: Plain text
296 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
297 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
298 msgid ""
299 "Fetch the scheduling policy and parameters of a specified thread. This "
300 "(Linux-specific) system call provides a superset of the functionality of "
301 "B<sched_getscheduler>(2) and B<sched_getparam>(2)."
302 msgstr ""
303 "جلب سياسة الجدولة ومعاملات خيط محدد. يوفر استدعاء النظام هذا (خاص بلينكس) "
304 "مجموعة شاملة من وظائف B<sched_getscheduler>(2) و B<sched_getparam>(2)."
305
306 #. type: SS
307 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
308 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
309 #, no-wrap
310 msgid "Scheduling policies"
311 msgstr "سياسات الجدولة"
312
313 #. type: Plain text
314 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
315 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
316 msgid ""
317 "The scheduler is the kernel component that decides which runnable thread "
318 "will be executed by the CPU next. Each thread has an associated scheduling "
319 "policy and a I<static> scheduling priority, I<sched_priority>. The "
320 "scheduler makes its decisions based on knowledge of the scheduling policy "
321 "and static priority of all threads on the system."
322 msgstr ""
323 "المُجدول هو مكون النواة الذي يقرر أي خيط قابل للتشغيل سينفذ بواسطة وحدة "
324 "المعالجة المركزية بعد ذلك. لكل خيط سياسة جدولة مرتبطة وأولوية جدولة "
325 "I<ثابتة>، I<sched_priority>. يتخذ المُجدول قراراته بناءً على معرفة سياسة "
326 "الجدولة والأولوية الثابتة لجميع الخيوط على النظام."
327
328 #. type: Plain text
329 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
330 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
331 msgid ""
332 "For threads scheduled under one of the normal scheduling policies "
333 "(B<SCHED_OTHER>, B<SCHED_IDLE>, B<SCHED_BATCH>), I<sched_priority> is not "
334 "used in scheduling decisions (it must be specified as 0)."
335 msgstr ""
336 "بالنسبة للخيوط المُجدولة تحت إحدى سياسات الجدولة العادية (B<SCHED_OTHER>، "
337 "B<SCHED_IDLE>، B<SCHED_BATCH>)، لا يُستخدم I<sched_priority> في قرارات "
338 "الجدولة (يجب تحديده كـ 0)."
339
340 #. type: Plain text
341 #: archlinux debian-unstable mageia-cauldron opensuse-leap-16-1
342 #: opensuse-tumbleweed
343 msgid ""
344 "Processes scheduled under one of the real-time policies (B<SCHED_FIFO>, "
345 "B<SCHED_RR>) have a I<sched_priority> value in the range 1 (low) to 99 "
346 "(high). (As the numbers imply, real-time threads always have higher "
347 "priority than normal threads.) Note well: POSIX.1 requires an "
348 "implementation to support only a minimum 32 distinct priority levels for the "
349 "real-time policies, and some systems supply just this minimum. Portable "
350 "programs should use B<sched_get_priority_min>(2) and "
351 "B<sched_get_priority_max>(2) to find the range of priorities supported for "
352 "a particular policy."
353 msgstr ""
354 "العمليات المُجدولة تحت إحدى سياسات الوقت الحقيقي (B<SCHED_FIFO>، B<SCHED_RR>) "
355 "لها قيمة I<sched_priority> في النطاق من 1 (منخفض) إلى 99 (مرتفع). (كما تشير "
356 "الأرقام، خيوط الوقت الحقيقي لها دائمًا أولوية أعلى من الخيوط العادية.) لاحظ "
357 "جيدًا: يتطلب POSIX.1 من التطبيق دعم 32 مستوى أولوية متميزة فقط كحد أدنى "
358 "لسياسات الوقت الحقيقي، وتوفر بعض الأنظمة هذا الحد الأدنى فقط. يجب على "
359 "البرامج المحمولة استخدام B<sched_get_priority_min>(2) و "
360 "B<sched_get_priority_max>(2) لإيجاد نطاق الأولويات المدعومة لسياسة معينة."
361
362 #. type: Plain text
363 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
364 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
365 msgid ""
366 "Conceptually, the scheduler maintains a list of runnable threads for each "
367 "possible I<sched_priority> value. In order to determine which thread runs "
368 "next, the scheduler looks for the nonempty list with the highest static "
369 "priority and selects the thread at the head of this list."
370 msgstr ""
371 "مفاهيميًا، يحتفظ المُجدول بقائمة من الخيوط القابلة للتشغيل لكل قيمة "
372 "I<sched_priority> محتملة. لتحديد أي خيط يعمل بعد ذلك، يبحث المُجدول عن "
373 "القائمة غير الفارغة ذات الأولوية الثابتة الأعلى ويختار الخيط في رأس هذه "
374 "القائمة."
375
376 #. type: Plain text
377 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
378 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
379 msgid ""
380 "A thread's scheduling policy determines where it will be inserted into the "
381 "list of threads with equal static priority and how it will move inside this "
382 "list."
383 msgstr ""
384 "تحدد سياسة الجدولة للخيط أين سيُدرج في قائمة الخيوط ذات الأولوية الثابتة "
385 "المتساوية وكيف سيتحرك داخل هذه القائمة."
386
387 #. type: Plain text
388 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
389 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
390 msgid ""
391 "All scheduling is preemptive: if a thread with a higher static priority "
392 "becomes ready to run, the currently running thread will be preempted and "
393 "returned to the wait list for its static priority level. The scheduling "
394 "policy determines the ordering only within the list of runnable threads with "
395 "equal static priority."
396 msgstr ""
397 "جميع عمليات الجدولة استباقية: إذا أصبح خيط ذو أولوية ثابتة أعلى جاهزًا "
398 "للتشغيل، فسيسبق الخيط الجاري تشغيله حاليًا وإعادته إلى قائمة الانتظار لمستوى "
399 "أولويته الثابتة. تحدد سياسة الجدولة الترتيب فقط ضمن قائمة الخيوط القابلة "
400 "للتشغيل ذات الأولوية الثابتة المتساوية."
401
402 #. type: SS
403 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
404 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
405 #, no-wrap
406 msgid "SCHED_FIFO: First in-first out scheduling"
407 msgstr "SCHED_FIFO: جدولة الوارد أولاً صادر أولاً"
408
409 #. type: Plain text
410 #: archlinux debian-unstable mageia-cauldron opensuse-leap-16-1
411 #: opensuse-tumbleweed
412 msgid ""
413 "B<SCHED_FIFO> can be used only with static priorities higher than 0, which "
414 "means that when a B<SCHED_FIFO> thread becomes runnable, it will always "
415 "immediately preempt any currently running B<SCHED_OTHER>, B<SCHED_BATCH>, or "
416 "B<SCHED_IDLE> thread. B<SCHED_FIFO is a simple scheduling> algorithm "
417 "without time slicing. For threads scheduled under the B<SCHED_FIFO> policy, "
418 "the following rules apply:"
419 msgstr ""
420 "يمكن استخدام B<SCHED_FIFO> فقط مع أولويات ثابتة أعلى من 0، مما يعني أنه "
421 "عندما يصبح خيط B<SCHED_FIFO> قابلاً للتشغيل، فسيستبق فورًا أي خيط "
422 "B<SCHED_OTHER> أو B<SCHED_BATCH> أو B<SCHED_IDLE> قيد التشغيل حاليًا. "
423 "B<SCHED_FIFO> هي خوارزمية جدولة بسيطة بدون تقطيع زمني. بالنسبة للخيوط "
424 "المجدولة تحت سياسة B<SCHED_FIFO>، تنطبق القواعد التالية:"
425
426 #. type: IP
427 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
428 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
429 #, no-wrap
430 msgid "\\[bu]"
431 msgstr "\\[bu]"
432
433 #. type: Plain text
434 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
435 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
436 msgid ""
437 "A running B<SCHED_FIFO> thread that has been preempted by another thread of "
438 "higher priority will stay at the head of the list for its priority and will "
439 "resume execution as soon as all threads of higher priority are blocked again."
440 msgstr ""
441 "يبقى خيط B<SCHED_FIFO> الجاري المسبوق بواسطة خيط آخر ذي أولوية أعلى في رأس "
442 "القائمة لأوليته ويستأنف التنفيذ بمجرد حظر جميع الخيوط ذات الأولوية الأعلى "
443 "مرة أخرى."
444
445 #. type: Plain text
446 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
447 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
448 msgid ""
449 "When a blocked B<SCHED_FIFO> thread becomes runnable, it will be inserted at "
450 "the end of the list for its priority."
451 msgstr ""
452 "عندما يصبح خيط B<SCHED_FIFO> المحظور قابلاً للتشغيل، يُدرج في نهاية القائمة "
453 "لأوليته."
454
455 #. type: Plain text
456 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
457 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
458 msgid ""
459 "If a call to B<sched_setscheduler>(2), B<sched_setparam>(2), "
460 "B<sched_setattr>(2), B<pthread_setschedparam>(3), or "
461 "B<pthread_setschedprio>(3) changes the priority of the running or runnable "
462 "B<SCHED_FIFO> thread identified by I<pid> the effect on the thread's "
463 "position in the list depends on the direction of the change to the thread's "
464 "priority:"
465 msgstr ""
466 "إذا غيّر استدعاء لـ B<sched_setscheduler>(2) أو B<sched_setparam>(2) أو "
467 "B<sched_setattr>(2) أو B<pthread_setschedparam>(3) أو "
468 "B<pthread_setschedprio>(3) أولوية خيط B<SCHED_FIFO> الجاري أو القابل للتشغيل "
469 "المُعرّف بواسطة I<pid>، فإن التأثير على موضع الخيط في القائمة يعتمد على اتجاه "
470 "التغيير في أولوية الخيط:"
471
472 #. type: IP
473 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
474 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
475 #, no-wrap
476 msgid "(a)"
477 msgstr "(أ)"
478
479 #. type: Plain text
480 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
481 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
482 msgid ""
483 "If the thread's priority is raised, it is placed at the end of the list for "
484 "its new priority. As a consequence, it may preempt a currently running "
485 "thread with the same priority."
486 msgstr ""
487 "إذا رُفعت أولوية الخيط، يوضع في نهاية القائمة لأوليته الجديدة. ونتيجة لذلك، "
488 "قد يستبق خيطًا قيد التشغيل حاليًا بنفس الأولوية."
489
490 #. type: IP
491 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
492 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
493 #, no-wrap
494 msgid "(b)"
495 msgstr "(ب)"
496
497 #. type: Plain text
498 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
499 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
500 msgid ""
501 "If the thread's priority is unchanged, its position in the run list is "
502 "unchanged."
503 msgstr "إذا لم تتغير أولوية الخيط، يبقى موضعه في قائمة التشغيل دون تغيير."
504
505 #. type: IP
506 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
507 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
508 #, no-wrap
509 msgid "(c)"
510 msgstr "(ج)"
511
512 #. type: Plain text
513 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
514 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
515 msgid ""
516 "If the thread's priority is lowered, it is placed at the front of the list "
517 "for its new priority."
518 msgstr "إذا خُفضت أولوية الخيط، يوضع في مقدمة القائمة لأوليته الجديدة."
519
520 #. In Linux 2.2.x and Linux 2.4.x, the thread is placed at the front of the queue
521 #. In Linux 2.0.x, the Right Thing happened: the thread went to the back -- MTK
522 #. type: Plain text
523 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
524 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
525 msgid ""
526 "According to POSIX.1-2008, changes to a thread's priority (or policy) using "
527 "any mechanism other than B<pthread_setschedprio>(3) should result in the "
528 "thread being placed at the end of the list for its priority."
529 msgstr ""
530 "وفقًا لـ POSIX.1-2008، يجب أن تؤدي التغييرات في أولوية الخيط (أو سياسته) "
531 "باستخدام أي آلية غير B<pthread_setschedprio>(3) إلى وضع الخيط في نهاية "
532 "القائمة لأوليته."
533
534 #. type: Plain text
535 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
536 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
537 msgid "A thread calling B<sched_yield>(2) will be put at the end of the list."
538 msgstr "يوضع الخيط الذي يستدعي B<sched_yield>(2) في نهاية القائمة."
539
540 #. type: Plain text
541 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
542 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
543 msgid ""
544 "No other events will move a thread scheduled under the B<SCHED_FIFO> policy "
545 "in the wait list of runnable threads with equal static priority."
546 msgstr ""
547 "لن تنقل أي أحداث أخرى خيطًا مجدولاً تحت سياسة B<SCHED_FIFO> في قائمة انتظار "
548 "الخيوط القابلة للتشغيل ذات الأولوية الثابتة المتساوية."
549
550 #. type: Plain text
551 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
552 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
553 msgid ""
554 "A B<SCHED_FIFO> thread runs until either it is blocked by an I/O request, it "
555 "is preempted by a higher priority thread, or it calls B<sched_yield>(2)."
556 msgstr ""
557 "يعمل خيط B<SCHED_FIFO> حتى يُحظر بواسطة طلب إدخال/إخراج، أو يُسبق بواسطة خيط "
558 "ذي أولوية أعلى، أو يستدعي B<sched_yield>(2)."
559
560 #. type: SS
561 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
562 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
563 #, no-wrap
564 msgid "SCHED_RR: Round-robin scheduling"
565 msgstr "SCHED_RR: جدولة دائرية"
566
567 #. On Linux 2.4, the length of the RR interval is influenced
568 #. by the process nice value -- MTK
569 #. type: Plain text
570 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
571 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
572 msgid ""
573 "B<SCHED_RR> is a simple enhancement of B<SCHED_FIFO>. Everything described "
574 "above for B<SCHED_FIFO> also applies to B<SCHED_RR>, except that each thread "
575 "is allowed to run only for a maximum time quantum. If a B<SCHED_RR> thread "
576 "has been running for a time period equal to or longer than the time quantum, "
577 "it will be put at the end of the list for its priority. A B<SCHED_RR> "
578 "thread that has been preempted by a higher priority thread and subsequently "
579 "resumes execution as a running thread will complete the unexpired portion of "
580 "its round-robin time quantum. The length of the time quantum can be "
581 "retrieved using B<sched_rr_get_interval>(2)."
582 msgstr ""
583 "B<SCHED_RR> هي تحسين بسيط لـ B<SCHED_FIFO>. كل ما وُصف أعلاه لـ B<SCHED_FIFO> "
584 "ينطبق أيضًا على B<SCHED_RR>، باستثناء أن كل خيط يُسمح له بالتشغيل فقط لكم"
585 " زمني "
586 "أقصى. إذا كان خيط B<SCHED_RR> قيد التشغيل لفترة زمنية تساوي أو تزيد عن الكم "
587 "الزمني، فسيوضع في نهاية القائمة لأوليته. يكمل خيط B<SCHED_RR> المسبوق بواسطة "
588 "خيط ذي أولوية أعلى ثم استأنف التنفيذ كخيط جارٍ الجزء غير المنقضي من كمه "
589 "الزمني الدائري. يمكن استرداد طول الكم الزمني باستخدام "
590 "B<sched_rr_get_interval>(2)."
591
592 #. type: SS
593 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
594 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
595 #, no-wrap
596 msgid "SCHED_DEADLINE: Sporadic task model deadline scheduling"
597 msgstr "SCHED_DEADLINE: جدولة الموعد النهائي لنموذج المهمة المتفرقة"
598
599 #. type: Plain text
600 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
601 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
602 msgid ""
603 "Since Linux 3.14, Linux provides a deadline scheduling policy "
604 "(B<SCHED_DEADLINE>). This policy is currently implemented using GEDF "
605 "(Global Earliest Deadline First) in conjunction with CBS (Constant "
606 "Bandwidth Server). To set and fetch this policy and associated attributes, "
607 "one must use the Linux-specific B<sched_setattr>(2) and "
608 "B<sched_getattr>(2) system calls."
609 msgstr ""
610 "منذ لينكس 3.14، يوفر لينكس سياسة جدولة الموعد النهائي (B<SCHED_DEADLINE>). "
611 "تُنفذ هذه السياسة حاليًا باستخدام GEDF (الأولوية العالمية للموعد النهائي "
612 "الأقرب) بالتزامن مع CBS (خادم النطاق الترددي الثابت). لتعيين هذه السياسة "
613 "والسمات المرتبطة بها وجلبها، يجب استخدام استدعاءات النظام الخاصة بلينكس "
614 "B<sched_setattr>(2) و B<sched_getattr>(2)."
615
616 #. type: Plain text
617 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
618 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
619 msgid ""
620 "A sporadic task is one that has a sequence of jobs, where each job is "
621 "activated at most once per period. Each job also has a I<relative "
622 "deadline>, before which it should finish execution, and a I<computation "
623 "time>, which is the CPU time necessary for executing the job. The moment "
624 "when a task wakes up because a new job has to be executed is called the "
625 "I<arrival time> (also referred to as the request time or release time). The "
626 "I<start time> is the time at which a task starts its execution. The "
627 "I<absolute deadline> is thus obtained by adding the relative deadline to the "
628 "arrival time."
629 msgstr ""
630 "المهمة المتفرقة هي مهمة تحتوي على سلسلة من الوظائف، حيث تُنشط كل وظيفة مرة "
631 "واحدة على الأكثر لكل فترة. لكل وظيفة أيضًا I<موعد نهائي نسبي>، يجب أن تنهي "
632 "التنفيذ قبله، و I<وقت حساب>، وهو وقت وحدة المعالجة المركزية اللازم لتنفيذ "
633 "الوظيفة. تُسمى اللحظة التي تستيقظ فيها مهمة بسبب وجوب تنفيذ وظيفة جديدة I<وقت "
634 "الوصول> (ويُشار إليه أيضًا بوقت الطلب أو وقت التحرير). I<وقت البدء> هو الوقت "
635 "الذي تبدأ فيه المهمة تنفيذها. يُحصل على I<الموعد النهائي المطلق> بإضافة "
636 "الموعد النهائي النسبي إلى وقت الوصول."
637
638 #. type: Plain text
639 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
640 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
641 msgid "The following diagram clarifies these terms:"
642 msgstr "يوضح الرسم البياني التالي هذه المصطلحات:"
643
644 #. type: Plain text
645 #: archlinux debian-unstable mageia-cauldron opensuse-leap-16-1
646 #: opensuse-tumbleweed
647 #, no-wrap
648 msgid ""
649 "arrival/wakeup absolute deadline\n"
650 " | start time |\n"
651 " | | |\n"
652 " v v v\n"
653 "-----x--------xooooooooooooooooo--------x--------x---\n"
654 " |E<lt>- comp.\\& time -E<gt>|\n"
655 " |E<lt>------- relative deadline ------E<gt>|\n"
656 " |E<lt>-------------- period -------------------E<gt>|\n"
657 msgstr ""
658 "arrival/wakeup absolute deadline\n"
659 " | start time |\n"
660 " | | |\n"
661 " v v v\n"
662 "-----x--------xooooooooooooooooo--------x--------x---\n"
663 " |E<lt>- comp.\\& time -E<gt>|\n"
664 " |E<lt>------- relative deadline ------E<gt>|\n"
665 " |E<lt>-------------- period -------------------E<gt>|\n"
666
667 #. type: Plain text
668 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
669 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
670 msgid ""
671 "When setting a B<SCHED_DEADLINE> policy for a thread using "
672 "B<sched_setattr>(2), one can specify three parameters: I<Runtime>, "
673 "I<Deadline>, and I<Period>. These parameters do not necessarily correspond "
674 "to the aforementioned terms: usual practice is to set Runtime to something "
675 "bigger than the average computation time (or worst-case execution time for "
676 "hard real-time tasks), Deadline to the relative deadline, and Period to the "
677 "period of the task. Thus, for B<SCHED_DEADLINE> scheduling, we have:"
678 msgstr ""
679 "عند تعيين سياسة B<SCHED_DEADLINE> لخيط باستخدام B<sched_setattr>(2)، يمكن "
680 "تحديد ثلاث معاملات: I<Runtime> (وقت التشغيل)، و I<Deadline> (الموعد "
681 "النهائي)، و I<Period> (الفترة). لا تتوافق هذه المعاملات بالضرورة مع "
682 "المصطلحات المذكورة أعلاه: الممارسة المعتادة هي تعيين Runtime إلى شيء أكبر من "
683 "متوسط وقت الحساب (أو وقت التنفيذ في أسوأ الحالات للمهام في الوقت الفعلي "
684 "الصارم)، و Deadline إلى الموعد النهائي النسبي، و Period إلى فترة المهمة. "
685 "وبالتالي، بالنسبة لجدولة B<SCHED_DEADLINE>، لدينا:"
686
687 #. type: Plain text
688 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
689 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
690 #, no-wrap
691 msgid ""
692 "arrival/wakeup absolute deadline\n"
693 " | start time |\n"
694 " | | |\n"
695 " v v v\n"
696 "-----x--------xooooooooooooooooo--------x--------x---\n"
697 " |E<lt>-- Runtime -------E<gt>|\n"
698 " |E<lt>----------- Deadline -----------E<gt>|\n"
699 " |E<lt>-------------- Period -------------------E<gt>|\n"
700 msgstr ""
701 "arrival/wakeup absolute deadline\n"
702 " | start time |\n"
703 " | | |\n"
704 " v v v\n"
705 "-----x--------xooooooooooooooooo--------x--------x---\n"
706 " |E<lt>-- Runtime -------E<gt>|\n"
707 " |E<lt>----------- Deadline -----------E<gt>|\n"
708 " |E<lt>-------------- Period -------------------E<gt>|\n"
709
710 #. FIXME It looks as though specifying sched_period as 0 means
711 #. "make sched_period the same as sched_deadline".
712 #. This needs to be documented.
713 #. type: Plain text
714 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
715 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
716 msgid ""
717 "The three deadline-scheduling parameters correspond to the I<sched_runtime>, "
718 "I<sched_deadline>, and I<sched_period> fields of the I<sched_attr> "
719 "structure; see B<sched_setattr>(2). These fields express values in "
720 "nanoseconds. If I<sched_period> is specified as 0, then it is made the same "
721 "as I<sched_deadline>."
722 msgstr ""
723 "تتوافق معاملات جدولة الموعد النهائي الثلاثة مع حقول I<sched_runtime> و "
724 "I<sched_deadline> و I<sched_period> في بنية I<sched_attr>؛ انظر "
725 "B<sched_setattr>(2). تعبر هذه الحقول عن القيم بالنانو ثانية. إذا حُدد "
726 "I<sched_period> كـ 0، فسيُجعل مساويًا لـ I<sched_deadline>."
727
728 #. type: Plain text
729 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
730 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
731 msgid "The kernel requires that:"
732 msgstr "تتطلب النواة أن:"
733
734 #. type: Plain text
735 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
736 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
737 #, no-wrap
738 msgid "sched_runtime E<lt>= sched_deadline E<lt>= sched_period\n"
739 msgstr "sched_runtime E<lt>= sched_deadline E<lt>= sched_period\n"
740
741 #. See __checkparam_dl in kernel/sched/core.c
742 #. type: Plain text
743 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
744 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
745 msgid ""
746 "In addition, under the current implementation, all of the parameter values "
747 "must be at least 1024 (i.e., just over one microsecond, which is the "
748 "resolution of the implementation), and less than 2\\[ha]63. If any of these "
749 "checks fails, B<sched_setattr>(2) fails with the error B<EINVAL>."
750 msgstr ""
751 "بالإضافة إلى ذلك، في ظل التطبيق الحالي، يجب أن تكون جميع قيم المعاملات على "
752 "الأقل 1024 (أي ما يزيد قليلاً عن ميكروثانية واحدة، وهي دقة التطبيق)، وأقل من "
753 "2\\[ha]63. إذا فشل أي من هذه الفحوصات، يفشل B<sched_setattr>(2) مع الخطأ "
754 "B<EINVAL>."
755
756 #. type: Plain text
757 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
758 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
759 msgid ""
760 "The CBS guarantees non-interference between tasks, by throttling threads "
761 "that attempt to over-run their specified Runtime."
762 msgstr ""
763 "يضمن CBS عدم التداخل بين المهام، عن طريق خنق الخيوط التي تحاول تجاوز وقت "
764 "التشغيل المحدد لها."
765
766 #. type: Plain text
767 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
768 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
769 msgid ""
770 "To ensure deadline scheduling guarantees, the kernel must prevent situations "
771 "where the set of B<SCHED_DEADLINE> threads is not feasible (schedulable) "
772 "within the given constraints. The kernel thus performs an admittance test "
773 "when setting or changing B<SCHED_DEADLINE> policy and attributes. This "
774 "admission test calculates whether the change is feasible; if it is not, "
775 "B<sched_setattr>(2) fails with the error B<EBUSY>."
776 msgstr ""
777 "لضمان ضمانات جدولة المواعيد النهائية، يجب على النواة منع المواقف التي تكون "
778 "فيها مجموعة خيوط B<SCHED_DEADLINE> غير قابلة للتطبيق (قابلة للجدولة) ضمن "
779 "القيود المعطاة. وبالتالي، تقوم النواة بإجراء اختبار قبول عند تعيين أو تغيير "
780 "سياسة وسمات B<SCHED_DEADLINE>. يحسب اختبار القبول هذا ما إذا كان التغيير "
781 "قابلاً للتطبيق؛ إذا لم يكن كذلك، يفشل B<sched_setattr>(2) مع الخطأ B<EBUSY>."
782
783 #. type: Plain text
784 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
785 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
786 msgid ""
787 "For example, it is required (but not necessarily sufficient) for the total "
788 "utilization to be less than or equal to the total number of CPUs available, "
789 "where, since each thread can maximally run for Runtime per Period, that "
790 "thread's utilization is its Runtime divided by its Period."
791 msgstr ""
792 "على سبيل المثال، مطلوب (ولكن ليس بالضرورة كافياً) أن يكون إجمالي الاستخدام "
793 "أقل من أو يساوي العدد الإجمالي لوحدات المعالجة المركزية المتاحة، حيث، نظراً "
794 "لأن كل خيط يمكنه التشغيل بأقصى حد لمدة Runtime لكل Period، فإن استخدام ذلك "
795 "الخيط هو Runtime مقسوماً على Period الخاص به."
796
797 #. type: Plain text
798 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
799 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
800 msgid ""
801 "In order to fulfill the guarantees that are made when a thread is admitted "
802 "to the B<SCHED_DEADLINE> policy, B<SCHED_DEADLINE> threads are the highest "
803 "priority (user controllable) threads in the system; if any B<SCHED_DEADLINE> "
804 "thread is runnable, it will preempt any thread scheduled under one of the "
805 "other policies."
806 msgstr ""
807 "من أجل الوفاء بالضمانات التي تُمنح عند قبول خيط في سياسة B<SCHED_DEADLINE>، "
808 "تكون خيوط B<SCHED_DEADLINE> هي الخيوط ذات الأولوية الأعلى (القابلة للتحكم من "
809 "قبل المستخدم) في النظام؛ إذا كان أي خيط B<SCHED_DEADLINE> قابلاً للتشغيل، "
810 "فإنه يسبق أي خيط مجدول تحت إحدى السياسات الأخرى."
811
812 #. type: Plain text
813 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
814 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
815 msgid ""
816 "A call to B<fork>(2) by a thread scheduled under the B<SCHED_DEADLINE> "
817 "policy fails with the error B<EAGAIN>, unless the thread has its reset-on-"
818 "fork flag set (see below)."
819 msgstr ""
820 "يفشل استدعاء B<fork>(2) بواسطة خيط مجدول تحت سياسة B<SCHED_DEADLINE> مع "
821 "الخطأ B<EAGAIN>، ما لم يكن للخيط علامة إعادة التعيين عند fork مضبوطة (انظر "
822 "أدناه)."
823
824 #
825 #. FIXME Calling sched_getparam() on a SCHED_DEADLINE thread
826 #. fails with EINVAL, but sched_getscheduler() succeeds.
827 #. Is that intended? (Why?)
828 #. type: Plain text
829 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
830 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
831 msgid ""
832 "A B<SCHED_DEADLINE> thread that calls B<sched_yield>(2) will yield the "
833 "current job and wait for a new period to begin."
834 msgstr ""
835 "خيط B<SCHED_DEADLINE> الذي يستدعي B<sched_yield>(2) يتخلى عن المهمة الحالية "
836 "وينتظر بدء فترة جديدة."
837
838 #. type: SS
839 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
840 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
841 #, no-wrap
842 msgid "SCHED_OTHER: Default Linux time-sharing scheduling"
843 msgstr "SCHED_OTHER: جدولة مشاركة الوقت الافتراضية في لينكس"
844
845 #. type: Plain text
846 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
847 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
848 msgid ""
849 "B<SCHED_OTHER> can be used at only static priority 0 (i.e., threads under "
850 "real-time policies always have priority over B<SCHED_OTHER> processes). "
851 "B<SCHED_OTHER> is the standard Linux time-sharing scheduler that is intended "
852 "for all threads that do not require the special real-time mechanisms."
853 msgstr ""
854 "يمكن استخدام B<SCHED_OTHER> فقط بأولوية ثابتة 0 (أي أن الخيوط تحت سياسات "
855 "الوقت الحقيقي لها دائماً أولوية على عمليات B<SCHED_OTHER>). B<SCHED_OTHER> هو "
856 "المجدول القياسي لمشاركة الوقت في لينكس والمخصص لجميع الخيوط التي لا تتطلب "
857 "آليات الوقت الحقيقي الخاصة."
858
859 #. type: Plain text
860 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
861 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
862 msgid ""
863 "The thread to run is chosen from the static priority 0 list based on a "
864 "I<dynamic> priority that is determined only inside this list. The dynamic "
865 "priority is based on the nice value (see below) and is increased for each "
866 "time quantum the thread is ready to run, but denied to run by the "
867 "scheduler. This ensures fair progress among all B<SCHED_OTHER> threads."
868 msgstr ""
869 "اُختير الخيط للتشغيل من قائمة الأولوية الثابتة 0 بناءً على أولوية I<ديناميكية"
870 "> "
871 "تُحدد فقط داخل هذه القائمة. تعتمد الأولوية الديناميكية على قيمة nice (انظر "
872 "أدناه) وتُزاد لكل كمية زمنية يكون الخيط جاهزاً للتشغيل فيها، ولكن يُمنع من "
873 "التشغيل بواسطة المجدول. يضمن هذا تقدماً عادلاً بين جميع خيوط B<SCHED_OTHER>."
874
875 #. type: Plain text
876 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
877 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
878 msgid ""
879 "In the Linux kernel source code, the B<SCHED_OTHER> policy is actually named "
880 "B<SCHED_NORMAL>."
881 msgstr ""
882 "في شفرة مصدر نواة لينكس، تُسمى سياسة B<SCHED_OTHER> فعلياً B<SCHED_NORMAL>."
883
884 #. type: SS
885 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
886 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
887 #, no-wrap
888 msgid "The nice value"
889 msgstr "قيمة nice"
890
891 #. type: Plain text
892 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
893 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
894 msgid ""
895 "The nice value is an attribute that can be used to influence the CPU "
896 "scheduler to favor or disfavor a process in scheduling decisions. It "
897 "affects the scheduling of B<SCHED_OTHER> and B<SCHED_BATCH> (see below) "
898 "processes. The nice value can be modified using B<nice>(2), "
899 "B<setpriority>(2), or B<sched_setattr>(2)."
900 msgstr ""
901 "قيمة nice هي سمة يمكن استخدامها للتأثير على مجدول وحدة المعالجة المركزية "
902 "لتفضيل أو عدم تفضيل عملية في قرارات الجدولة. تؤثر على جدولة عمليات "
903 "B<SCHED_OTHER> و B<SCHED_BATCH> (انظر أدناه). يمكن تعديل قيمة nice باستخدام "
904 "B<nice>(2) أو B<setpriority>(2) أو B<sched_setattr>(2)."
905
906 #. type: Plain text
907 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
908 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
909 msgid ""
910 "According to POSIX.1, the nice value is a per-process attribute; that is, "
911 "the threads in a process should share a nice value. However, on Linux, the "
912 "nice value is a per-thread attribute: different threads in the same process "
913 "may have different nice values."
914 msgstr ""
915 "وفقاً لـ POSIX.1، قيمة nice هي سمة لكل عملية؛ أي أن الخيوط في عملية يجب أن "
916 "تشارك قيمة nice. ومع ذلك، في لينكس، قيمة nice هي سمة لكل خيط: قد يكون للخيوط "
917 "المختلفة في نفس العملية قيم nice مختلفة."
918
919 #. Linux before 1.3.36 had \-infinity..15.
920 #. Since Linux 1.3.43, Linux has the range \-20..19.
921 #. type: Plain text
922 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
923 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
924 msgid ""
925 "The range of the nice value varies across UNIX systems. On modern Linux, "
926 "the range is -20 (high priority) to +19 (low priority). On some other "
927 "systems, the range is -20..20. Very early Linux kernels (before Linux 2.0) "
928 "had the range -infinity..15."
929 msgstr ""
930 "يختلف نطاق قيمة nice عبر أنظمة UNIX. في لينكس الحديث، النطاق هو -20 (أولوية "
931 "عالية) إلى +19 (أولوية منخفضة). في بعض الأنظمة الأخرى، النطاق هو -20..20. "
932 "كانت نوى لينكس المبكرة جداً (قبل لينكس 2.0) تحتوي على النطاق -infinity..15."
933
934 #. type: Plain text
935 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
936 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
937 msgid ""
938 "The degree to which the nice value affects the relative scheduling of "
939 "B<SCHED_OTHER> processes likewise varies across UNIX systems and across "
940 "Linux kernel versions."
941 msgstr ""
942 "تختلف درجة تأثير قيمة nice على الجدولة النسبية لعمليات B<SCHED_OTHER> أيضًا "
943 "عبر أنظمة UNIX وعبر إصدارات نواة لينكس."
944
945 #. type: Plain text
946 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
947 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
948 msgid ""
949 "With the advent of the CFS scheduler in Linux 2.6.23, Linux adopted an "
950 "algorithm that causes relative differences in nice values to have a much "
951 "stronger effect. In the current implementation, each unit of difference in "
952 "the nice values of two processes results in a factor of 1.25 in the degree "
953 "to which the scheduler favors the higher priority process. This causes very "
954 "low nice values (+19) to truly provide little CPU to a process whenever "
955 "there is any other higher priority load on the system, and makes high nice "
956 "values (-20) deliver most of the CPU to applications that require it (e.g., "
957 "some audio applications)."
958 msgstr ""
959 "مع ظهور مجدول CFS في لينكس 2.6.23، اعتمد لينكس خوارزمية تجعل الاختلافات "
960 "النسبية في قيم nice ذات تأثير أقوى بكثير. في التطبيق الحالي، تؤدي كل وحدة "
961 "اختلاف في قيم nice لعمليتين إلى عامل 1.25 في درجة تفضيل المجدول للعملية ذات "
962 "الأولوية الأعلى. يتسبب هذا في أن قيم nice المنخفضة جداً (+19) توفر بالفعل "
963 "القليل من وحدة المعالجة المركزية لعملية كلما كان هناك أي حمل آخر ذو أولوية "
964 "أعلى على النظام، ويجعل قيم nice العالية (-20) توفر معظم وحدة المعالجة "
965 "المركزية للتطبيقات التي تحتاجها (مثل بعض تطبيقات الصوت)."
966
967 #. type: Plain text
968 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
969 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
970 msgid ""
971 "On Linux, the B<RLIMIT_NICE> resource limit can be used to define a limit to "
972 "which an unprivileged process's nice value can be raised; see "
973 "B<setrlimit>(2) for details."
974 msgstr ""
975 "في لينكس، يمكن استخدام حد المورد B<RLIMIT_NICE> لتحديد حد يمكن رفع قيمة nice "
976 "لعملية غير مميزة إليه؛ انظر B<setrlimit>(2) للتفاصيل."
977
978 #. type: Plain text
979 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
980 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
981 msgid ""
982 "For further details on the nice value, see the subsections on the autogroup "
983 "feature and group scheduling, below."
984 msgstr ""
985 "لمزيد من التفاصيل حول قيمة nice، انظر الأقسام الفرعية حول ميزة autogroup "
986 "وجدولة المجموعة، أدناه."
987
988 #. type: SS
989 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
990 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
991 #, no-wrap
992 msgid "SCHED_BATCH: Scheduling batch processes"
993 msgstr "SCHED_BATCH: جدولة عمليات الدفعات"
994
995 #. type: Plain text
996 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
997 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
998 msgid ""
999 "(Since Linux 2.6.16.) B<SCHED_BATCH> can be used only at static priority "
1000 "0. This policy is similar to B<SCHED_OTHER> in that it schedules the thread "
1001 "according to its dynamic priority (based on the nice value). The difference "
1002 "is that this policy will cause the scheduler to always assume that the "
1003 "thread is CPU-intensive. Consequently, the scheduler will apply a small "
1004 "scheduling penalty with respect to wakeup behavior, so that this thread is "
1005 "mildly disfavored in scheduling decisions."
1006 msgstr ""
1007 "(منذ لينكس 2.6.16.) يمكن استخدام B<SCHED_BATCH> فقط بأولوية ثابتة 0. تشبه "
1008 "هذه السياسة B<SCHED_OTHER> من حيث أنها تجدول الخيط وفقاً لأولوياته "
1009 "الديناميكية (المبنية على قيمة nice). الفرق هو أن هذه السياسة تجعل المجدول "
1010 "يفترض دائماً أن الخيط مكثف لوحدة المعالجة المركزية. وبالتالي، يطبق المجدول "
1011 "عقوبة جدولة صغيرة فيما يتعلق بسلوك الاستيقاظ، بحيث يكون هذا الخيط غير مفضل "
1012 "بشكل طفيف في قرارات الجدولة."
1013
1014 #. The following paragraph is drawn largely from the text that
1015 #. accompanied Ingo Molnar's patch for the implementation of
1016 #. SCHED_BATCH.
1017 #. commit b0a9499c3dd50d333e2aedb7e894873c58da3785
1018 #. type: Plain text
1019 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
1020 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
1021 msgid ""
1022 "This policy is useful for workloads that are noninteractive, but do not want "
1023 "to lower their nice value, and for workloads that want a deterministic "
1024 "scheduling policy without interactivity causing extra preemptions (between "
1025 "the workload's tasks)."
1026 msgstr ""
1027 "هذه السياسة مفيدة لأحمال العمل غير التفاعلية، ولكنها لا تريد خفض قيمة nice "
1028 "الخاصة بها، ولأحمال العمل التي تريد سياسة جدولة حتمية دون أن تسبب التفاعلية "
1029 "استباقات إضافية (بين مهام حمل العمل)."
1030
1031 #. type: SS
1032 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
1033 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
1034 #, no-wrap
1035 msgid "SCHED_IDLE: Scheduling very low priority jobs"
1036 msgstr "SCHED_IDLE: جدولة وظائف ذات أولوية منخفضة جداً"
1037
1038 #. type: Plain text
1039 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
1040 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
1041 msgid ""
1042 "(Since Linux 2.6.23.) B<SCHED_IDLE> can be used only at static priority 0; "
1043 "the process nice value has no influence for this policy."
1044 msgstr ""
1045 "(منذ لينكس 2.6.23.) يمكن استخدام B<SCHED_IDLE> فقط بأولوية ثابتة 0؛ قيمة "
1046 "nice للعملية ليس لها تأثير على هذه السياسة."
1047
1048 #. type: Plain text
1049 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
1050 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
1051 msgid ""
1052 "This policy is intended for running jobs at extremely low priority (lower "
1053 "even than a +19 nice value with the B<SCHED_OTHER> or B<SCHED_BATCH> "
1054 "policies)."
1055 msgstr ""
1056 "هذه السياسة مخصصة لتشغيل الوظائف بأولوية منخفضة للغاية (أقل حتى من قيمة nice "
1057 "+19 مع سياسات B<SCHED_OTHER> أو B<SCHED_BATCH>)."
1058
1059 #. type: SS
1060 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
1061 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
1062 #, no-wrap
1063 msgid "Resetting scheduling policy for child processes"
1064 msgstr "إعادة تعيين سياسة الجدولة للعمليات الفرعية"
1065
1066 #. type: Plain text
1067 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
1068 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
1069 msgid ""
1070 "Each thread has a reset-on-fork scheduling flag. When this flag is set, "
1071 "children created by B<fork>(2) do not inherit privileged scheduling "
1072 "policies. The reset-on-fork flag can be set by either:"
1073 msgstr ""
1074 "لكل خيط علم جدولة إعادة التعيين عند الاستنساخ. عند تعيين هذا العلم، لا ترث "
1075 "العمليات الفرعية المنشأة بواسطة B<fork>(2) سياسات الجدولة المميزة. يمكن "
1076 "تعيين علم إعادة التعيين عند الاستنساخ بإحدى الطريقتين:"
1077
1078 #. type: Plain text
1079 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
1080 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
1081 msgid ""
1082 "ORing the B<SCHED_RESET_ON_FORK> flag into the I<policy> argument when "
1083 "calling B<sched_setscheduler>(2) (since Linux 2.6.32); or"
1084 msgstr ""
1085 "إجراء عملية OR للعلم B<SCHED_RESET_ON_FORK> مع وسيط I<policy> عند استدعاء "
1086 "B<sched_setscheduler>(2) (منذ لينكس 2.6.32)؛ أو"
1087
1088 #. type: Plain text
1089 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
1090 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
1091 msgid ""
1092 "specifying the B<SCHED_FLAG_RESET_ON_FORK> flag in I<attr.sched_flags> when "
1093 "calling B<sched_setattr>(2)."
1094 msgstr ""
1095 "تحديد العلم B<SCHED_FLAG_RESET_ON_FORK> في I<attr.sched_flags> عند استدعاء "
1096 "B<sched_setattr>(2)."
1097
1098 #. type: Plain text
1099 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
1100 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
1101 msgid ""
1102 "Note that the constants used with these two APIs have different names. The "
1103 "state of the reset-on-fork flag can analogously be retrieved using "
1104 "B<sched_getscheduler>(2) and B<sched_getattr>(2)."
1105 msgstr ""
1106 "لاحظ أن الثوابت المستخدمة مع هاتين الواجهتين البرمجيتين لها أسماء مختلفة. "
1107 "يمكن استرداد حالة علم إعادة التعيين عند الاستنساخ بالمثل باستخدام "
1108 "B<sched_getscheduler>(2) و B<sched_getattr>(2)."
1109
1110 #. type: Plain text
1111 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
1112 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
1113 msgid ""
1114 "The reset-on-fork feature is intended for media-playback applications, and "
1115 "can be used to prevent applications evading the B<RLIMIT_RTTIME> resource "
1116 "limit (see B<getrlimit>(2)) by creating multiple child processes."
1117 msgstr ""
1118 "ميزة إعادة التعيين عند الاستنساخ مخصصة لتطبيقات تشغيل الوسائط، ويمكن "
1119 "استخدامها لمنع التطبيقات من تجاوز حد المورد B<RLIMIT_RTTIME> (انظر "
1120 "B<getrlimit>(2)) عن طريق إنشاء عمليات فرعية متعددة."
1121
1122 #. type: Plain text
1123 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
1124 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
1125 msgid ""
1126 "More precisely, if the reset-on-fork flag is set, the following rules apply "
1127 "for subsequently created children:"
1128 msgstr ""
1129 "بشكل أكثر دقة، إذا عُين علم إعادة التعيين عند الاستنساخ، تنطبق القواعد "
1130 "التالية على العمليات الفرعية المنشأة لاحقًا:"
1131
1132 #. type: Plain text
1133 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
1134 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
1135 msgid ""
1136 "If the calling thread has a scheduling policy of B<SCHED_FIFO> or "
1137 "B<SCHED_RR>, the policy is reset to B<SCHED_OTHER> in child processes."
1138 msgstr ""
1139 "إذا كان للخيط المستدعي سياسة جدولة B<SCHED_FIFO> أو B<SCHED_RR>، يُعاد تعيين "
1140 "السياسة إلى B<SCHED_OTHER> في العمليات الفرعية."
1141
1142 #. type: Plain text
1143 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
1144 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
1145 msgid ""
1146 "If the calling process has a negative nice value, the nice value is reset to "
1147 "zero in child processes."
1148 msgstr ""
1149 "إذا كانت للعملية المستدعية قيمة nice سالبة، يُعاد تعيين قيمة nice إلى الصفر "
1150 "في العمليات الفرعية."
1151
1152 #. type: Plain text
1153 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
1154 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
1155 msgid ""
1156 "After the reset-on-fork flag has been enabled, it can be reset only if the "
1157 "thread has the B<CAP_SYS_NICE> capability. This flag is disabled in child "
1158 "processes created by B<fork>(2)."
1159 msgstr ""
1160 "بعد تمكين علم إعادة التعيين عند الاستنساخ، يمكن إعادة تعيينه فقط إذا كان "
1161 "للخيط القدرة B<CAP_SYS_NICE>. يُعطل هذا العلم في العمليات الفرعية المنشأة "
1162 "بواسطة B<fork>(2)."
1163
1164 #. type: SS
1165 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
1166 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
1167 #, no-wrap
1168 msgid "Privileges and resource limits"
1169 msgstr "الامتيازات وحدود الموارد"
1170
1171 #. type: Plain text
1172 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
1173 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
1174 msgid ""
1175 "Before Linux 2.6.12, only privileged (B<CAP_SYS_NICE>) threads can set a "
1176 "nonzero static priority (i.e., set a real-time scheduling policy). The only "
1177 "change that an unprivileged thread can make is to set the B<SCHED_OTHER> "
1178 "policy, and this can be done only if the effective user ID of the caller "
1179 "matches the real or effective user ID of the target thread (i.e., the thread "
1180 "specified by I<pid>) whose policy is being changed."
1181 msgstr ""
1182 "قبل لينكس 2.6.12، فقط الخيوط المميزة (B<CAP_SYS_NICE>) يمكنها تعيين أولوية "
1183 "ثابتة غير صفرية (أي تعيين سياسة جدولة زمن حقيقي). التغيير الوحيد الذي يمكن "
1184 "لخيط غير مميز القيام به هو تعيين سياسة B<SCHED_OTHER>، ويمكن القيام بذلك فقط "
1185 "إذا تطابق معرف المستخدم الفعال للمستدعي مع معرف المستخدم الحقيقي أو الفعال "
1186 "للخيط الهدف (أي الخيط المحدد بواسطة I<pid>) الذي يُغير سياسته."
1187
1188 #. type: Plain text
1189 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
1190 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
1191 msgid ""
1192 "A thread must be privileged (B<CAP_SYS_NICE>) in order to set or modify a "
1193 "B<SCHED_DEADLINE> policy."
1194 msgstr ""
1195 "يجب أن يكون الخيط مميزًا (B<CAP_SYS_NICE>) لتعيين أو تعديل سياسة "
1196 "B<SCHED_DEADLINE>."
1197
1198 #. type: Plain text
1199 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
1200 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
1201 msgid ""
1202 "Since Linux 2.6.12, the B<RLIMIT_RTPRIO> resource limit defines a ceiling on "
1203 "an unprivileged thread's static priority for the B<SCHED_RR> and "
1204 "B<SCHED_FIFO> policies. The rules for changing scheduling policy and "
1205 "priority are as follows:"
1206 msgstr ""
1207 "منذ لينكس 2.6.12، يحدد حد المورد B<RLIMIT_RTPRIO> سقفًا للأولوية الثابتة "
1208 "للخيط غير المميز لسياسات B<SCHED_RR> و B<SCHED_FIFO>. قواعد تغيير سياسة "
1209 "الجدولة والأولوية هي كما يلي:"
1210
1211 #. type: Plain text
1212 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
1213 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
1214 msgid ""
1215 "If an unprivileged thread has a nonzero B<RLIMIT_RTPRIO> soft limit, then it "
1216 "can change its scheduling policy and priority, subject to the restriction "
1217 "that the priority cannot be set to a value higher than the maximum of its "
1218 "current priority and its B<RLIMIT_RTPRIO> soft limit."
1219 msgstr ""
1220 "إذا كان للخيط غير المميز حد لين B<RLIMIT_RTPRIO> غير صفري، فيمكنه تغيير "
1221 "سياسة الجدولة والأولوية الخاصة به، مع مراعاة القيد بأنه لا يمكن تعيين "
1222 "الأولوية إلى قيمة أعلى من الحد الأقصى لأولويتها الحالية وحدها اللين "
1223 "B<RLIMIT_RTPRIO>."
1224
1225 #. type: Plain text
1226 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
1227 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
1228 msgid ""
1229 "If the B<RLIMIT_RTPRIO> soft limit is 0, then the only permitted changes are "
1230 "to lower the priority, or to switch to a non-real-time policy."
1231 msgstr ""
1232 "إذا كان الحد اللين B<RLIMIT_RTPRIO> هو 0، فإن التغييرات المسموح بها الوحيدة "
1233 "هي خفض الأولوية، أو التبديل إلى سياسة غير زمن حقيقي."
1234
1235 #. type: Plain text
1236 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
1237 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
1238 msgid ""
1239 "Subject to the same rules, another unprivileged thread can also make these "
1240 "changes, as long as the effective user ID of the thread making the change "
1241 "matches the real or effective user ID of the target thread."
1242 msgstr ""
1243 "مع مراعاة نفس القواعد، يمكن لخيط غير مميز آخر أيضًا إجراء هذه التغييرات، "
1244 "طالما أن معرف المستخدم الفعال للخيط الذي يقوم بالتغيير يطابق معرف المستخدم "
1245 "الحقيقي أو الفعال للخيط الهدف."
1246
1247 #. commit c02aa73b1d18e43cfd79c2f193b225e84ca497c8
1248 #. type: Plain text
1249 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
1250 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
1251 msgid ""
1252 "Special rules apply for the B<SCHED_IDLE> policy. Before Linux 2.6.39, an "
1253 "unprivileged thread operating under this policy cannot change its policy, "
1254 "regardless of the value of its B<RLIMIT_RTPRIO> resource limit. Since Linux "
1255 "2.6.39, an unprivileged thread can switch to either the B<SCHED_BATCH> or "
1256 "the B<SCHED_OTHER> policy so long as its nice value falls within the range "
1257 "permitted by its B<RLIMIT_NICE> resource limit (see B<getrlimit>(2))."
1258 msgstr ""
1259 "تنطبق قواعد خاصة على سياسة B<SCHED_IDLE>. قبل لينكس 2.6.39، لا يمكن لخيط غير "
1260 "مميز يعمل تحت هذه السياسة تغيير سياسته، بغض النظر عن قيمة حد المورد "
1261 "B<RLIMIT_RTPRIO> الخاص به. منذ لينكس 2.6.39، يمكن لخيط غير مميز التبديل إلى "
1262 "إما سياسة B<SCHED_BATCH> أو B<SCHED_OTHER> طالما أن قيمة nice الخاصة به تقع "
1263 "ضمن النطاق المسموح به بواسطة حد المورد B<RLIMIT_NICE> الخاص به (انظر "
1264 "B<getrlimit>(2))."
1265
1266 #. type: Plain text
1267 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
1268 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
1269 msgid ""
1270 "Privileged (B<CAP_SYS_NICE>) threads ignore the B<RLIMIT_RTPRIO> limit; as "
1271 "with older kernels, they can make arbitrary changes to scheduling policy and "
1272 "priority. See B<getrlimit>(2) for further information on B<RLIMIT_RTPRIO>."
1273 msgstr ""
1274 "تتجاهل الخيوط المميزة (B<CAP_SYS_NICE>) حد B<RLIMIT_RTPRIO>؛ كما هو الحال مع "
1275 "النوى القديمة، يمكنها إجراء تغييرات عشوائية على سياسة الجدولة والأولوية. "
1276 "انظر B<getrlimit>(2) لمزيد من المعلومات حول B<RLIMIT_RTPRIO>."
1277
1278 #. type: SS
1279 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
1280 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
1281 #, no-wrap
1282 msgid "Limiting the CPU usage of real-time and deadline processes"
1283 msgstr ""
1284 "تحديد استخدام وحدة المعالجة المركزية للعمليات الزمن الحقيقي وذات الموعد"
1285 " النهائي"
1286
1287 #. type: Plain text
1288 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
1289 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
1290 msgid ""
1291 "A nonblocking infinite loop in a thread scheduled under the B<SCHED_FIFO>, "
1292 "B<SCHED_RR>, or B<SCHED_DEADLINE> policy can potentially block all other "
1293 "threads from accessing the CPU forever. Before Linux 2.6.25, the only way "
1294 "of preventing a runaway real-time process from freezing the system was to "
1295 "run (at the console) a shell scheduled under a higher static priority than "
1296 "the tested application. This allows an emergency kill of tested real-time "
1297 "applications that do not block or terminate as expected."
1298 msgstr ""
1299 "يمكن لحلقة لا نهائية غير محظورة في خيط مجدول تحت سياسة B<SCHED_FIFO> أو "
1300 "B<SCHED_RR> أو B<SCHED_DEADLINE> أن تمنع جميع الخيوط الأخرى من الوصول إلى "
1301 "وحدة المعالجة المركزية إلى الأبد. قبل لينكس 2.6.25، كانت الطريقة الوحيدة "
1302 "لمنع عملية زمن حقيقي جامحة من تجميد النظام هي تشغيل (في وحدة التحكم) شل "
1303 "مجدول بأولوية ثابتة أعلى من التطبيق المختبر. يسمح هذا بقتل طارئ لتطبيقات "
1304 "الزمن الحقيقي المختبرة التي لا تحظر أو تنتهي كما هو متوقع."
1305
1306 #. type: Plain text
1307 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
1308 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
1309 msgid ""
1310 "Since Linux 2.6.25, there are other techniques for dealing with runaway real-"
1311 "time and deadline processes. One of these is to use the B<RLIMIT_RTTIME> "
1312 "resource limit to set a ceiling on the CPU time that a real-time process may "
1313 "consume. See B<getrlimit>(2) for details."
1314 msgstr ""
1315 "منذ لينكس 2.6.25، هناك تقنيات أخرى للتعامل مع عمليات الزمن الحقيقي وذات "
1316 "الموعد النهائي الجامحة. إحداها هي استخدام حد المورد B<RLIMIT_RTTIME> لتعيين "
1317 "سقف لوقت وحدة المعالجة المركزية الذي قد تستهلكه عملية زمن حقيقي. انظر "
1318 "B<getrlimit>(2) للتفاصيل."
1319
1320 #. type: Plain text
1321 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
1322 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
1323 msgid ""
1324 "Since Linux 2.6.25, Linux also provides two I</proc> files that can be used "
1325 "to reserve a certain amount of CPU time to be used by non-real-time "
1326 "processes. Reserving CPU time in this fashion allows some CPU time to be "
1327 "allocated to (say) a root shell that can be used to kill a runaway process. "
1328 "Both of these files specify time values in microseconds:"
1329 msgstr ""
1330 "منذ لينكس 2.6.25، يوفر لينكس أيضًا ملفين I</proc> يمكن استخدامهما لحجز قدر "
1331 "معين من وقت وحدة المعالجة المركزية لاستخدامه بواسطة عمليات غير زمن حقيقي. "
1332 "يسمح حجز وقت وحدة المعالجة المركزية بهذه الطريقة بتخصيص بعض وقت وحدة "
1333 "المعالجة المركزية لـ (على سبيل المثال) شل جذر يمكن استخدامه لقتل عملية "
1334 "جامحة. يحدد كلا الملفين قيم الوقت بالميكروثانية:"
1335
1336 #. type: TP
1337 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
1338 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
1339 #, no-wrap
1340 msgid "I</proc/sys/kernel/sched_rt_period_us>"
1341 msgstr "I</proc/sys/kernel/sched_rt_period_us>"
1342
1343 #. type: Plain text
1344 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
1345 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
1346 msgid ""
1347 "This file specifies a scheduling period that is equivalent to 100% CPU "
1348 "bandwidth. The value in this file can range from 1 to B<INT_MAX>, giving an "
1349 "operating range of 1 microsecond to around 35 minutes. The default value in "
1350 "this file is 1,000,000 (1 second)."
1351 msgstr ""
1352 "يحدد هذا الملف فترة جدولة تعادل 100% من عرض النطاق الترددي لوحدة المعالجة "
1353 "المركزية. يمكن أن تتراوح القيمة في هذا الملف من 1 إلى B<INT_MAX>، مما يعطي "
1354 "نطاق تشغيل من 1 ميكروثانية إلى حوالي 35 دقيقة. القيمة المبدئية في هذا الملف "
1355 "هي 1,000,000 (1 ثانية)."
1356
1357 #. type: TP
1358 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
1359 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
1360 #, no-wrap
1361 msgid "I</proc/sys/kernel/sched_rt_runtime_us>"
1362 msgstr "I</proc/sys/kernel/sched_rt_runtime_us>"
1363
1364 #. type: Plain text
1365 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
1366 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
1367 msgid ""
1368 "The value in this file specifies how much of the \"period\" time can be used "
1369 "by all real-time and deadline scheduled processes on the system. The value "
1370 "in this file can range from -1 to B<INT_MAX>-1. Specifying -1 makes the run "
1371 "time the same as the period; that is, no CPU time is set aside for non-real-"
1372 "time processes (which was the behavior before Linux 2.6.25). The default "
1373 "value in this file is 950,000 (0.95 seconds), meaning that 5% of the CPU "
1374 "time is reserved for processes that don't run under a real-time or deadline "
1375 "scheduling policy."
1376 msgstr ""
1377 "تحدد القيمة في هذا الملف مقدار وقت \"الفترة\" الذي يمكن استخدامه بواسطة جميع "
1378 "العمليات المجدولة في الوقت الحقيقي وذات الموعد النهائي على النظام. يمكن أن "
1379 "تتراوح القيمة في هذا الملف من -1 إلى B<INT_MAX>-1. يؤدي تحديد -1 إلى جعل "
1380 "وقت التشغيل مساويًا للفترة؛ أي أنه لا يُخصص وقت لوحدة المعالجة المركزية "
1381 "للعمليات غير الوقت الحقيقي (وهو السلوك قبل لينكس 2.6.25). القيمة المبدئية "
1382 "في هذا الملف هي 950,000 (0.95 ثانية)، مما يعني أن 5% من وقت وحدة المعالجة "
1383 "المركزية محجوزة للعمليات التي لا تعمل تحت سياسة جدولة الوقت الحقيقي أو "
1384 "الموعد النهائي."
1385
1386 #. type: SS
1387 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
1388 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
1389 #, no-wrap
1390 msgid "Response time"
1391 msgstr "زمن الاستجابة"
1392
1393 #. as described in
1394 #. .BR request_irq (9).
1395 #. type: Plain text
1396 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
1397 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
1398 msgid ""
1399 "A blocked high priority thread waiting for I/O has a certain response time "
1400 "before it is scheduled again. The device driver writer can greatly reduce "
1401 "this response time by using a \"slow interrupt\" interrupt handler."
1402 msgstr ""
1403 "الخيط عالي الأولوية المحظور الذي ينتظر الإدخال/الإخراج له زمن استجابة معين "
1404 "قبل جدولته مرة أخرى. يمكن لكاتب برنامج تشغيل الجهاز تقليل زمن الاستجابة هذا "
1405 "بشكل كبير باستخدام معالج مقاطعة \"مقاطعة بطيئة\"."
1406
1407 #. type: SS
1408 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
1409 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
1410 #, no-wrap
1411 msgid "Miscellaneous"
1412 msgstr "متفرقات"
1413
1414 #. type: Plain text
1415 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
1416 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
1417 msgid ""
1418 "Child processes inherit the scheduling policy and parameters across a "
1419 "B<fork>(2). The scheduling policy and parameters are preserved across "
1420 "B<execve>(2)."
1421 msgstr ""
1422 "ترث العمليات الفرعية سياسة الجدولة والمعاملات عبر B<fork>(2). يُحفاظ على "
1423 "سياسة الجدولة والمعاملات عبر B<execve>(2)."
1424
1425 #. type: Plain text
1426 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
1427 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
1428 msgid ""
1429 "Memory locking is usually needed for real-time processes to avoid paging "
1430 "delays; this can be done with B<mlock>(2) or B<mlockall>(2)."
1431 msgstr ""
1432 "عادةً ما يكون قفل الذاكرة مطلوبًا للعمليات في الوقت الحقيقي لتجنب تأخيرات "
1433 "الترحيل؛ يمكن القيام بذلك باستخدام B<mlock>(2) أو B<mlockall>(2)."
1434
1435 #. type: SS
1436 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
1437 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
1438 #, no-wrap
1439 msgid "The autogroup feature"
1440 msgstr "ميزة المجموعة الآلية"
1441
1442 #. commit 5091faa449ee0b7d73bc296a93bca9540fc51d0a
1443 #. type: Plain text
1444 #: archlinux debian-unstable mageia-cauldron opensuse-leap-16-1
1445 #: opensuse-tumbleweed
1446 msgid ""
1447 "Since Linux 2.6.38, the kernel provides a feature known as autogrouping to "
1448 "improve interactive desktop performance in the face of multiprocess CPU-"
1449 "intensive workloads such as building the Linux kernel with large numbers of "
1450 "parallel build processes (i.e., the B<make>(1) B<-j> flag)."
1451 msgstr ""
1452 "منذ لينكس 2.6.38، يوفر النواة ميزة تُعرف بالتجميع الآلي لتحسين أداء سطح "
1453 "المكتب التفاعلي في مواجهة أعباء العمل كثيفة الاستخدام لوحدة المعالجة "
1454 "المركزية متعددة العمليات مثل بناء نواة لينكس بأعداد كبيرة من عمليات البناء "
1455 "المتوازية (أي علامة B<make>(1) B<-j>)."
1456
1457 #. type: Plain text
1458 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
1459 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
1460 msgid ""
1461 "This feature operates in conjunction with the CFS scheduler and requires a "
1462 "kernel that is configured with B<CONFIG_SCHED_AUTOGROUP>. On a running "
1463 "system, this feature is enabled or disabled via the file I</proc/sys/kernel/"
1464 "sched_autogroup_enabled>; a value of 0 disables the feature, while a value "
1465 "of 1 enables it. The default value in this file is 1, unless the kernel was "
1466 "booted with the I<noautogroup> parameter."
1467 msgstr ""
1468 "تعمل هذه الميزة بالتزامن مع مجدول CFS وتتطلب نواة مهيأة بـ "
1469 "B<CONFIG_SCHED_AUTOGROUP>. على نظام قيد التشغيل، يمُكّن هذه الميزة أو"
1470 " تعطيلها "
1471 "عبر الملف I</proc/sys/kernel/sched_autogroup_enabled>؛ القيمة 0 تعطل الميزة، "
1472 "بينما القيمة 1 تمكّنها. القيمة المبدئية في هذا الملف هي 1، ما لم تُشغل"
1473 " النواة "
1474 "باستخدام المعامل I<noautogroup>."
1475
1476 #. type: Plain text
1477 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
1478 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
1479 msgid ""
1480 "A new autogroup is created when a new session is created via B<setsid>(2); "
1481 "this happens, for example, when a new terminal window is started. A new "
1482 "process created by B<fork>(2) inherits its parent's autogroup membership. "
1483 "Thus, all of the processes in a session are members of the same autogroup. "
1484 "An autogroup is automatically destroyed when the last process in the group "
1485 "terminates."
1486 msgstr ""
1487 "تُنشئ مجموعة آلية جديدة عند إنشاء جلسة جديدة عبر B<setsid>(2)؛ يحدث هذا، على "
1488 "سبيل المثال، عند بدء نافذة طرفية جديدة. ترث العملية الجديدة المنشأة بواسطة "
1489 "B<fork>(2) عضوية المجموعة الآلية لأصلها. وبالتالي، جميع العمليات في الجلسة "
1490 "هي أعضاء في نفس المجموعة الآلية. تُدمر المجموعة الآلية آليًا عند إنهاء آخر "
1491 "عملية في المجموعة."
1492
1493 #. type: Plain text
1494 #: archlinux debian-unstable fedora-44 fedora-rawhide mageia-cauldron
1495 #: opensuse-leap-16-1 opensuse-tumbleweed
1496 msgid ""
1497 "When autogrouping is enabled, all of the members of an autogroup are placed "
1498 "in the same kernel scheduler \"task group\". When disabled, the group "
1499 "creation happens as above, and autogroup membership is still visible in I</"
1500 "proc>, but the autogroups are not used. The CFS scheduler employs an "
1501 "algorithm that equalizes the distribution of CPU cycles across task groups. "
1502 "The benefits of this for interactive desktop performance can be described "
1503 "via the following example."
1504 msgstr ""
1505 "عند تمكين التجميع الآلي، تُوضع جميع أعضاء المجموعة الآلية في نفس \"مجموعة "
1506 "المهام\" لمجدول النواة. عند تعطيله، يحدث إنشاء المجموعة كما هو مذكور أعلاه، "
1507 "وتكون عضوية المجموعة الآلية مرئية في I</proc>، ولكن لا تُستخدم المجموعات "
1508 "الآلية. يستخدم مجدول CFS خوارزمية تعمل على معادلة توزيع دورات وحدة المعالجة "
1509 "المركزية عبر مجموعات المهام. يمكن وصف فوائد ذلك لأداء سطح المكتب التفاعلي "
1510 "من خلال المثال التالي."
1511
1512 #. Mike Galbraith, 25 Nov 2016:
1513 #. I'd say something more wishy-washy here, like cycles are
1514 #. distributed fairly across groups and leave it at that, as your
1515 #. detailed example is incorrect due to SMP fairness (which I don't
1516 #. like much because [very unlikely] worst case scenario
1517 #. renders a box sized group incapable of utilizing more that
1518 #. a single CPU total). For example, if a group of NR_CPUS
1519 #. size competes with a singleton, load balancing will try to give
1520 #. the singleton a full CPU of its very own. If groups intersect for
1521 #. whatever reason on say my quad lappy, distribution is 80/20 in
1522 #. favor of the singleton.
1523 #. type: Plain text
1524 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
1525 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
1526 #| msgid ""
1527 #| "Suppose that there are two autogroups competing for the same CPU (i.e., "
1528 #| "presume either a single CPU system or the use of B<taskset>(1) to "
1529 #| "confine all the processes to the same CPU on an SMP system). The first "
1530 #| "group contains ten CPU-bound processes from a kernel build started with "
1531 #| "I<make\\~-j10>. The other contains a single CPU-bound process: a video "
1532 #| "player. The effect of autogrouping is that the two groups will each "
1533 #| "receive half of the CPU cycles. That is, the video player will receive "
1534 #| "50% of the CPU cycles, rather than just 9% of the cycles, which would "
1535 #| "likely lead to degraded video playback. The situation on an SMP system "
1536 #| "is more complex, but the general effect is the same: the scheduler "
1537 #| "distributes CPU cycles across task groups such that an autogroup that "
1538 #| "contains a large number of CPU-bound processes does not end up hogging "
1539 #| "CPU cycles at the expense of the other jobs on the system."
1540 msgid ""
1541 "Suppose that there are two autogroups competing for the same CPU (i.e., "
1542 "presume either a single CPU system or the use of B<taskset>(1) to confine "
1543 "all the processes to the same CPU on an SMP system). The first group "
1544 "contains ten CPU-bound processes from a kernel build started with I<make\\ -"
1545 "j10>. The other contains a single CPU-bound process: a video player. The "
1546 "effect of autogrouping is that the two groups will each receive half of the "
1547 "CPU cycles. That is, the video player will receive 50% of the CPU cycles, "
1548 "rather than just 9% of the cycles, which would likely lead to degraded video "
1549 "playback. The situation on an SMP system is more complex, but the general "
1550 "effect is the same: the scheduler distributes CPU cycles across task groups "
1551 "such that an autogroup that contains a large number of CPU-bound processes "
1552 "does not end up hogging CPU cycles at the expense of the other jobs on the "
1553 "system."
1554 msgstr ""
1555 "افترض وجود مجموعتين آليتين تتنافسان على نفس وحدة المعالجة المركزية (أي افترض "
1556 "إما نظام وحدة معالجة مركزية واحدة أو استخدام B<taskset>(1) لحصر جميع "
1557 "العمليات على نفس وحدة المعالجة المركزية على نظام SMP). تحتوي المجموعة "
1558 "الأولى على عشر عمليات مقيدة بوحدة المعالجة المركزية من بناء نواة بدأ بـ "
1559 "I<make\\ -j10>. تحتوي الأخرى على عملية واحدة مقيدة بوحدة المعالجة المركزية: "
1560 "مشغل فيديو. تأثير التجميع الآلي هو أن المجموعتين ستتلقى كل منهما نصف دورات "
1561 "وحدة المعالجة المركزية. أي أن مشغل الفيديو سيحصل على 50% من دورات وحدة "
1562 "المعالجة المركزية، بدلاً من 9% فقط من الدورات، مما قد يؤدي إلى تدهور تشغيل "
1563 "الفيديو. الوضع على نظام SMP أكثر تعقيدًا، لكن التأثير العام هو نفسه: يوزع "
1564 "المجدول دورات وحدة المعالجة المركزية عبر مجموعات المهام بحيث لا تنتهي "
1565 "المجموعة الآلية التي تحتوي على عدد كبير من العمليات المقيدة بوحدة المعالجة "
1566 "المركزية إلى احتكار دورات وحدة المعالجة المركزية على حساب المهام الأخرى على "
1567 "النظام."
1568
1569 #. type: Plain text
1570 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
1571 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
1572 msgid ""
1573 "A process's autogroup (task group) membership can be viewed via the file I</"
1574 "proc/>pidI</autogroup>:"
1575 msgstr ""
1576 "يمكن عرض عضوية المجموعة الآلية (مجموعة المهام) لعملية ما عبر الملف I</proc/"
1577 ">pidI</autogroup>:"
1578
1579 #. type: Plain text
1580 #: archlinux debian-unstable mageia-cauldron opensuse-leap-16-1
1581 #: opensuse-tumbleweed
1582 #, no-wrap
1583 msgid ""
1584 "$B< cat /proc/1/autogroup>\n"
1585 "/autogroup-1 nice 0\n"
1586 msgstr ""
1587 "$B< cat /proc/1/autogroup>\n"
1588 "/autogroup-1 nice 0\n"
1589
1590 #
1591 #. FIXME .
1592 #. Because of a bug introduced in Linux 4.7
1593 #. (commit 2159197d66770ec01f75c93fb11dc66df81fd45b made changes
1594 #. that exposed the fact that autogroup didn't call scale_load()),
1595 #. it happened that *all* values in this range caused a task group
1596 #. to be further disfavored by the scheduler, with \-20 resulting
1597 #. in the scheduler mildly disfavoring the task group and +19 greatly
1598 #. disfavoring it.
1599 #. A patch was posted on 23 Nov 2016
1600 #. ("sched/autogroup: Fix 64bit kernel nice adjustment";
1601 #. check later to see in which kernel version it lands.
1602 #. type: Plain text
1603 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
1604 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
1605 msgid ""
1606 "This file can also be used to modify the CPU bandwidth allocated to an "
1607 "autogroup. This is done by writing a number in the \"nice\" range to the "
1608 "file to set the autogroup's nice value. The allowed range is from +19 (low "
1609 "priority) to -20 (high priority). (Writing values outside of this range "
1610 "causes B<write>(2) to fail with the error B<EINVAL>.)"
1611 msgstr ""
1612 "يمكن أيضًا استخدام هذا الملف لتعديل عرض النطاق الترددي لوحدة المعالجة "
1613 "المركزية المخصص لمجموعة آلية. يتم ذلك عن طريق كتابة رقم في نطاق \"nice\" "
1614 "إلى الملف لتعيين قيمة الأولوية nice للمجموعة الآلية. النطاق المسموح به هو "
1615 "من +19 (أولوية منخفضة) إلى -20 (أولوية عالية). (تتسبب كتابة قيم خارج هذا "
1616 "النطاق في فشل B<write>(2) مع الخطأ B<EINVAL>.)"
1617
1618 #. type: Plain text
1619 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
1620 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
1621 msgid ""
1622 "The autogroup nice setting has the same meaning as the process nice value, "
1623 "but applies to distribution of CPU cycles to the autogroup as a whole, based "
1624 "on the relative nice values of other autogroups. For a process inside an "
1625 "autogroup, the CPU cycles that it receives will be a product of the "
1626 "autogroup's nice value (compared to other autogroups) and the process's "
1627 "nice value (compared to other processes in the same autogroup."
1628 msgstr ""
1629 "إعداد nice للمجموعة الآلية له نفس معنى قيمة nice للعملية، ولكنه ينطبق على "
1630 "توزيع دورات وحدة المعالجة المركزية للمجموعة الآلية ككل، بناءً على قيم nice "
1631 "النسبية للمجموعات الآلية الأخرى. بالنسبة لعملية داخل مجموعة آلية، ستكون "
1632 "دورات وحدة المعالجة المركزية التي تتلقاها حاصل ضرب قيمة nice للمجموعة الآلية "
1633 "(مقارنة بالمجموعات الآلية الأخرى) وقيمة nice للعملية (مقارنة بالعمليات "
1634 "الأخرى في نفس المجموعة الآلية)."
1635
1636 #. type: Plain text
1637 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
1638 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
1639 msgid ""
1640 "The use of the B<cgroups>(7) CPU controller to place processes in cgroups "
1641 "other than the root CPU cgroup overrides the effect of autogrouping."
1642 msgstr ""
1643 "استخدام وحدة تحكم وحدة المعالجة المركزية B<cgroups>(7) لوضع العمليات في "
1644 "مجموعات cgroups غير مجموعة cgroup الجذر لوحدة المعالجة المركزية يتجاوز تأثير "
1645 "التجميع الآلي."
1646
1647 #. type: Plain text
1648 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
1649 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
1650 msgid ""
1651 "The autogroup feature groups only processes scheduled under non-real-time "
1652 "policies (B<SCHED_OTHER>, B<SCHED_BATCH>, and B<SCHED_IDLE>). It does not "
1653 "group processes scheduled under real-time and deadline policies. Those "
1654 "processes are scheduled according to the rules described earlier."
1655 msgstr ""
1656 "ميزة المجموعة الآلية تجمع فقط العمليات المجدولة تحت سياسات غير الوقت الحقيقي "
1657 "(B<SCHED_OTHER> و B<SCHED_BATCH> و B<SCHED_IDLE>). لا تجمع العمليات "
1658 "المجدولة تحت سياسات الوقت الحقيقي والموعد النهائي. تُجدول تلك العمليات وفقًا "
1659 "للقواعد الموصوفة سابقًا."
1660
1661 #. type: SS
1662 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
1663 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
1664 #, no-wrap
1665 msgid "The nice value and group scheduling"
1666 msgstr "قيمة nice وجدولة المجموعة"
1667
1668 #. type: Plain text
1669 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
1670 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
1671 msgid ""
1672 "When scheduling non-real-time processes (i.e., those scheduled under the "
1673 "B<SCHED_OTHER>, B<SCHED_BATCH>, and B<SCHED_IDLE> policies), the CFS "
1674 "scheduler employs a technique known as \"group scheduling\", if the kernel "
1675 "was configured with the B<CONFIG_FAIR_GROUP_SCHED> option (which is typical)."
1676 msgstr ""
1677 "عند جدولة العمليات غير الوقت الحقيقي (أي تلك المجدولة تحت سياسات "
1678 "B<SCHED_OTHER> و B<SCHED_BATCH> و B<SCHED_IDLE>)، يستخدم مجدول CFS تقنية "
1679 "تُعرف باسم \"جدولة المجموعة\"، إذا كُونت النواة مع الخيار "
1680 "B<CONFIG_FAIR_GROUP_SCHED> (وهو أمر نموذجي)."
1681
1682 #. type: Plain text
1683 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
1684 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
1685 msgid ""
1686 "Under group scheduling, threads are scheduled in \"task groups\". Task "
1687 "groups have a hierarchical relationship, rooted under the initial task group "
1688 "on the system, known as the \"root task group\". Task groups are formed in "
1689 "the following circumstances:"
1690 msgstr ""
1691 "تحت جدولة المجموعة، تُجدول الخيوط في \"مجموعات مهام\". مجموعات المهام لها "
1692 "علاقة هرمية، متجذرة تحت مجموعة المهام الأولية على النظام، المعروفة باسم "
1693 "\"مجموعة المهام الجذر\". تُشكل مجموعات المهام في الظروف التالية:"
1694
1695 #. type: Plain text
1696 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
1697 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
1698 msgid ""
1699 "All of the threads in a CPU cgroup form a task group. The parent of this "
1700 "task group is the task group of the corresponding parent cgroup."
1701 msgstr ""
1702 "جميع الخيوط في مجموعة cgroup لوحدة المعالجة المركزية تشكل مجموعة مهام. أصل "
1703 "مجموعة المهام هذه هو مجموعة المهام لمجموعة cgroup الأصل المقابلة."
1704
1705 #. type: Plain text
1706 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
1707 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
1708 msgid ""
1709 "If autogrouping is enabled, then all of the threads that are (implicitly) "
1710 "placed in an autogroup (i.e., the same session, as created by B<setsid>(2)) "
1711 "form a task group. Each new autogroup is thus a separate task group. The "
1712 "root task group is the parent of all such autogroups."
1713 msgstr ""
1714 "إذا مُكّن التجميع الآلي، فإن جميع الخيوط التي يتم وضعها (ضمنيًا) في مجموعة"
1715 " آلية "
1716 "(أي نفس الجلسة، كما أُنشئت بواسطة B<setsid>(2)) تشكل مجموعة مهام. كل مجموعة "
1717 "آلية جديدة هي بالتالي مجموعة مهام منفصلة. مجموعة المهام الجذر هي أصل جميع "
1718 "هذه المجموعات الآلية."
1719
1720 #. type: Plain text
1721 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
1722 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
1723 msgid ""
1724 "If autogrouping is enabled, then the root task group consists of all "
1725 "processes in the root CPU cgroup that were not otherwise implicitly placed "
1726 "into a new autogroup."
1727 msgstr ""
1728 "إذا مُكّن التجميع الآلي، فإن مجموعة المهام الجذر تتكون من جميع العمليات في "
1729 "مجموعة cgroup الجذر لوحدة المعالجة المركزية التي لم تُوضع ضمنيًا في مجموعة "
1730 "آلية جديدة."
1731
1732 #. type: Plain text
1733 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
1734 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
1735 msgid ""
1736 "If autogrouping is disabled, then the root task group consists of all "
1737 "processes in the root CPU cgroup."
1738 msgstr ""
1739 "إذا عُطل التجميع الآلي، فإن مجموعة المهام الجذر تتكون من جميع العمليات في "
1740 "مجموعة cgroup الجذر لوحدة المعالجة المركزية."
1741
1742 #. type: Plain text
1743 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
1744 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
1745 msgid ""
1746 "If group scheduling was disabled (i.e., the kernel was configured without "
1747 "B<CONFIG_FAIR_GROUP_SCHED>), then all of the processes on the system are "
1748 "notionally placed in a single task group."
1749 msgstr ""
1750 "إذا عُطل جدولة المجموعة (أي، كُونت النواة بدون B<CONFIG_FAIR_GROUP_SCHED>)، "
1751 "فإن جميع العمليات في النظام توضع مبدئيا في مجموعة مهام واحدة."
1752
1753 #. type: Plain text
1754 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
1755 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
1756 msgid ""
1757 "Under group scheduling, a thread's nice value has an effect for scheduling "
1758 "decisions I<only relative to other threads in the same task group>. This "
1759 "has some surprising consequences in terms of the traditional semantics of "
1760 "the nice value on UNIX systems. In particular, if autogrouping is enabled "
1761 "(which is the default in various distributions), then employing "
1762 "B<setpriority>(2) or B<nice>(1) on a process has an effect only for "
1763 "scheduling relative to other processes executed in the same session "
1764 "(typically: the same terminal window)."
1765 msgstr ""
1766 "تحت جدولة المجموعة، تؤثر قيمة الأولوية nice للخيط في قرارات الجدولة I<فقط "
1767 "بالنسبة للخيوط الأخرى في نفس مجموعة المهام>. يترتب على ذلك بعض العواقب "
1768 "المفاجئة من حيث الدلالات التقليدية لقيمة nice على أنظمة UNIX. على وجه "
1769 "الخصوص، إذا مُكن التجميع الآلي (وهو المبدئي في توزيعات مختلفة)، فإن استخدام "
1770 "B<setpriority>(2) أو B<nice>(1) على عملية يكون له تأثير فقط للجدولة بالنسبة "
1771 "للعمليات الأخرى المنفذة في نفس الجلسة (عادةً: نفس نافذة الطرفية)."
1772
1773 #. More succinctly: the nice(1) command is in many cases a no-op since
1774 #. Linux 2.6.38.
1775 #. type: Plain text
1776 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
1777 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
1778 msgid ""
1779 "Conversely, for two processes that are (for example) the sole CPU-bound "
1780 "processes in different sessions (e.g., different terminal windows, each of "
1781 "whose jobs are tied to different autogroups), I<modifying the nice value of "
1782 "the process in one of the sessions> I<has no effect> in terms of the "
1783 "scheduler's decisions relative to the process in the other session. A "
1784 "possibly useful workaround here is to use a command such as the following to "
1785 "modify the autogroup nice value for I<all> of the processes in a terminal "
1786 "session:"
1787 msgstr ""
1788 "على العكس، بالنسبة لعمليتين هما (على سبيل المثال) العمليتان الوحيدتان "
1789 "المرتبطتان بوحدة المعالجة المركزية في جلسات مختلفة (مثل نوافذ طرفية مختلفة، "
1790 "كل منها مرتبطة بمهامها بمجموعات آلية مختلفة)، I<تعديل قيمة nice للعملية في "
1791 "إحدى الجلسات> I<ليس له أي تأثير> من حيث قرارات المجدول بالنسبة للعملية في "
1792 "الجلسة الأخرى. الحل البديل المفيد المحتمل هنا هو استخدام أمر مثل التالي "
1793 "لتعديل قيمة nice للمجموعة الآلية لـ I<جميع> العمليات في جلسة طرفية:"
1794
1795 #. type: Plain text
1796 #: archlinux debian-unstable mageia-cauldron opensuse-leap-16-1
1797 #: opensuse-tumbleweed
1798 #, no-wrap
1799 msgid "$B< echo 10 E<gt> /proc/self/autogroup>\n"
1800 msgstr "$B< echo 10 E<gt> /proc/self/autogroup>\n"
1801
1802 #. type: SS
1803 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
1804 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
1805 #, no-wrap
1806 msgid "Real-time features in the mainline Linux kernel"
1807 msgstr "ميزات الوقت الحقيقي في نواة لينكس الرئيسية"
1808
1809 #. The archaeologist knows about v2.6.9-mm1-V0.1-realtime-preempt
1810 #. type: Plain text
1811 #: archlinux debian-unstable mageia-cauldron opensuse-leap-16-1
1812 #: opensuse-tumbleweed
1813 msgid ""
1814 "Since Linux 2.6.18, Linux is gradually becoming equipped with real-time "
1815 "capabilities, most of which are derived from the former I<realtime-preempt> "
1816 "patch set. These patches are named:"
1817 msgstr ""
1818 "منذ لينكس 2.6.18، أصبح لينكس مجهزًا تدريجيًا بقدرات الوقت الحقيقي، معظمها"
1819 " مشتق "
1820 "من مجموعة التصحيحات السابقة I<realtime-preempt>. تُسمى هذه التصحيحات:"
1821
1822 #. type: Plain text
1823 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
1824 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
1825 #, no-wrap
1826 msgid "patch-I<kernelversion>-rtI<patchversion>\n"
1827 msgstr "patch-I<kernelversion>-rtI<patchversion>\n"
1828
1829 #. type: Plain text
1830 #: archlinux debian-unstable mageia-cauldron opensuse-leap-16-1
1831 #: opensuse-tumbleweed
1832 msgid ""
1833 "and can be downloaded from E<.UR http:\\://www.kernel.org\\:/pub\\:/linux\\:/"
1834 "kernel\\:/projects\\:/rt/> E<.UE> or cloned from a git tree E<.UR https:\\://"
1835 "git.kernel.org\\:/pub\\:/scm\\:/linux\\:/kernel\\:/git\\:/rt\\:/linux-stable-"
1836 "rt.git> E<.UE .> The individual releases are maintained as long as the "
1837 "matching LTS kernel is maintained."
1838 msgstr ""
1839 "ويمكن تنزيلها من E<.UR http:\\://www.kernel.org\\:/pub\\:/linux\\:/kernel\\:/"
1840 "projects\\:/rt/> E<.UE> أو استنساخها من شجرة git E<.UR https:\\://git.kernel."
1841 "org\\:/pub\\:/scm\\:/linux\\:/kernel\\:/git\\:/rt\\:/linux-stable-rt.git> E<."
1842 "UE .> تُصان الإصدارات الفردية طالما صينت نواة LTS المطابقة."
1843
1844 #. type: Plain text
1845 #: archlinux debian-unstable mageia-cauldron opensuse-leap-16-1
1846 #: opensuse-tumbleweed
1847 msgid ""
1848 "Since Linux 6.12 it possible to enable the real-time preemption without the "
1849 "need for any patches. The I<realtime-patch> continues to exist and contains "
1850 "support for not-yet-integrated architectures, drivers, and features that are "
1851 "in development."
1852 msgstr ""
1853 "منذ لينكس 6.12، أصبح من الممكن تمكين استباق الوقت الحقيقي دون الحاجة إلى أي "
1854 "تصحيحات. يستمر وجود I<realtime-patch> ويحتوي على دعم للبنى وبرامج التشغيل "
1855 "والميزات التي لم تدمج بعد والتي هي قيد التطوير."
1856
1857 #. type: Plain text
1858 #: archlinux debian-unstable mageia-cauldron opensuse-leap-16-1
1859 #: opensuse-tumbleweed
1860 msgid ""
1861 "Since Linux 6.13 real-time became an option and not a preemption model. "
1862 "With this change, the following preemption models are available: "
1863 "B<CONFIG_PREEMPT_NONE>, B<CONFIG_PREEMPT_VOLUNTARY>, B<CONFIG_PREEMPT>, and "
1864 "B<CONFIG_PREEMPT_LAZY>. The real-time capabilities can be enabled with the "
1865 "option B<CONFIG_PREEMPT_RT> and the preemption model can be set to either "
1866 "B<CONFIG_PREEMPT> or B<CONFIG_PREEMPT_LAZY>. The latter model is less eager "
1867 "to preempt B<SCHED_NORMAL> tasks in an attempt to reduce lock-holder "
1868 "preemption. It does not affect real-time tasks."
1869 msgstr ""
1870 "منذ لينكس 6.13، أصبح الوقت الحقيقي خيارًا وليس نموذج استباق. مع هذا التغيير، "
1871 "تتوفر نماذج الاستباق التالية: B<CONFIG_PREEMPT_NONE> "
1872 "وB<CONFIG_PREEMPT_VOLUNTARY> وB<CONFIG_PREEMPT> وB<CONFIG_PREEMPT_LAZY>. "
1873 "يمكن تمكين قدرات الوقت الحقيقي باستخدام الخيار B<CONFIG_PREEMPT_RT> ويمكن "
1874 "تعيين نموذج الاستباق إما إلى B<CONFIG_PREEMPT> أو B<CONFIG_PREEMPT_LAZY>. "
1875 "النموذج الأخير أقل حرصًا على استباق مهام B<SCHED_NORMAL> في محاولة لتقليل "
1876 "استباق حامل القفل. لا يؤثر على مهام الوقت الحقيقي."
1877
1878 #. type: Plain text
1879 #: archlinux debian-unstable mageia-cauldron opensuse-leap-16-1
1880 #: opensuse-tumbleweed
1881 msgid ""
1882 "With B<CONFIG_PREEMPT_RT> enabled, Linux is transformed into a regular real-"
1883 "time operating system. The B<SCHED_FIFO>, B<SCHED_RR>, and "
1884 "B<SCHED_DEADLINE> scheduling policies are then used to run a thread with "
1885 "true real-time priority and a minimum worst-case scheduling latency."
1886 msgstr ""
1887 "مع تمكين B<CONFIG_PREEMPT_RT>، يتحول لينكس إلى نظام تشغيل وقت حقيقي عادي. "
1888 "تُستخدم سياسات الجدولة B<SCHED_FIFO> وB<SCHED_RR> وB<SCHED_DEADLINE> بعد ذلك "
1889 "لتشغيل خيط بأولوية وقت حقيقي حقيقية وأدنى زمن استجابة جدولة في أسوأ الحالات."
1890
1891 #. type: SH
1892 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
1893 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
1894 #, no-wrap
1895 msgid "NOTES"
1896 msgstr "ملاحظات"
1897
1898 #. type: Plain text
1899 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
1900 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
1901 msgid ""
1902 "The B<cgroups>(7) CPU controller can be used to limit the CPU consumption "
1903 "of groups of processes."
1904 msgstr ""
1905 "يمكن استخدام وحدة التحكم في وحدة المعالجة المركزية B<cgroups>(7) لتحديد "
1906 "استهلاك وحدة المعالجة المركزية لمجموعات العمليات."
1907
1908 #. type: Plain text
1909 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
1910 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
1911 msgid ""
1912 "Originally, Standard Linux was intended as a general-purpose operating "
1913 "system being able to handle background processes, interactive applications, "
1914 "and less demanding real-time applications (applications that need to usually "
1915 "meet timing deadlines). Although the Linux 2.6 allowed for kernel "
1916 "preemption and the newly introduced O(1) scheduler ensures that the time "
1917 "needed to schedule is fixed and deterministic irrespective of the number of "
1918 "active tasks, true real-time computing was not possible up to Linux 2.6.17."
1919 msgstr ""
1920 "في الأصل، كان لينكس القياسي مخصصًا كنظام تشغيل للأغراض العامة قادر على "
1921 "التعامل مع عمليات الخلفية والتطبيقات التفاعلية وتطبيقات الوقت الحقيقي الأقل "
1922 "تطلبًا (التطبيقات التي تحتاج عادةً إلى الوفاء بالمواعيد النهائية الزمنية). "
1923 "على الرغم من أن لينكس 2.6 سمح باستباق النواة وأن المجدول O(1) المُقدم حديثًا "
1924 "يضمن أن الوقت اللازم للجدولة ثابت وحتمي بغض النظر عن عدد المهام النشطة، إلا "
1925 "أن الحوسبة الحقيقية في الوقت الحقيقي لم تكن ممكنة حتى لينكس 2.6.17."
1926
1927 #. type: SH
1928 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
1929 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
1930 #, no-wrap
1931 msgid "SEE ALSO"
1932 msgstr "انظر أيضًا"
1933
1934 #. type: Plain text
1935 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
1936 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
1937 msgid ""
1938 "B<chcpu>(1), B<chrt>(1), B<lscpu>(1), B<ps>(1), B<taskset>(1), B<top>(1), "
1939 "B<getpriority>(2), B<mlock>(2), B<mlockall>(2), B<munlock>(2), "
1940 "B<munlockall>(2), B<nice>(2), B<sched_get_priority_max>(2), "
1941 "B<sched_get_priority_min>(2), B<sched_getaffinity>(2), B<sched_getparam>(2), "
1942 "B<sched_getscheduler>(2), B<sched_rr_get_interval>(2), "
1943 "B<sched_setaffinity>(2), B<sched_setparam>(2), B<sched_setscheduler>(2), "
1944 "B<sched_yield>(2), B<setpriority>(2), B<pthread_getaffinity_np>(3), "
1945 "B<pthread_getschedparam>(3), B<pthread_setaffinity_np>(3), "
1946 "B<sched_getcpu>(3), B<capabilities>(7), B<cpuset>(7)"
1947 msgstr ""
1948 "B<chcpu>(1), B<chrt>(1), B<lscpu>(1), B<ps>(1), B<taskset>(1), B<top>(1), "
1949 "B<getpriority>(2), B<mlock>(2), B<mlockall>(2), B<munlock>(2), "
1950 "B<munlockall>(2), B<nice>(2), B<sched_get_priority_max>(2), "
1951 "B<sched_get_priority_min>(2), B<sched_getaffinity>(2), B<sched_getparam>(2), "
1952 "B<sched_getscheduler>(2), B<sched_rr_get_interval>(2), "
1953 "B<sched_setaffinity>(2), B<sched_setparam>(2), B<sched_setscheduler>(2), "
1954 "B<sched_yield>(2), B<setpriority>(2), B<pthread_getaffinity_np>(3), "
1955 "B<pthread_getschedparam>(3), B<pthread_setaffinity_np>(3), "
1956 "B<sched_getcpu>(3), B<capabilities>(7), B<cpuset>(7)"
1957
1958 #. type: Plain text
1959 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
1960 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
1961 msgid ""
1962 "I<Programming for the real world - POSIX.4> by Bill O.\\& Gallmeister, "
1963 "O'Reilly & Associates, Inc., ISBN 1-56592-074-0."
1964 msgstr ""
1965 "I<Programming for the real world - POSIX.4> بقلم Bill O.\\& Gallmeister، "
1966 "O'Reilly & Associates, Inc., ISBN 1-56592-074-0."
1967
1968 #. type: Plain text
1969 #: archlinux debian-unstable mageia-cauldron opensuse-leap-16-1
1970 #: opensuse-tumbleweed
1971 msgid ""
1972 "E<.UR https:\\://docs.kernel.org/\\:scheduler> The Linux kernel "
1973 "documentation for the scheduler E<.UE .>"
1974 msgstr ""
1975 "E<.UR https:\\://docs.kernel.org/\\:scheduler> وثائق نواة لينكس للمجدول E<."
1976 "UE .>"
1977
1978 #. type: Plain text
1979 #: archlinux debian-unstable mageia-cauldron opensuse-leap-16-1
1980 #: opensuse-tumbleweed
1981 msgid ""
1982 "Worth looking at: E<.UR https:\\://wiki.linuxfoundation.org/\\:realtime/\\:"
1983 "start> E<.UE>"
1984 msgstr ""
1985 "يستحق الاطلاع: E<.UR https:\\://wiki.linuxfoundation.org/\\:realtime/\\:"
1986 "start> E<.UE>"
1987
1988 #. type: TH
1989 #: debian-trixie
1990 #, no-wrap
1991 msgid "2024-05-02"
1992 msgstr "2 مايو 2024"
1993
1994 #. type: TH
1995 #: debian-trixie
1996 #, no-wrap
1997 msgid "Linux man-pages 6.9.1"
1998 msgstr "صفحات دليل لينكس 6.9.1"
1999
2000 #. type: Plain text
2001 #: debian-trixie fedora-44 fedora-rawhide
2002 msgid ""
2003 "Processes scheduled under one of the real-time policies (B<SCHED_FIFO>, "
2004 "B<SCHED_RR>) have a I<sched_priority> value in the range 1 (low) to 99 "
2005 "(high). (As the numbers imply, real-time threads always have higher "
2006 "priority than normal threads.) Note well: POSIX.1 requires an "
2007 "implementation to support only a minimum 32 distinct priority levels for the "
2008 "real-time policies, and some systems supply just this minimum. Portable "
2009 "programs should use B<sched_get_priority_min>(2) and "
2010 "B<sched_get_priority_max>(2) to find the range of priorities supported for "
2011 "a particular policy."
2012 msgstr ""
2013 "العمليات المجدولة تحت إحدى سياسات الوقت الحقيقي (B<SCHED_FIFO>، B<SCHED_RR>) "
2014 "لها قيمة I<sched_priority> في النطاق من 1 (منخفض) إلى 99 (مرتفع). (كما تشير "
2015 "الأرقام، خيوط الوقت الحقيقي لها دائمًا أولوية أعلى من الخيوط العادية.) لاحظ "
2016 "جيدًا: يتطلب POSIX.1 من التنفيذ دعم 32 مستوى أولوية متميزًا على الأقل لسياسات "
2017 "الوقت الحقيقي، وتوفر بعض الأنظمة هذا الحد الأدنى فقط. يجب أن تستخدم البرامج "
2018 "المحمولة B<sched_get_priority_min>(2) وB<sched_get_priority_max>(2) للعثور "
2019 "على نطاق الأولويات المدعومة لسياسة معينة."
2020
2021 #. type: Plain text
2022 #: debian-trixie fedora-44 fedora-rawhide
2023 msgid ""
2024 "B<SCHED_FIFO> can be used only with static priorities higher than 0, which "
2025 "means that when a B<SCHED_FIFO> thread becomes runnable, it will always "
2026 "immediately preempt any currently running B<SCHED_OTHER>, B<SCHED_BATCH>, or "
2027 "B<SCHED_IDLE> thread. B<SCHED_FIFO> is a simple scheduling algorithm "
2028 "without time slicing. For threads scheduled under the B<SCHED_FIFO> policy, "
2029 "the following rules apply:"
2030 msgstr ""
2031 "يمكن استخدام B<SCHED_FIFO> فقط مع أولويات ثابتة أعلى من 0، مما يعني أنه "
2032 "عندما يصبح خيط B<SCHED_FIFO> قابلاً للتشغيل، فإنه دائمًا ما يستبق فورًا أي"
2033 " خيط "
2034 "قيد التشغيل حاليًا من نوع B<SCHED_OTHER> أو B<SCHED_BATCH> أو B<SCHED_IDLE>. "
2035 "B<SCHED_FIFO> هي خوارزمية جدولة بسيطة بدون تقطيع زمني. بالنسبة للخيوط "
2036 "المجدولة تحت سياسة B<SCHED_FIFO>، تنطبق القواعد التالية:"
2037
2038 #. type: Plain text
2039 #: debian-trixie fedora-44 fedora-rawhide
2040 #, no-wrap
2041 msgid ""
2042 "arrival/wakeup absolute deadline\n"
2043 " | start time |\n"
2044 " | | |\n"
2045 " v v v\n"
2046 "-----x--------xooooooooooooooooo--------x--------x---\n"
2047 " |E<lt>- comp. time -E<gt>|\n"
2048 " |E<lt>------- relative deadline ------E<gt>|\n"
2049 " |E<lt>-------------- period -------------------E<gt>|\n"
2050 msgstr ""
2051 "arrival/wakeup absolute deadline\n"
2052 " | start time |\n"
2053 " | | |\n"
2054 " v v v\n"
2055 "-----x--------xooooooooooooooooo--------x--------x---\n"
2056 " |E<lt>- comp. time -E<gt>|\n"
2057 " |E<lt>------- relative deadline ------E<gt>|\n"
2058 " |E<lt>-------------- period -------------------E<gt>|\n"
2059
2060 #. commit 5091faa449ee0b7d73bc296a93bca9540fc51d0a
2061 #. type: Plain text
2062 #: debian-trixie fedora-44 fedora-rawhide
2063 msgid ""
2064 "Since Linux 2.6.38, the kernel provides a feature known as autogrouping to "
2065 "improve interactive desktop performance in the face of multiprocess, CPU-"
2066 "intensive workloads such as building the Linux kernel with large numbers of "
2067 "parallel build processes (i.e., the B<make>(1) B<-j> flag)."
2068 msgstr ""
2069 "منذ لينكس 2.6.38، توفر النواة ميزة تُعرف بالتجميع الآلي لتحسين أداء سطح "
2070 "المكتب التفاعلي في مواجهة أعباء العمل متعددة العمليات والمكثفة لوحدة "
2071 "المعالجة المركزية مثل بناء نواة لينكس بأعداد كبيرة من عمليات البناء "
2072 "المتوازية (أي، علامة B<make>(1) B<-j>)."
2073
2074 #. type: Plain text
2075 #: debian-trixie
2076 msgid ""
2077 "When autogrouping is enabled, all of the members of an autogroup are placed "
2078 "in the same kernel scheduler \"task group\". The CFS scheduler employs an "
2079 "algorithm that equalizes the distribution of CPU cycles across task groups. "
2080 "The benefits of this for interactive desktop performance can be described "
2081 "via the following example."
2082 msgstr ""
2083 "عند تمكين التجميع الآلي، تُوضع جميع أعضاء مجموعة آلية في نفس \"مجموعة "
2084 "المهام\" لمجدول النواة. يستخدم مجدول CFS خوارزمية تعادل توزيع دورات وحدة "
2085 "المعالجة المركزية عبر مجموعات المهام. يمكن وصف فوائد ذلك لأداء سطح المكتب "
2086 "التفاعلي من خلال المثال التالي."
2087
2088 #. type: Plain text
2089 #: debian-trixie fedora-44 fedora-rawhide
2090 #, no-wrap
2091 msgid ""
2092 "$ B<cat /proc/1/autogroup>\n"
2093 "/autogroup-1 nice 0\n"
2094 msgstr ""
2095 "$ B<cat /proc/1/autogroup>\n"
2096 "/autogroup-1 nice 0\n"
2097
2098 #. type: Plain text
2099 #: debian-trixie fedora-44 fedora-rawhide
2100 #, no-wrap
2101 msgid "$ B<echo 10 E<gt> /proc/self/autogroup>\n"
2102 msgstr "$ B<echo 10 E<gt> /proc/self/autogroup>\n"
2103
2104 #. FIXME . Probably this text will need some minor tweaking
2105 #. ask Carsten Emde about this.
2106 #. type: Plain text
2107 #: debian-trixie fedora-44 fedora-rawhide
2108 msgid ""
2109 "Since Linux 2.6.18, Linux is gradually becoming equipped with real-time "
2110 "capabilities, most of which are derived from the former I<realtime-preempt> "
2111 "patch set. Until the patches have been completely merged into the mainline "
2112 "kernel, they must be installed to achieve the best real-time performance. "
2113 "These patches are named:"
2114 msgstr ""
2115 "منذ إصدار Linux 2.6.18، أصبح نظام Linux مزودًا تدريجيًا بقدرات تعمل في الوقت "
2116 "الحقيقي، ويستمد معظمها من مجموعة التصحيحات السابقة I<realtime-preempt>. وحتى "
2117 "تُدمج هذه التصحيحات بالكامل في النواة الرئيسية، يجب تثبيتها لتحقيق أفضل أداء "
2118 "في الوقت الحقيقي. وتسمى هذه التصحيحات:"
2119
2120 #. type: Plain text
2121 #: debian-trixie fedora-44 fedora-rawhide
2122 msgid ""
2123 "and can be downloaded from E<.UR http://www.kernel.org\\:/pub\\:/linux\\:/"
2124 "kernel\\:/projects\\:/rt/> E<.UE .>"
2125 msgstr ""
2126 "ويمكن تنزيلها من E<.UR http://www.kernel.org\\:/pub\\:/linux\\:/kernel\\:/"
2127 "projects\\:/rt/> E<.UE .>"
2128
2129 #. type: Plain text
2130 #: debian-trixie fedora-44 fedora-rawhide
2131 msgid ""
2132 "Without the patches and prior to their full inclusion into the mainline "
2133 "kernel, the kernel configuration offers only the three preemption classes "
2134 "B<CONFIG_PREEMPT_NONE>, B<CONFIG_PREEMPT_VOLUNTARY>, and "
2135 "B<CONFIG_PREEMPT_DESKTOP> which respectively provide no, some, and "
2136 "considerable reduction of the worst-case scheduling latency."
2137 msgstr ""
2138 "بدون التصحيحات وقبل إدراجها الكامل في نواة الرئيس، يقدم تهيئة النواة فقط "
2139 "ثلاث فئات استباقية B<CONFIG_PREEMPT_NONE> وB<CONFIG_PREEMPT_VOLUNTARY> "
2140 "وB<CONFIG_PREEMPT_DESKTOP> والتي توفر على التوالي عدم تقليل، تقليل جزئي، "
2141 "وتقليل كبير لأسوأ زمن استجابة جدولة."
2142
2143 #. type: Plain text
2144 #: debian-trixie fedora-44 fedora-rawhide
2145 msgid ""
2146 "With the patches applied or after their full inclusion into the mainline "
2147 "kernel, the additional configuration item B<CONFIG_PREEMPT_RT> becomes "
2148 "available. If this is selected, Linux is transformed into a regular real-"
2149 "time operating system. The FIFO and RR scheduling policies are then used to "
2150 "run a thread with true real-time priority and a minimum worst-case "
2151 "scheduling latency."
2152 msgstr ""
2153 "مع تطبيق التصحيحات أو بعد إدراجها الكامل في نواة الرئيس، يصبح عنصر التهيئة "
2154 "الإضافي B<CONFIG_PREEMPT_RT> متاحًا. إذا اُختير هذا، يتحول لينكس إلى نظام "
2155 "تشغيل زمن حقيقي منتظم. تُستخدم سياسات الجدولة FIFO وRR بعد ذلك لتشغيل خيط "
2156 "بأولوية زمن حقيقي حقيقية وأدنى زمن استجابة جدولة أسوأ حالة."
2157
2158 #. type: Plain text
2159 #: debian-trixie fedora-44 fedora-rawhide
2160 msgid ""
2161 "The Linux kernel source files I<\\%Documentation/\\:scheduler/\\:sched-"
2162 "deadline\\:.txt>, I<\\%Documentation/\\:scheduler/\\:sched-rt-group\\:.txt>, "
2163 "I<\\%Documentation/\\:scheduler/\\:sched-design-CFS\\:.txt>, and I<\\"
2164 "%Documentation/\\:scheduler/\\:sched-nice-design\\:.txt>"
2165 msgstr ""
2166 "ملفات مصدر نواة لينكس I<\\%Documentation/\\:scheduler/\\:sched-deadline\\:."
2167 "txt> وI<\\%Documentation/\\:scheduler/\\:sched-rt-group\\:.txt> وI<\\"
2168 "%Documentation/\\:scheduler/\\:sched-design-CFS\\:.txt> وI<\\%Documentation/"
2169 "\\:scheduler/\\:sched-nice-design\\:.txt>"
2170
2171 #. type: TH
2172 #: fedora-44 fedora-rawhide
2173 #, no-wrap
2174 msgid "2025-02-02"
2175 msgstr "2 فبراير 2025"
2176
2177 #. type: TH
2178 #: fedora-44 fedora-rawhide
2179 #, no-wrap
2180 msgid "Linux man-pages 6.13"
2181 msgstr "صفحات دليل لينكس 6.13"
2182
2183 #. type: TH
2184 #: mageia-cauldron
2185 #, no-wrap
2186 msgid "Linux man-pages 6.17"
2187 msgstr "صفحات دليل لينكس 6.17"
2188
2189 #. type: TH
2190 #: opensuse-leap-16-1 opensuse-tumbleweed
2191 #, no-wrap
2192 msgid "Linux man-pages (unreleased)"
2193 msgstr "صفحات دليل لينكس (لم تصدر بعد)"
2194