Class Constants
java.lang.Object
uk.ac.manchester.spinnaker.front_end.Constants
Miscellaneous constants that can be overridden by system properties.
-
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final int
Base SDRAM tag to use for core data.static final String
The name of the system property defining the number of parallel tasks that should be executed at once.static final int
The number of parallel tasks that should be executed at once.static final String
The name of the system property defining the threshold at which retrieves are switched over to the fast (data-speed-up-packet-gatherer based) retrieve protocol.static final int
Retrieves of data that is less than this many bytes are done via a normal SCAMP memory read. -
Constructor Summary
Constructors -
Method Summary
-
Field Details
-
PARALLEL_PROPERTY
The name of the system property defining the number of parallel tasks that should be executed at once. The fundamental unit of parallelisation is the SpiNNaker board, as there's a strict limit on just how much trickery can be pushed through a SCAMP process.This is used to set the scaling size of various thread pool executors, and should be set so as to keep the network reasonably busy with a large job.
If a property with this name is absent, a default is used (
4
).- See Also:
-
PARALLEL_SIZE
public static final int PARALLEL_SIZEThe number of parallel tasks that should be executed at once. The fundamental unit of parallelisation is the SpiNNaker board, as there's a strict limit on just how much trickery can be pushed through a SCAMP process.This is used to set the scaling size of various thread pool executors, and should be set so as to keep the network reasonably busy with a large job.
-
SMALL_RETRIEVE_PROPERTY
The name of the system property defining the threshold at which retrieves are switched over to the fast (data-speed-up-packet-gatherer based) retrieve protocol. Below this threshold, the retrieves of data are done via a normal SCAMP memory read.If a property with this name is absent, a default is used (
40000
).- See Also:
-
SMALL_RETRIEVE_THRESHOLD
public static final int SMALL_RETRIEVE_THRESHOLDRetrieves of data that is less than this many bytes are done via a normal SCAMP memory read. -
CORE_DATA_SDRAM_BASE_TAG
public static final int CORE_DATA_SDRAM_BASE_TAGBase SDRAM tag to use for core data. This matches the constant in SpiNNFrontEndCommon.- See Also:
-
-
Constructor Details
-
Constants
public Constants()
-