Skip to main content
U.S. Department of Energy
Office of Scientific and Technical Information

The WorkQueue project: A task queue for the CMS workload management system

Conference · · J.Phys.Conf.Ser.
We present the development and first experience of a new component (termed WorkQueue) in the CMS workload management system. This component provides a link between a global request system (Request Manager) and agents (WMAgents) which process requests at compute and storage resources (known as sites). These requests typically consist of creation or processing of a data sample (possibly terabytes in size). Unlike the standard concept of a task queue, the WorkQueue does not contain fully resolved work units (known typically as jobs in HEP). This would require the WorkQueue to run computationally heavy algorithms that are better suited to run in the WMAgents. Instead the request specifies an algorithm that the WorkQueue uses to split the request into reasonable size chunks (known as elements). An advantage of performing lazy evaluation of an element is that expanding datasets can be accommodated by having job details resolved as late as possible. The WorkQueue architecture consists of a global WorkQueue which obtains requests from the request system, expands them and forms an element ordering based on the request priority. Each WMAgent contains a local WorkQueue which buffers work close to the agent, this overcomes temporary unavailability of the global WorkQueue and reduces latency for an agent to begin processing. Elements are pulled from the global WorkQueue to the local WorkQueue and into the WMAgent based on the estimate of the amount of work within the element and the resources available to the agent. WorkQueue is based on CouchDB, a document oriented NoSQL database. The WorkQueue uses the features of CouchDB (map/reduce views and bi-directional replication between distributed instances) to provide a scalable distributed system for managing large queues of work. The project described here represents an improvement over the old approach to workload management in CMS which involved individual operators feeding requests into agents. This new approach allows for a system where individual WMAgents are transient and can be added or removed from the system as needed.
Research Organization:
Fermi National Accelerator Laboratory (FNAL), Batavia, IL (United States)
Sponsoring Organization:
USDOE Office of Science (SC), High Energy Physics (HEP) (SC-25)
DOE Contract Number:
AC02-07CH11359
OSTI ID:
1405157
Report Number(s):
FERMILAB-CONF-12-836-CD; 1211253
Conference Information:
Journal Name: J.Phys.Conf.Ser. Journal Volume: 396
Country of Publication:
United States
Language:
English

Similar Records

The CMS workload management system
Conference · Sat Dec 31 23:00:00 EST 2011 · J.Phys.Conf.Ser. · OSTI ID:1405156

Characteristics of workload on ASCI blue-pacific at lawrence livermore national laboratory
Conference · Mon Aug 14 00:00:00 EDT 2000 · OSTI ID:15006159

Integration of PanDA workload management system with Titan supercomputer at OLCF
Journal Article · Tue Dec 22 19:00:00 EST 2015 · Journal of Physics. Conference Series · OSTI ID:1567387

Related Subjects