Package uk.ac.manchester.spinnaker.alloc.allocator
package uk.ac.manchester.spinnaker.alloc.allocator
The core allocation system.
There are two key classes in this package, Spalloc
and
AllocatorTask
. Spalloc
provides the main model
implementations of SpallocAPI.Machine
and SpallocAPI.Job
;
when a job is submitted, it is responsible for assigning the job to a machine
and asking the allocator to choose which boards. The allocator
(AllocatorTask
) runs periodically and will choose which boards are
assigned to a job, as well as checking for whether a job has exceeded its
keep-alive time limit.
Actual control over individual boards is done in the
BMPController
.
-
ClassDescriptionThe allocation engine.Manages waiting for values.A service that knows how to initiate the setting of the power state of a job.Manages user quotas.Describes the result of the
QuotaManager.addQuota(int,int)
operation.The core implementation of the Spalloc service.The API of the core service that interacts with the database.Describes the locations of boards in a machine.A request for a specific board.Describes what sort of request to create a job this is.A request for a rectangle of boards.A request for a rectangle of triads rooted at a particular triad.A request for a number of boards.Visitor forSpallocAPI.CreateDescriptor
.Some requests have the locations of boards.Describes a particular job known to the allocator.Describes a list of jobs known to the allocator.Describes a particular machine known to the allocator.A view of part of a machine that is allocated to a job.A thing that may be waited upon.