2 <class>ReniceDlgUi</class>
3 <widget class="QWidget" name="ReniceDlgUi" >
4 <property name="geometry" >
12 <layout class="QVBoxLayout" >
14 <widget class="QLabel" name="lblMessage1" >
15 <property name="text" >
16 <string>Change scheduling priority for:</string>
18 <property name="alignment" >
19 <set>Qt::AlignVCenter</set>
21 <property name="wordWrap" >
27 <widget class="QListWidget" name="listWidget" >
28 <property name="sizePolicy" >
29 <sizepolicy vsizetype="Preferred" hsizetype="Preferred" >
30 <horstretch>0</horstretch>
31 <verstretch>1</verstretch>
34 <property name="contextMenuPolicy" >
35 <enum>Qt::NoContextMenu</enum>
37 <property name="selectionMode" >
38 <enum>QAbstractItemView::NoSelection</enum>
40 <property name="uniformItemSizes" >
46 <layout class="QGridLayout" >
47 <item row="0" column="0" >
48 <widget class="QLabel" name="imgCPU" >
49 <property name="minimumSize" >
55 <property name="maximumSize" >
61 <property name="text" >
64 <property name="textFormat" >
65 <enum>Qt::AutoText</enum>
67 <property name="pixmap" >
72 <item row="0" column="1" >
73 <layout class="QVBoxLayout" >
75 <widget class="QLabel" name="label" >
76 <property name="font" >
82 <property name="text" >
83 <string>CPU Scheduler</string>
85 <property name="alignment" >
86 <set>Qt::AlignLeading|Qt::AlignLeft|Qt::AlignTop</set>
91 <widget class="QRadioButton" name="radioNormal" >
92 <property name="toolTip" >
93 <string><html><head><meta name="qrichtext" content="1" /><style type="text/css">
94 p, li { white-space: pre-wrap; }
95 </style></head><body style=" font-family:'Sans Serif'; font-size:9pt; font-weight:400; font-style:normal;">
96 <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>
98 <property name="whatsThis" >
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;"><span style=" font-weight:600;">Normal Scheduling: Default Linux time-sharing (Other)</span></p>
103 <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>
105 <property name="text" >
106 <string>Normal</string>
111 <widget class="QRadioButton" name="radioBatch" >
112 <property name="toolTip" >
113 <string><html><head><meta name="qrichtext" content="1" /><style type="text/css">
114 p, li { white-space: pre-wrap; }
115 </style></head><body style=" font-family:'Sans Serif'; font-size:9pt; font-weight:400; font-style:normal;">
116 <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>
118 <property name="whatsThis" >
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;"><span style=" font-weight:600;">Batch Scheduling</span></p>
123 <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>
125 <property name="text" >
126 <string>Batch</string>
131 <widget class="QRadioButton" name="radioRR" >
132 <property name="toolTip" >
133 <string><html><head><meta name="qrichtext" content="1" /><style type="text/css">
134 p, li { white-space: pre-wrap; }
135 </style></head><body style=" font-family:'Sans Serif'; font-size:9pt; font-weight:400; font-style:normal;">
136 <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>
138 <property name="whatsThis" >
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;"><span style=" font-weight:600;">Round Robin Scheduling</span></p>
143 <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>
145 <property name="text" >
146 <string>Round Robin</string>
151 <widget class="QRadioButton" name="radioFIFO" >
152 <property name="toolTip" >
153 <string><html><head><meta name="qrichtext" content="1" /><style type="text/css">
154 p, li { white-space: pre-wrap; }
155 </style></head><body style=" font-family:'Sans Serif'; font-size:9pt; font-weight:400; font-style:normal;">
156 <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 that Normal or Batch. No timeslicing.</p></body></html></string>
158 <property name="whatsThis" >
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;"><span style=" font-weight:600;">First In-First Out Scheduling</span></p>
163 <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>
165 <property name="text" >
166 <string>FIFO</string>
172 <item row="0" column="2" >
174 <property name="orientation" >
175 <enum>Qt::Horizontal</enum>
177 <property name="sizeType" >
178 <enum>QSizePolicy::MinimumExpanding</enum>
180 <property name="sizeHint" >
188 <item row="0" column="3" >
189 <widget class="QLabel" name="imgIO" >
190 <property name="minimumSize" >
196 <property name="maximumSize" >
202 <property name="text" >
205 <property name="pixmap" >
210 <item row="0" column="4" >
211 <layout class="QVBoxLayout" >
213 <widget class="QLabel" name="label_3" >
214 <property name="maximumSize" >
216 <width>16777215</width>
220 <property name="font" >
226 <property name="text" >
227 <string>I/O Scheduler</string>
229 <property name="alignment" >
230 <set>Qt::AlignLeading|Qt::AlignLeft|Qt::AlignTop</set>
235 <widget class="QRadioButton" name="radioIONormal" >
236 <property name="toolTip" >
237 <string><html><head><meta name="qrichtext" content="1" /><style type="text/css">
238 p, li { white-space: pre-wrap; }
239 </style></head><body style=" font-family:'Sans Serif'; font-size:9pt; font-weight:400; font-style:normal;">
240 <p style=" margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px;">Processes priority is based on the CPU priority</p></body></html></string>
242 <property name="whatsThis" >
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;"><span style=" font-weight:600;">Normal Scheduling</span></p>
247 <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>
249 <property name="text" >
250 <string>Normal</string>
255 <widget class="QRadioButton" name="radioIdle" >
256 <property name="toolTip" >
257 <string><html><head><meta name="qrichtext" content="1" /><style type="text/css">
258 p, li { white-space: pre-wrap; }
259 </style></head><body style=" font-family:'Sans Serif'; font-size:9pt; font-weight:400; font-style:normal;">
260 <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>
262 <property name="whatsThis" >
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;"><span style=" font-weight:600;">Idle Scheduling</span></p>
267 <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>
269 <property name="text" >
270 <string>Idle</string>
275 <widget class="QRadioButton" name="radioBestEffort" >
276 <property name="toolTip" >
277 <string><html><head><meta name="qrichtext" content="1" /><style type="text/css">
278 p, li { white-space: pre-wrap; }
279 </style></head><body style=" font-family:'Sans Serif'; font-size:9pt; font-weight:400; font-style:normal;">
280 <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>
282 <property name="whatsThis" >
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;"><span style=" font-weight:600;">Best Effort Scheduling</span></p>
287 <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>
289 <property name="text" >
290 <string>Best Effort</string>
295 <widget class="QRadioButton" name="radioRealTime" >
296 <property name="toolTip" >
297 <string><html><head><meta name="qrichtext" content="1" /><style type="text/css">
298 p, li { white-space: pre-wrap; }
299 </style></head><body style=" font-family:'Sans Serif'; font-size:9pt; font-weight:400; font-style:normal;">
300 <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>
302 <property name="whatsThis" >
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;"><span style=" font-weight:600;">Real Time Scheduling</span></p>
307 <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>
309 <property name="text" >
310 <string>Real Time</string>
316 <item row="1" column="0" colspan="2" >
317 <layout class="QGridLayout" >
318 <item row="0" column="0" colspan="2" >
319 <widget class="QSlider" name="sliderCPU" >
320 <property name="minimum" >
323 <property name="maximum" >
326 <property name="value" >
329 <property name="orientation" >
330 <enum>Qt::Horizontal</enum>
332 <property name="invertedAppearance" >
335 <property name="tickPosition" >
336 <enum>QSlider::TicksBelow</enum>
338 <property name="tickInterval" >
343 <item row="1" column="0" >
344 <widget class="QLabel" name="lblCpuLow" >
345 <property name="text" >
346 <string>Low Priority</string>
350 <item row="1" column="1" >
351 <widget class="QLabel" name="lblCpuHigh" >
352 <property name="text" >
353 <string>High Priority</string>
355 <property name="alignment" >
356 <set>Qt::AlignRight|Qt::AlignTrailing|Qt::AlignVCenter</set>
362 <item row="1" column="2" >
364 <property name="orientation" >
365 <enum>Qt::Horizontal</enum>
367 <property name="sizeType" >
368 <enum>QSizePolicy::MinimumExpanding</enum>
370 <property name="sizeHint" >
378 <item row="1" column="3" colspan="2" >
379 <layout class="QGridLayout" >
380 <item row="0" column="0" colspan="2" >
381 <widget class="QSlider" name="sliderIO" >
382 <property name="maximum" >
385 <property name="pageStep" >
388 <property name="value" >
391 <property name="sliderPosition" >
394 <property name="orientation" >
395 <enum>Qt::Horizontal</enum>
397 <property name="invertedAppearance" >
400 <property name="tickPosition" >
401 <enum>QSlider::TicksBelow</enum>
403 <property name="tickInterval" >
408 <item row="1" column="0" >
409 <widget class="QLabel" name="lblIOLow" >
410 <property name="text" >
411 <string>Low Priority</string>
415 <item row="1" column="1" >
416 <widget class="QLabel" name="lblIOHigh" >
417 <property name="text" >
418 <string>High Priority</string>
420 <property name="alignment" >
421 <set>Qt::AlignRight|Qt::AlignTrailing|Qt::AlignVCenter</set>
431 <layoutdefault spacing="6" margin="11" />
433 <tabstop>listWidget</tabstop>