guides:reference:jobs:queue_operation
Differences
This shows you the differences between two versions of the page.
| Both sides previous revisionPrevious revisionNext revision | Previous revision | ||
| guides:reference:jobs:queue_operation [2019/12/23 12:08] – ↷ Page moved from menu:operate:jobs:queue_operation to guides:reference:jobs:queue_operation yspeerte | guides:reference:jobs:queue_operation [2024/07/03 12:31] (current) – external edit 127.0.0.1 | ||
|---|---|---|---|
| Line 1: | Line 1: | ||
| + | {{indexmenu_n> | ||
| + | |||
| + | ===== Queue Operation ===== | ||
| + | |||
| + | Each NetYCE front-end server uses a job scheduler that can operate several queues. One queue might suffice but assigning some job-types to a separate queue could prevent many small, quick jobs to be kept pending due to one or two lengthy jobs. | ||
| + | |||
| + | The queues available and the assignment of the various job types to its queue is configured per server in the XML file ''/ | ||
| + | |||
| + | The default queue-definitions section has tree queues. The ' | ||
| + | |||
| + | <code xml> | ||
| + | < | ||
| + | <queue name=" | ||
| + | <queue name=" | ||
| + | <queue name=" | ||
| + | </ | ||
| + | </ | ||
| + | |||
| + | The assignment of the job types to their queues is done in each of the job-type sections: | ||
| + | |||
| + | <code xml> | ||
| + | < | ||
| + | ... | ||
| + | ... | ||
| + | </ | ||
| + | </ | ||
| + | |||
| + | See the section on job configuration in [[guides: | ||
| + | |||
| + | ==== Queue Configuration ==== | ||
| + | |||
| + | The NetYCE scheduler accepts jobs for a queue one at the time. The job submission includes a requested start time on that queue. That requested time can be up to 10 days in advance, but never in the past. It doesn' | ||
| + | |||
| + | Such a 'free slot' is located using the queue-parameter '' | ||
| + | |||
| + | When selecting values for '' | ||
| + | |||
| + | The value for the '' | ||
| + | |||
| + | Please see the section [[guides: | ||
| + | === max_wait variable === | ||
| + | |||
| + | At outlined, the queue will launch every '' | ||
| + | |||
| + | to avoid these ' | ||
| + | |||
| + | The '' | ||
| + | === done_age and cancel_age variables === | ||
| + | |||
| + | The '' | ||
| + | |||
| + | The defaults are 3 minutes (180 seconds) and half an hour (1800 seconds) respectively. | ||
| + | |||
| + | ==== Estimating Jobs per hour ==== | ||
| + | |||
| + | With a '' | ||
| + | |||
| + | It proves that the average job-duration has no impact on the number of jobs-per-hour (if there was no max_run limit). This figure is controlled primarily by the job_int (and the max_run) value. The table below demonstrates this: | ||
| + | |||
| + | ^variable ^case for each job-duration ^^^^^^^ | ||
| + | ^job_int |2 |2 |2 |2 |2 |2 |2 | | ||
| + | ^job_dur |10 |20 |30 |40 |60 |120 |180 | | ||
| + | | | | | | | | | | ||
| + | ^tracks |5 |10 |15 |20 |30 |(< | ||
| + | ^jobs/ | ||
| + | | | | | | | | | | ||
| + | ^jobs/min |30 |30 |30 |30 |30 |25 |16.66 | | ||
| + | ^jobs/hour |1800 |1800 |1800 |1800 |1800 |1500 |1000 | | ||
| + | |||
| + | The limitation '' | ||
| + | |||
| + | The same calculation for the situation where job_int is set to ' | ||
| + | |||
| + | ^variable ^case for each job-duration ^^^^^^^ | ||
| + | ^job_int |4 |4 |4 |4 |4 |4 |4 | | ||
| + | ^job_dur |10 |20 |30 |40 |60 |120 |180 | | ||
| + | | | | | | | | | | ||
| + | ^tracks |2.5 |5 |7.5 |10 |15 |30 |45 | | ||
| + | ^jobs/ | ||
| + | | | | | | | | | | ||
| + | ^jobs/min |15 |15 |25 |15 |15 |15 |15 | | ||
| + | ^jobs/hour |900 |900 |900 |900 |900 |900 |900 | | ||
| + | |||
| + | In general the impact of modifying the '' | ||
| + | |||
| + | ^variable ^case for each job_int ^^^^^^^^^^^^ | ||
| + | ^job_int |1 |2 |3 |4 |5 |6 |10 |12 |15 |20 |30 |60 | | ||
| + | ^jobs/min |60 |30 |20 |15 |12 |10 |6 |5 |4 |3 |2 |1 | | ||
| + | ^jobs/hour |3600 |1800 |1200 |900 |720 |600 |360 |300 |240 |180 |120 |60 | | ||
| + | |||
| + | //// | ||
| + | |||
| + | //// | ||
| + | |||
| + | //// | ||
| + | |||
| + | \\ | ||