Class Constants

java.lang.Object
uk.ac.manchester.spinnaker.front_end.Constants

public abstract class Constants
extends Object
Miscellaneous constants that can be overridden by system properties.
  • Field Summary

    Fields 
    Modifier and Type Field Description
    static int CORE_DATA_SDRAM_BASE_TAG
    Base SDRAM tag to use for core data.
    static int NEXT_MESSAGES_COUNT
    The number of next messages that should be used in the data speed up gatherer protocol's retransmission mode.
    static String NEXT_MSGS_PROPERTY
    The name of the system property defining the number of next messages that should be used in the data speed up gatherer protocol's retransmission mode.
    static String PARALLEL_PROPERTY
    The name of the system property defining the number of parallel tasks that should be executed at once.
    static int PARALLEL_SIZE
    The number of parallel tasks that should be executed at once.
    static String 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.
    static int SMALL_RETRIEVE_THRESHOLD
    Retrieves of data that is less than this many bytes are done via a normal SCAMP memory read.
  • Constructor Summary

    Constructors 
    Constructor Description
    Constants()  
  • Method Summary

    Methods inherited from class java.lang.Object

    clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
  • Field Details

    • PARALLEL_PROPERTY

      public static final String 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:
      Constant Field Values
    • PARALLEL_SIZE

      public static final int PARALLEL_SIZE
      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.

    • NEXT_MSGS_PROPERTY

      public static final String NEXT_MSGS_PROPERTY
      The name of the system property defining the number of next messages that should be used in the data speed up gatherer protocol's retransmission mode.

      If a property with this name is absent, a default is used (7).

      See Also:
      Constant Field Values
    • NEXT_MESSAGES_COUNT

      public static final int NEXT_MESSAGES_COUNT
      The number of next messages that should be used in the data speed up gatherer protocol's retransmission mode.
    • SMALL_RETRIEVE_PROPERTY

      public static final String 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:
      Constant Field Values
    • SMALL_RETRIEVE_THRESHOLD

      public static final int SMALL_RETRIEVE_THRESHOLD
      Retrieves 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_TAG
      Base SDRAM tag to use for core data. This matches the constant in SpiNNFrontEndCommon.
      See Also:
      Constant Field Values
  • Constructor Details