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
.
-
Interface Summary Interface Description PowerController A service that knows how to initiate the setting of the power state of a job.SpallocAPI The API of the core service that interacts with the database.SpallocAPI.BoardLocation Describes the locations of boards in a machine.SpallocAPI.CreateVisitor<T> Visitor forSpallocAPI.CreateDescriptor
.SpallocAPI.Job Describes a particular job known to the allocator.SpallocAPI.Jobs Describes a list of jobs known to the allocator.SpallocAPI.Machine Describes a particular machine known to the allocator.SpallocAPI.SubMachine A view of part of a machine that is allocated to a job.SpallocAPI.Waitable A thing that may be waited upon. -
Class Summary Class Description AllocatorTask The allocation engine.Epochs Manages waiting for values.QuotaManager Manages user quotas.QuotaManager.AdjustedQuota Describes the result of theQuotaManager.addQuota(int,int)
operation.Spalloc The core implementation of the Spalloc service.SpallocAPI.CreateBoard A request for a specific board.SpallocAPI.CreateDescriptor Describes what sort of request to create a job this is.SpallocAPI.CreateDimensions A request for a rectangle of boards.SpallocAPI.CreateDimensionsAt A request for a rectangle of triads rooted at a particular triad.SpallocAPI.CreateNumBoards A request for a number of boards.SpallocAPI.HasBoardCoords Some requests have the locations of boards.