2 <class>ReniceDlgUi</class>
3 <widget class="QWidget" name="ReniceDlgUi" >
4 <property name="geometry" >
12 <layout class="QVBoxLayout" >
13 <property name="spacing" >
16 <property name="margin" >
20 <widget class="QLabel" name="lblMessage1" >
21 <property name="text" >
22 <string>Change scheduling priority for:</string>
24 <property name="alignment" >
25 <set>Qt::AlignVCenter</set>
27 <property name="wordWrap" >
33 <widget class="QListWidget" name="listWidget" >
34 <property name="sizePolicy" >
35 <sizepolicy vsizetype="Preferred" hsizetype="Preferred" >
36 <horstretch>0</horstretch>
37 <verstretch>1</verstretch>
40 <property name="contextMenuPolicy" >
41 <enum>Qt::NoContextMenu</enum>
43 <property name="selectionMode" >
44 <enum>QAbstractItemView::NoSelection</enum>
46 <property name="uniformItemSizes" >
52 <layout class="QGridLayout" >
53 <item row="0" column="0" >
54 <widget class="QLabel" name="imgCPU" >
55 <property name="minimumSize" >
61 <property name="maximumSize" >
67 <property name="text" >
70 <property name="textFormat" >
71 <enum>Qt::AutoText</enum>
73 <property name="pixmap" >
78 <item row="0" column="1" >
79 <layout class="QVBoxLayout" >
81 <widget class="QLabel" name="label" >
82 <property name="font" >
88 <property name="text" >
89 <string>CPU Scheduler</string>
91 <property name="alignment" >
92 <set>Qt::AlignLeading|Qt::AlignLeft|Qt::AlignTop</set>
97 <widget class="QRadioButton" name="radioNormal" >
98 <property name="toolTip" >
99 <string><html><head><meta name="qrichtext" content="1" /><style type="text/css">
100 p, li { white-space: pre-wrap; }
101 </style></head><body style=" font-family:'Sans Serif'; font-size:9pt; font-weight:400; font-style:normal;">
102 <p style=" margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px;">The standard time-sharing scheduler for processes without special requirements.</p></body></html></string>
104 <property name="whatsThis" >
105 <string><html><head><meta name="qrichtext" content="1" /><style type="text/css">
106 p, li { white-space: pre-wrap; }
107 </style></head><body style=" font-family:'Sans Serif'; font-size:9pt; font-weight:400; font-style:normal;">
108 <p style=" margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px;"><span style=" font-weight:600;">Normal Scheduling: Default Linux time-sharing (Other)</span></p>
109 <p style=" margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px; font-weight:600;">Normal<span style=" font-weight:400;"> is the standard Linux time-sharing scheduler that is intended for all processes that do not require special static priority real-time mechanisms. The process to run is chosen from the list of other</span> Normal<span style=" font-weight:400;"> or </span>Batch<span style=" font-weight:400;"> processes based on a dynamic priority that is determined only inside this list. The dynamic priority is based on the priority level given and increased for each time-quantum the process is ready to run, but denied to run by the scheduler. This ensures fair progress among all Normal processes.</span></p></body></html></string>
111 <property name="text" >
112 <string>Normal</string>
117 <widget class="QRadioButton" name="radioBatch" >
118 <property name="toolTip" >
119 <string><html><head><meta name="qrichtext" content="1" /><style type="text/css">
120 p, li { white-space: pre-wrap; }
121 </style></head><body style=" font-family:'Sans Serif'; font-size:9pt; font-weight:400; font-style:normal;">
122 <p style=" margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px;">For CPU-intensive non-interactive processes. Process is mildly disfavored in scheduling decisions.</p></body></html></string>
124 <property name="whatsThis" >
125 <string><html><head><meta name="qrichtext" content="1" /><style type="text/css">
126 p, li { white-space: pre-wrap; }
127 </style></head><body style=" font-family:'Sans Serif'; font-size:9pt; font-weight:400; font-style:normal;">
128 <p style=" margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px;"><span style=" font-weight:600;">Batch Scheduling</span></p>
129 <p style=" margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px; font-weight:600;"><span style=" font-weight:400; font-style:italic;">(Since Linux 2.6.16.)</span><span style=" font-weight:400;"> This policy is similar to </span>Normal<span style=" font-weight:400;">, except that this policy will cause the scheduler to always assume that the process is CPU-intensive. Consequently, the scheduler will apply a small scheduling penalty so that this process is mildly disfavored in scheduling decisions. This policy is useful for workloads that are non-interactive, but do not want to lower their nice value, and for workloads that want a deterministic scheduling policy without interactivity causing extra preemptions (between the workload's tasks).</span></p></body></html></string>
131 <property name="text" >
132 <string>Batch</string>
137 <widget class="QRadioButton" name="radioRR" >
138 <property name="toolTip" >
139 <string><html><head><meta name="qrichtext" content="1" /><style type="text/css">
140 p, li { white-space: pre-wrap; }
141 </style></head><body style=" font-family:'Sans Serif'; font-size:9pt; font-weight:400; font-style:normal;">
142 <p style=" margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px;">Process will run whenever runnable. Higher priority than Normal or Batch. Has Timeslicing.</p></body></html></string>
144 <property name="whatsThis" >
145 <string><html><head><meta name="qrichtext" content="1" /><style type="text/css">
146 p, li { white-space: pre-wrap; }
147 </style></head><body style=" font-family:'Sans Serif'; font-size:9pt; font-weight:400; font-style:normal;">
148 <p style=" margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px;"><span style=" font-weight:600;">Round Robin Scheduling</span></p>
149 <p style=" margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px;"><span style=" font-weight:600;">Round Robin</span> is a simple enhancement of <span style=" font-weight:600;">FIFO</span>. Everything described below for <span style=" font-weight:600;">FIFO</span> also applies to <span style=" font-weight:600;">Round Robin</span>, except that each process is only allowed to run for a maximum time quantum.</p></body></html></string>
151 <property name="text" >
152 <string>Round Robin</string>
157 <widget class="QRadioButton" name="radioFIFO" >
158 <property name="toolTip" >
159 <string><html><head><meta name="qrichtext" content="1" /><style type="text/css">
160 p, li { white-space: pre-wrap; }
161 </style></head><body style=" font-family:'Sans Serif'; font-size:9pt; font-weight:400; font-style:normal;">
162 <p style=" margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px;">Process will run whenever runnable. Higher priority than Normal or Batch. No timeslicing.</p></body></html></string>
164 <property name="whatsThis" >
165 <string><html><head><meta name="qrichtext" content="1" /><style type="text/css">
166 p, li { white-space: pre-wrap; }
167 </style></head><body style=" font-family:'Sans Serif'; font-size:9pt; font-weight:400; font-style:normal;">
168 <p style=" margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px;"><span style=" font-weight:600;">First In-First Out Scheduling</span></p>
169 <p style=" margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px;">When a <span style=" font-weight:600;">FIFO</span> process becomes runnable, it will always immediately preempt any currently running <span style=" font-weight:600;">Normal</span> or <span style=" font-weight:600;">Batch</span> process.</p></body></html></string>
171 <property name="text" >
172 <string>FIFO</string>
178 <item row="0" column="2" >
180 <property name="orientation" >
181 <enum>Qt::Horizontal</enum>
183 <property name="sizeType" >
184 <enum>QSizePolicy::MinimumExpanding</enum>
186 <property name="sizeHint" stdset="0" >
194 <item row="0" column="3" >
195 <widget class="QLabel" name="imgIO" >
196 <property name="minimumSize" >
202 <property name="maximumSize" >
208 <property name="text" >
211 <property name="pixmap" >
216 <item row="0" column="4" >
217 <layout class="QVBoxLayout" >
219 <widget class="QLabel" name="label_3" >
220 <property name="maximumSize" >
222 <width>16777215</width>
226 <property name="font" >
232 <property name="text" >
233 <string>I/O Scheduler</string>
235 <property name="alignment" >
236 <set>Qt::AlignLeading|Qt::AlignLeft|Qt::AlignTop</set>
241 <widget class="QRadioButton" name="radioIONormal" >
242 <property name="toolTip" >
243 <string><html><head><meta name="qrichtext" content="1" /><style type="text/css">
244 p, li { white-space: pre-wrap; }
245 </style></head><body style=" font-family:'Sans Serif'; font-size:9pt; font-weight:400; font-style:normal;">
246 <p style=" margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px;">Process's priority is based on the CPU priority</p></body></html></string>
248 <property name="whatsThis" >
249 <string><html><head><meta name="qrichtext" content="1" /><style type="text/css">
250 p, li { white-space: pre-wrap; }
251 </style></head><body style=" font-family:'Sans Serif'; font-size:9pt; font-weight:400; font-style:normal;">
252 <p style=" margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px;"><span style=" font-weight:600;">Normal Scheduling</span></p>
253 <p style=" margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px;">This is the same as <span style=" font-weight:600;">Best Effort</span> scheduling, except that the priority is calculated automatically based on the CPU priority. Processes with a higher priority will take priority for access to the hard disk. Programs running at the same <span style=" font-weight:600;">Best Effort/Normal</span> priority are served in a <span style=" font-weight:600;">Round Robin</span> fashion.</p></body></html></string>
255 <property name="text" >
256 <string>Normal</string>
261 <widget class="QRadioButton" name="radioIdle" >
262 <property name="toolTip" >
263 <string><html><head><meta name="qrichtext" content="1" /><style type="text/css">
264 p, li { white-space: pre-wrap; }
265 </style></head><body style=" font-family:'Sans Serif'; font-size:9pt; font-weight:400; font-style:normal;">
266 <p style=" margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px;">Process can only use the hard disk when no other process has used it very recently.</p></body></html></string>
268 <property name="whatsThis" >
269 <string><html><head><meta name="qrichtext" content="1" /><style type="text/css">
270 p, li { white-space: pre-wrap; }
271 </style></head><body style=" font-family:'Sans Serif'; font-size:9pt; font-weight:400; font-style:normal;">
272 <p style=" margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px;"><span style=" font-weight:600;">Idle Scheduling</span></p>
273 <p style=" margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px;">A program running with <span style=" font-weight:600;">Idle</span> I/O priority will only get disk time when no other program has asked for disk I/O for a defined grace period. The impact of <span style=" font-weight:600;">Idle</span> I/O processes on normal system activity should be zero. Priority is not applicable to this scheduling class.</p></body></html></string>
275 <property name="text" >
276 <string>Idle</string>
281 <widget class="QRadioButton" name="radioBestEffort" >
282 <property name="toolTip" >
283 <string><html><head><meta name="qrichtext" content="1" /><style type="text/css">
284 p, li { white-space: pre-wrap; }
285 </style></head><body style=" font-family:'Sans Serif'; font-size:9pt; font-weight:400; font-style:normal;">
286 <p style=" margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px;">Process is given higher priority to access the hard disk than Normal.</p></body></html></string>
288 <property name="whatsThis" >
289 <string><html><head><meta name="qrichtext" content="1" /><style type="text/css">
290 p, li { white-space: pre-wrap; }
291 </style></head><body style=" font-family:'Sans Serif'; font-size:9pt; font-weight:400; font-style:normal;">
292 <p style=" margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px;"><span style=" font-weight:600;">Best Effort Scheduling</span></p>
293 <p style=" margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px;">Processes with a higher priority will take priority for access to the hard disk. Programs running at the same <span style=" font-weight:600;">Best Effort/Normal</span> priority are served in a <span style=" font-weight:600;">Round Robin</span> fashion.</p></body></html></string>
295 <property name="text" >
296 <string>Best Effort</string>
301 <widget class="QRadioButton" name="radioRealTime" >
302 <property name="toolTip" >
303 <string><html><head><meta name="qrichtext" content="1" /><style type="text/css">
304 p, li { white-space: pre-wrap; }
305 </style></head><body style=" font-family:'Sans Serif'; font-size:9pt; font-weight:400; font-style:normal;">
306 <p style=" margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px;">Process gets immediate access to the hard disk whenever needed, regardless of what else is going on.</p></body></html></string>
308 <property name="whatsThis" >
309 <string><html><head><meta name="qrichtext" content="1" /><style type="text/css">
310 p, li { white-space: pre-wrap; }
311 </style></head><body style=" font-family:'Sans Serif'; font-size:9pt; font-weight:400; font-style:normal;">
312 <p style=" margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px;"><span style=" font-weight:600;">Real Time Scheduling</span></p>
313 <p style=" margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px;">The <span style=" font-weight:600;">Real Time</span> scheduling class is given first access to the disk, regardless of what else is going on in the system. Thus the <span style=" font-weight:600;">Real Time</span> class needs to be used with some care, as it can starve other processes. As with the <span style=" font-weight:600;">Best Effort</span> class, 8 priority levels are defined denoting how big a time slice a given process will receive on each scheduling window</p></body></html></string>
315 <property name="text" >
316 <string>Real Time</string>
322 <item row="1" column="0" colspan="2" >
323 <layout class="QGridLayout" >
324 <item row="0" column="0" colspan="2" >
325 <widget class="QSlider" name="sliderCPU" >
326 <property name="minimum" >
329 <property name="maximum" >
332 <property name="value" >
335 <property name="orientation" >
336 <enum>Qt::Horizontal</enum>
338 <property name="invertedAppearance" >
341 <property name="tickPosition" >
342 <enum>QSlider::TicksBelow</enum>
344 <property name="tickInterval" >
349 <item row="1" column="0" >
350 <widget class="QLabel" name="lblCpuLow" >
351 <property name="text" >
352 <string>Low Priority</string>
356 <item row="1" column="1" >
357 <widget class="QLabel" name="lblCpuHigh" >
358 <property name="text" >
359 <string>High Priority</string>
361 <property name="alignment" >
362 <set>Qt::AlignRight|Qt::AlignTrailing|Qt::AlignVCenter</set>
368 <item row="1" column="2" >
370 <property name="orientation" >
371 <enum>Qt::Horizontal</enum>
373 <property name="sizeType" >
374 <enum>QSizePolicy::MinimumExpanding</enum>
376 <property name="sizeHint" stdset="0" >
384 <item row="1" column="3" colspan="2" >
385 <layout class="QGridLayout" >
386 <item row="0" column="0" colspan="2" >
387 <widget class="QSlider" name="sliderIO" >
388 <property name="maximum" >
391 <property name="pageStep" >
394 <property name="value" >
397 <property name="sliderPosition" >
400 <property name="orientation" >
401 <enum>Qt::Horizontal</enum>
403 <property name="invertedAppearance" >
406 <property name="tickPosition" >
407 <enum>QSlider::TicksBelow</enum>
409 <property name="tickInterval" >
414 <item row="1" column="0" >
415 <widget class="QLabel" name="lblIOLow" >
416 <property name="text" >
417 <string>Low Priority</string>
421 <item row="1" column="1" >
422 <widget class="QLabel" name="lblIOHigh" >
423 <property name="text" >
424 <string>High Priority</string>
426 <property name="alignment" >
427 <set>Qt::AlignRight|Qt::AlignTrailing|Qt::AlignVCenter</set>
437 <layoutdefault spacing="6" margin="11" />
439 <tabstop>listWidget</tabstop>