Search
Page 71 of 111. Showing 1,104 results (0.015 seconds)
Externally Updatable Worker Resources and Properties
(New in 6.3) Qube! 6.3 introduces Externally Updatable Worker Resources and Properties, which are site-defined worker resources and properties that may be periodically updated externally by programs using API calls. Jobs, on submission, may "reserve" thes…First Come, First Served (FCFS)
The queue algorithm is a simple first-in, first-out system. Jobs are queued out in the order in which they are submitted. In this queuing scheme, jobs are sorted by their IDs, so jobs with lower IDs will be dispatched to run before jobs with higher IDs. I…Priority
The priority algorithm is a numeric priority queue. Normally, the priorities are established such that lower values are considered to have higher priority. For example, a job with priority 1 will have a higher priority than a job with priority 10. The def…qb_init()
This function is called for every thread once before executing the algorithm. This is to allow developers to do pre-initialization such as opening a database.…qb_starthost_init()
This function is called for every thread before executing the qb_jobcmp() function.…qb_jobcmp($joba, $jobb, $host)
This is a comparison function similar to that used in the Perl "sort" routine. @items = sort { $a <=> $b } @items; The comparison function is given 2 jobs, "a" and "b" relative to a single host. For queuing algorithms which don't take the host's propertie…qb_starthost_deinit()
This function is called for every thread after executing the qb_jobcmp() function.…qb_startjob_init()
This function is called for every thread before executing the qb_hostcmp() function.…qb_hostcmp($hosta, $hostb, $job)
Like the qb_jobcmp() function, this is a comparison function similar to that used in the Perl "sort" routine. @items = sort { $a <=> $b } @items; This comparison function is given 2 hosts, "a" and "b" relative to a single job. Although this is not as crit…qb_rejectjob($job, $host)
With every system, there are situations where a job shouldn't run on a host. While this can be controlled by the Qube! job routine features, the queuing algorithm also has the ability to reject job a job from running on a host. The $job and the $host are…