<?xml version="1.0"?>
<feed xmlns="http://www.w3.org/2005/Atom" xml:lang="en">
	<id>http://wiki.define-technology.com/mediawiki-1.35.0/index.php?action=history&amp;feed=atom&amp;title=Absolute_Priority_Scheduling</id>
	<title>Absolute Priority Scheduling - Revision history</title>
	<link rel="self" type="application/atom+xml" href="http://wiki.define-technology.com/mediawiki-1.35.0/index.php?action=history&amp;feed=atom&amp;title=Absolute_Priority_Scheduling"/>
	<link rel="alternate" type="text/html" href="http://wiki.define-technology.com/mediawiki-1.35.0/index.php?title=Absolute_Priority_Scheduling&amp;action=history"/>
	<updated>2026-05-04T18:46:07Z</updated>
	<subtitle>Revision history for this page on the wiki</subtitle>
	<generator>MediaWiki 1.35.0</generator>
	<entry>
		<id>http://wiki.define-technology.com/mediawiki-1.35.0/index.php?title=Absolute_Priority_Scheduling&amp;diff=2303&amp;oldid=prev</id>
		<title>Michael: Created page with &quot;This allows us to configure jobs that increase in priority over time and set certain queues to remain at a static priority, allowing for very low priority jobs only to be run ...&quot;</title>
		<link rel="alternate" type="text/html" href="http://wiki.define-technology.com/mediawiki-1.35.0/index.php?title=Absolute_Priority_Scheduling&amp;diff=2303&amp;oldid=prev"/>
		<updated>2013-05-01T09:28:05Z</updated>

		<summary type="html">&lt;p&gt;Created page with &amp;quot;This allows us to configure jobs that increase in priority over time and set certain queues to remain at a static priority, allowing for very low priority jobs only to be run ...&amp;quot;&lt;/p&gt;
&lt;p&gt;&lt;b&gt;New page&lt;/b&gt;&lt;/p&gt;&lt;div&gt;This allows us to configure jobs that increase in priority over time and set certain queues to remain at a static priority, allowing for very low priority jobs only to be run when the cluster is quite.&lt;br /&gt;
&lt;br /&gt;
===== Set JOB_PRIORITY_OVER_TIME =====&lt;br /&gt;
* In lsb.params&lt;br /&gt;
&amp;lt;syntaxhighlight&amp;gt;&lt;br /&gt;
MAX_USER_PRIORITY = 100&lt;br /&gt;
JOB_PRIORITY_OVER_TIME=5/1 # 5 increment every 1 minutes&lt;br /&gt;
&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
&lt;br /&gt;
===== Set up the Queues =====&lt;br /&gt;
&amp;lt;syntaxhighlight&amp;gt;&lt;br /&gt;
Begin Queue&lt;br /&gt;
QUEUE_NAME   = normal&lt;br /&gt;
PRIORITY     = 30&lt;br /&gt;
NICE         = 20&lt;br /&gt;
INTERACTIVE   = NO&lt;br /&gt;
HOSTS         = all&lt;br /&gt;
DESCRIPTION  = Queue for default batch jobs&lt;br /&gt;
APS_PRIORITY = WEIGHT [[JPRIORITY, 1] [QPRIORITY, 10]]&lt;br /&gt;
End Queue&lt;br /&gt;
&lt;br /&gt;
Begin Queue&lt;br /&gt;
QUEUE_NAME   = low&lt;br /&gt;
PRIORITY     = 1&lt;br /&gt;
NICE         = 20&lt;br /&gt;
INTERACTIVE   = NO&lt;br /&gt;
HOSTS         = all&lt;br /&gt;
USERS         = all&lt;br /&gt;
DESCRIPTION  = Low Priority Queue for batch jobs&lt;br /&gt;
APS_PRIORITY = WEIGHT [[QPRIORITY, 1]]&lt;br /&gt;
End Queue&lt;br /&gt;
&lt;br /&gt;
# Note: master slave setup also possible: check jobpriorities.html&lt;br /&gt;
# add: QUEUE_GROUP = low, in the normal queue definition&lt;br /&gt;
&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
&lt;br /&gt;
===== Check APS with bjobs =====&lt;br /&gt;
With this in place I started submitted jobs as user david, 7 to the normal queue, then 6 to the low queue (with a job limit of 5)&lt;br /&gt;
&amp;lt;syntaxhighlight&amp;gt;&lt;br /&gt;
[david@vhpchead ~]$ bjobs -aps&lt;br /&gt;
JOBID   USER    STAT  QUEUE      FROM_HOST   EXEC_HOST   JOB_NAME   SUBMIT_TIME   APS&lt;br /&gt;
61581   david   RUN   normal     vhpchead    gpu-01-00   sleep 600  Jun  2 14:55   -&lt;br /&gt;
61582   david   RUN   normal     vhpchead    gpu-01-00   sleep 600  Jun  2 14:55   -&lt;br /&gt;
61583   david   RUN   normal     vhpchead    gpu-01-00   sleep 600  Jun  2 14:55   -&lt;br /&gt;
61584   david   RUN   normal     vhpchead    gpu-01-00   sleep 600  Jun  2 14:55   -&lt;br /&gt;
61585   david   RUN   normal     vhpchead    gpu-01-00   sleep 600  Jun  2 14:55   -&lt;br /&gt;
61586   david   PEND  normal     vhpchead                sleep 600  Jun  2 14:55  345.00&lt;br /&gt;
61587   david   PEND  normal     vhpchead                sleep 600  Jun  2 14:55  345.00&lt;br /&gt;
61588   david   PEND  low        vhpchead                sleep 600  Jun  2 14:55  1.00&lt;br /&gt;
61589   david   PEND  low        vhpchead                sleep 600  Jun  2 14:55  1.00&lt;br /&gt;
61590   david   PEND  low        vhpchead                sleep 600  Jun  2 14:55  1.00&lt;br /&gt;
61591   david   PEND  low        vhpchead                sleep 600  Jun  2 14:55  1.00&lt;br /&gt;
61592   david   PEND  low        vhpchead                sleep 600  Jun  2 14:55  1.00&lt;br /&gt;
61593   david   PEND  low        vhpchead                sleep 600  Jun  2 14:55  1.00&lt;br /&gt;
&amp;lt;/syntaxhighlight&amp;gt;&lt;/div&gt;</summary>
		<author><name>Michael</name></author>
	</entry>
</feed>