Warning, /plasma/libksysguard/processui/ReniceDlgUi.ui is written in an unsupported language. File is not indexed.
0001 <?xml version="1.0" encoding="UTF-8"?> 0002 <ui version="4.0"> 0003 <class>ReniceDlgUi</class> 0004 <widget class="QWidget" name="ReniceDlgUi"> 0005 <property name="geometry"> 0006 <rect> 0007 <x>0</x> 0008 <y>0</y> 0009 <width>652</width> 0010 <height>397</height> 0011 </rect> 0012 </property> 0013 <layout class="QVBoxLayout"> 0014 <property name="spacing"> 0015 <number>0</number> 0016 </property> 0017 <property name="margin"> 0018 <number>0</number> 0019 </property> 0020 <item> 0021 <widget class="QLabel" name="lblMessage1"> 0022 <property name="text"> 0023 <string>Change scheduling priority for:</string> 0024 </property> 0025 <property name="alignment"> 0026 <set>Qt::AlignVCenter</set> 0027 </property> 0028 <property name="wordWrap"> 0029 <bool>true</bool> 0030 </property> 0031 </widget> 0032 </item> 0033 <item> 0034 <widget class="QListWidget" name="listWidget"> 0035 <property name="sizePolicy"> 0036 <sizepolicy hsizetype="Preferred" vsizetype="Preferred"> 0037 <horstretch>0</horstretch> 0038 <verstretch>1</verstretch> 0039 </sizepolicy> 0040 </property> 0041 <property name="contextMenuPolicy"> 0042 <enum>Qt::NoContextMenu</enum> 0043 </property> 0044 <property name="selectionMode"> 0045 <enum>QAbstractItemView::NoSelection</enum> 0046 </property> 0047 <property name="uniformItemSizes"> 0048 <bool>true</bool> 0049 </property> 0050 </widget> 0051 </item> 0052 <item> 0053 <layout class="QGridLayout"> 0054 <item row="0" column="0"> 0055 <widget class="QLabel" name="imgCPU"> 0056 <property name="minimumSize"> 0057 <size> 0058 <width>128</width> 0059 <height>128</height> 0060 </size> 0061 </property> 0062 <property name="maximumSize"> 0063 <size> 0064 <width>128</width> 0065 <height>128</height> 0066 </size> 0067 </property> 0068 <property name="text"> 0069 <string/> 0070 </property> 0071 <property name="textFormat"> 0072 <enum>Qt::AutoText</enum> 0073 </property> 0074 </widget> 0075 </item> 0076 <item row="0" column="1"> 0077 <layout class="QVBoxLayout"> 0078 <item> 0079 <spacer name="verticalSpacer"> 0080 <property name="orientation"> 0081 <enum>Qt::Vertical</enum> 0082 </property> 0083 <property name="sizeHint" stdset="0"> 0084 <size> 0085 <width>0</width> 0086 <height>0</height> 0087 </size> 0088 </property> 0089 </spacer> 0090 </item> 0091 <item> 0092 <widget class="QLabel" name="label"> 0093 <property name="font"> 0094 <font> 0095 <weight>75</weight> 0096 <bold>true</bold> 0097 </font> 0098 </property> 0099 <property name="text"> 0100 <string>CPU Scheduler</string> 0101 </property> 0102 <property name="alignment"> 0103 <set>Qt::AlignLeading|Qt::AlignLeft|Qt::AlignTop</set> 0104 </property> 0105 </widget> 0106 </item> 0107 <item> 0108 <spacer name="verticalSpacer_3"> 0109 <property name="orientation"> 0110 <enum>Qt::Vertical</enum> 0111 </property> 0112 <property name="sizeType"> 0113 <enum>QSizePolicy::Preferred</enum> 0114 </property> 0115 <property name="sizeHint" stdset="0"> 0116 <size> 0117 <width>0</width> 0118 <height>8</height> 0119 </size> 0120 </property> 0121 </spacer> 0122 </item> 0123 <item> 0124 <widget class="QRadioButton" name="radioNormal"> 0125 <property name="toolTip"> 0126 <string><html><head><meta name="qrichtext" content="1" /><style type="text/css"> 0127 p, li { white-space: pre-wrap; } 0128 </style></head><body style=" font-family:'Sans Serif'; font-size:9pt; font-weight:400; font-style:normal;"> 0129 <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> 0130 </property> 0131 <property name="whatsThis"> 0132 <string><html><head><meta name="qrichtext" content="1" /><style type="text/css"> 0133 p, li { white-space: pre-wrap; } 0134 </style></head><body style=" font-family:'Sans Serif'; font-size:9pt; font-weight:400; font-style:normal;"> 0135 <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> 0136 <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> 0137 </property> 0138 <property name="text"> 0139 <string>Normal</string> 0140 </property> 0141 </widget> 0142 </item> 0143 <item> 0144 <widget class="QRadioButton" name="radioBatch"> 0145 <property name="toolTip"> 0146 <string><html><head><meta name="qrichtext" content="1" /><style type="text/css"> 0147 p, li { white-space: pre-wrap; } 0148 </style></head><body style=" font-family:'Sans Serif'; font-size:9pt; font-weight:400; font-style:normal;"> 0149 <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> 0150 </property> 0151 <property name="whatsThis"> 0152 <string><html><head><meta name="qrichtext" content="1" /><style type="text/css"> 0153 p, li { white-space: pre-wrap; } 0154 </style></head><body style=" font-family:'Sans Serif'; font-size:9pt; font-weight:400; font-style:normal;"> 0155 <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> 0156 <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> 0157 </property> 0158 <property name="text"> 0159 <string>Batch</string> 0160 </property> 0161 </widget> 0162 </item> 0163 <item> 0164 <widget class="QRadioButton" name="radioRR"> 0165 <property name="toolTip"> 0166 <string><html><head><meta name="qrichtext" content="1" /><style type="text/css"> 0167 p, li { white-space: pre-wrap; } 0168 </style></head><body style=" font-family:'Sans Serif'; font-size:9pt; font-weight:400; font-style:normal;"> 0169 <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> 0170 </property> 0171 <property name="whatsThis"> 0172 <string><html><head><meta name="qrichtext" content="1" /><style type="text/css"> 0173 p, li { white-space: pre-wrap; } 0174 </style></head><body style=" font-family:'Sans Serif'; font-size:9pt; font-weight:400; font-style:normal;"> 0175 <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> 0176 <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> 0177 </property> 0178 <property name="text"> 0179 <string>Round robin</string> 0180 </property> 0181 </widget> 0182 </item> 0183 <item> 0184 <widget class="QRadioButton" name="radioFIFO"> 0185 <property name="toolTip"> 0186 <string><html><head><meta name="qrichtext" content="1" /><style type="text/css"> 0187 p, li { white-space: pre-wrap; } 0188 </style></head><body style=" font-family:'Sans Serif'; font-size:9pt; font-weight:400; font-style:normal;"> 0189 <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> 0190 </property> 0191 <property name="whatsThis"> 0192 <string><html><head><meta name="qrichtext" content="1" /><style type="text/css"> 0193 p, li { white-space: pre-wrap; } 0194 </style></head><body style=" font-family:'Sans Serif'; font-size:9pt; font-weight:400; font-style:normal;"> 0195 <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> 0196 <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> 0197 </property> 0198 <property name="text"> 0199 <string>FIFO</string> 0200 </property> 0201 </widget> 0202 </item> 0203 </layout> 0204 </item> 0205 <item row="0" column="2"> 0206 <spacer> 0207 <property name="orientation"> 0208 <enum>Qt::Horizontal</enum> 0209 </property> 0210 <property name="sizeType"> 0211 <enum>QSizePolicy::MinimumExpanding</enum> 0212 </property> 0213 <property name="sizeHint" stdset="0"> 0214 <size> 0215 <width>40</width> 0216 <height>20</height> 0217 </size> 0218 </property> 0219 </spacer> 0220 </item> 0221 <item row="0" column="3"> 0222 <widget class="QLabel" name="imgIO"> 0223 <property name="minimumSize"> 0224 <size> 0225 <width>128</width> 0226 <height>128</height> 0227 </size> 0228 </property> 0229 <property name="maximumSize"> 0230 <size> 0231 <width>128</width> 0232 <height>128</height> 0233 </size> 0234 </property> 0235 <property name="text"> 0236 <string/> 0237 </property> 0238 </widget> 0239 </item> 0240 <item row="0" column="4"> 0241 <layout class="QVBoxLayout"> 0242 <item> 0243 <spacer name="verticalSpacer_2"> 0244 <property name="orientation"> 0245 <enum>Qt::Vertical</enum> 0246 </property> 0247 <property name="sizeHint" stdset="0"> 0248 <size> 0249 <width>0</width> 0250 <height>0</height> 0251 </size> 0252 </property> 0253 </spacer> 0254 </item> 0255 <item> 0256 <widget class="QLabel" name="label_3"> 0257 <property name="font"> 0258 <font> 0259 <weight>75</weight> 0260 <bold>true</bold> 0261 </font> 0262 </property> 0263 <property name="text"> 0264 <string>I/O Scheduler</string> 0265 </property> 0266 <property name="alignment"> 0267 <set>Qt::AlignLeading|Qt::AlignLeft|Qt::AlignTop</set> 0268 </property> 0269 </widget> 0270 </item> 0271 <item> 0272 <spacer name="verticalSpacer_4"> 0273 <property name="orientation"> 0274 <enum>Qt::Vertical</enum> 0275 </property> 0276 <property name="sizeType"> 0277 <enum>QSizePolicy::Preferred</enum> 0278 </property> 0279 <property name="sizeHint" stdset="0"> 0280 <size> 0281 <width>0</width> 0282 <height>8</height> 0283 </size> 0284 </property> 0285 </spacer> 0286 </item> 0287 <item> 0288 <widget class="QRadioButton" name="radioIONormal"> 0289 <property name="toolTip"> 0290 <string><html><head><meta name="qrichtext" content="1" /><style type="text/css"> 0291 p, li { white-space: pre-wrap; } 0292 </style></head><body style=" font-family:'Sans Serif'; font-size:9pt; font-weight:400; font-style:normal;"> 0293 <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> 0294 </property> 0295 <property name="whatsThis"> 0296 <string><html><head><meta name="qrichtext" content="1" /><style type="text/css"> 0297 p, li { white-space: pre-wrap; } 0298 </style></head><body style=" font-family:'Sans Serif'; font-size:9pt; font-weight:400; font-style:normal;"> 0299 <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> 0300 <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> 0301 </property> 0302 <property name="text"> 0303 <string>Normal</string> 0304 </property> 0305 </widget> 0306 </item> 0307 <item> 0308 <widget class="QRadioButton" name="radioIdle"> 0309 <property name="toolTip"> 0310 <string><html><head><meta name="qrichtext" content="1" /><style type="text/css"> 0311 p, li { white-space: pre-wrap; } 0312 </style></head><body style=" font-family:'Sans Serif'; font-size:9pt; font-weight:400; font-style:normal;"> 0313 <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> 0314 </property> 0315 <property name="whatsThis"> 0316 <string><html><head><meta name="qrichtext" content="1" /><style type="text/css"> 0317 p, li { white-space: pre-wrap; } 0318 </style></head><body style=" font-family:'Sans Serif'; font-size:9pt; font-weight:400; font-style:normal;"> 0319 <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> 0320 <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> 0321 </property> 0322 <property name="text"> 0323 <string>Idle</string> 0324 </property> 0325 </widget> 0326 </item> 0327 <item> 0328 <widget class="QRadioButton" name="radioBestEffort"> 0329 <property name="toolTip"> 0330 <string><html><head><meta name="qrichtext" content="1" /><style type="text/css"> 0331 p, li { white-space: pre-wrap; } 0332 </style></head><body style=" font-family:'Sans Serif'; font-size:9pt; font-weight:400; font-style:normal;"> 0333 <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> 0334 </property> 0335 <property name="whatsThis"> 0336 <string><html><head><meta name="qrichtext" content="1" /><style type="text/css"> 0337 p, li { white-space: pre-wrap; } 0338 </style></head><body style=" font-family:'Sans Serif'; font-size:9pt; font-weight:400; font-style:normal;"> 0339 <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> 0340 <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> 0341 </property> 0342 <property name="text"> 0343 <string>Best effort</string> 0344 </property> 0345 </widget> 0346 </item> 0347 <item> 0348 <widget class="QRadioButton" name="radioRealTime"> 0349 <property name="toolTip"> 0350 <string><html><head><meta name="qrichtext" content="1" /><style type="text/css"> 0351 p, li { white-space: pre-wrap; } 0352 </style></head><body style=" font-family:'Sans Serif'; font-size:9pt; font-weight:400; font-style:normal;"> 0353 <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> 0354 </property> 0355 <property name="whatsThis"> 0356 <string><html><head><meta name="qrichtext" content="1" /><style type="text/css"> 0357 p, li { white-space: pre-wrap; } 0358 </style></head><body style=" font-family:'Sans Serif'; font-size:9pt; font-weight:400; font-style:normal;"> 0359 <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> 0360 <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> 0361 </property> 0362 <property name="text"> 0363 <string>Real time</string> 0364 </property> 0365 </widget> 0366 </item> 0367 </layout> 0368 </item> 0369 <item row="1" column="0" colspan="2"> 0370 <layout class="QGridLayout"> 0371 <item row="0" column="0" colspan="2"> 0372 <widget class="QSlider" name="sliderCPU"> 0373 <property name="minimum"> 0374 <number>-20</number> 0375 </property> 0376 <property name="maximum"> 0377 <number>19</number> 0378 </property> 0379 <property name="value"> 0380 <number>0</number> 0381 </property> 0382 <property name="orientation"> 0383 <enum>Qt::Horizontal</enum> 0384 </property> 0385 <property name="invertedAppearance"> 0386 <bool>true</bool> 0387 </property> 0388 <property name="invertedControls"> 0389 <bool>true</bool> 0390 </property> 0391 <property name="tickPosition"> 0392 <enum>QSlider::TicksBelow</enum> 0393 </property> 0394 <property name="tickInterval"> 0395 <number>5</number> 0396 </property> 0397 </widget> 0398 </item> 0399 <item row="1" column="0"> 0400 <widget class="QLabel" name="lblCpuLow"> 0401 <property name="text"> 0402 <string>Low Priority</string> 0403 </property> 0404 </widget> 0405 </item> 0406 <item row="1" column="1"> 0407 <widget class="QLabel" name="lblCpuHigh"> 0408 <property name="text"> 0409 <string>High Priority</string> 0410 </property> 0411 <property name="alignment"> 0412 <set>Qt::AlignRight|Qt::AlignTrailing|Qt::AlignVCenter</set> 0413 </property> 0414 </widget> 0415 </item> 0416 </layout> 0417 </item> 0418 <item row="1" column="2"> 0419 <spacer> 0420 <property name="orientation"> 0421 <enum>Qt::Horizontal</enum> 0422 </property> 0423 <property name="sizeType"> 0424 <enum>QSizePolicy::MinimumExpanding</enum> 0425 </property> 0426 <property name="sizeHint" stdset="0"> 0427 <size> 0428 <width>40</width> 0429 <height>20</height> 0430 </size> 0431 </property> 0432 </spacer> 0433 </item> 0434 <item row="1" column="3" colspan="2"> 0435 <layout class="QGridLayout"> 0436 <item row="0" column="0" colspan="2"> 0437 <widget class="QSlider" name="sliderIO"> 0438 <property name="maximum"> 0439 <number>7</number> 0440 </property> 0441 <property name="pageStep"> 0442 <number>1</number> 0443 </property> 0444 <property name="value"> 0445 <number>3</number> 0446 </property> 0447 <property name="sliderPosition"> 0448 <number>3</number> 0449 </property> 0450 <property name="orientation"> 0451 <enum>Qt::Horizontal</enum> 0452 </property> 0453 <property name="invertedAppearance"> 0454 <bool>true</bool> 0455 </property> 0456 <property name="invertedControls"> 0457 <bool>true</bool> 0458 </property> 0459 <property name="tickPosition"> 0460 <enum>QSlider::TicksBelow</enum> 0461 </property> 0462 <property name="tickInterval"> 0463 <number>1</number> 0464 </property> 0465 </widget> 0466 </item> 0467 <item row="1" column="0"> 0468 <widget class="QLabel" name="lblIOLow"> 0469 <property name="text"> 0470 <string>Low Priority</string> 0471 </property> 0472 </widget> 0473 </item> 0474 <item row="1" column="1"> 0475 <widget class="QLabel" name="lblIOHigh"> 0476 <property name="text"> 0477 <string>High Priority</string> 0478 </property> 0479 <property name="alignment"> 0480 <set>Qt::AlignRight|Qt::AlignTrailing|Qt::AlignVCenter</set> 0481 </property> 0482 </widget> 0483 </item> 0484 </layout> 0485 </item> 0486 </layout> 0487 </item> 0488 </layout> 0489 </widget> 0490 <tabstops> 0491 <tabstop>listWidget</tabstop> 0492 </tabstops> 0493 <resources/> 0494 <connections/> 0495 </ui>