Job queue

In system software, a job queue (sometimes batch queue), is a data structure maintained by job scheduler software containing jobs to run.

Users submit their programs that they want executed, "jobs", to the queue for batch processing. 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

process scheduling queue

Any process comes to the CPU it should wait in a queue.

Job Q : Guide the process into which queue he should to go and wait which means that the process is waiting for a device.

Ready Q : The process which done and is waiting for running on his second round and the process can jump between queues.

Device Q : Anything related between Input and Output.

See also

This article is issued from Wikipedia. The text is licensed under Creative Commons - Attribution - Sharealike. Additional terms may apply for the media files.