Batch queue
Encyclopedia
A batch queue, sometimes also known as job queue, is a system software
System software
System software is computer software designed to operate the computer hardware and to provide a platform for running application software.The most basic types of system software are:...

 data structure
maintained by job scheduler
Job scheduler
A job scheduler is a software application that is in charge of unattended background executions, commonly known for historical reasons as batch processing....

 software.

Users submit their programs that they want executed, "jobs", to the queue for batch processing
Batch processing
Batch processing is execution of a series of programs on a computer without manual intervention.Batch jobs are set up so they can be run to completion without manual intervention, so all input data is preselected through scripts or command-line parameters...

.
The scheduler software maintains the queue as the pool of jobs available for it to run.

Multiple batch queues might be used by the scheduler to differentiate types of jobs
depending on parameters such as:
  • job priority
  • estimated execution time
  • resource requirements


The use of a batch queue gives these benefits:
  • sharing of computer resources among many users
  • time-shifts job processing to when the computer is less busy
  • avoids idling the compute resources without minute-by-minute human supervision
  • allows around-the-clock high utilization of expensive computing resources

Commodore Job queue

The Commodore Job queue is a 5 byte area in the Commodore 1541
Commodore 1541
The Commodore 1541 , made by Commodore International, was the best-known floppy disk drive for the Commodore 64 home computer. The 1541 was a single-sided 170 kilobyte drive for 5¼" disks...

 located at the start of Zero page
Zero page
The zero page is the series of memory addresses at the absolute beginning of a computer's address space; that is, the page whose starting address is zero. The size of a "page" depends on the context, and the significance of zero-page memory versus higher addressed memory is highly dependent on...

 that enjoys a one to one correspondence with a five byte Track queue and 5 byte Sector queue just above it. When a byte over 128 is stored in it, the Interpreter ROM must perform a specific task, and continue to perform it, until it is finally concluded by storing zero in it, or an error code.

See also

  • Command pattern
    Command pattern
    In object-oriented programming, the command pattern is a design pattern in which an object is used to represent and encapsulate all the information needed to call a method at a later time...

  • Command queue
    Command queue
    A command queue is a queue for delaying the execution of commands, usually either in order of priority or on a first-in first-out basis. They are often useful in synchronous applications, where a command executor may receive a new command while it is still performing a previous one, and so requires...

  • Job scheduler
    Job scheduler
    A job scheduler is a software application that is in charge of unattended background executions, commonly known for historical reasons as batch processing....

  • Priority queue
    Priority queue
    A priority queue is an abstract data type in computer programming.It is exactly like a regular queue or stack data structure, but additionally, each element is associated with a "priority"....

The source of this article is wikipedia, the free encyclopedia.  The text of this article is licensed under the GFDL.
 
x
OK