First released in SmartSpace version: 3.11

Configuring Ordered and Staggered Service Startup

During dataset startup, the service controller orders and staggers services to spread the load and reduce disk input/output (I/O) contention and startup latency. Service order and service staggering are controlled by the configuration parameters controller_start_ordered and controller_start_delay respectively. These are local configuration parameters, which are set in the registry (if you are using Windows) or in etc/ubisense/platform.conf (if you are using Linux). Both parameters can be disabled and service staggering can be adjusted.

By default, controller_start_ordered is enabled and causes services to be started in package priority order rather than database cursor order. The order of priority for services to be started is:

  1. Platform services

  2. SmartSpace core services

  3. Smart worker support services

  4. Location rules services

  5. Remaining Ubisense services

  6. Non-Ubisense services

The default value for controller_start_delay is 0.2 seconds, causing the controller to pause for 0.2 seconds between starting each executable.

Changing the default values

To change the default values, edit the configuration parameters in the registry, if you are using Windows, or in etc/ubisense/platform.conf, if you are using Linux.

ClosedHelp for working with the Registry Editor >>

The following instructions show you how to use the Registry Editor to add or edit configuration parameters. Take care to enter any details correctly as there is no validation of these values.

  1. Open the Registry Editor by typing regedit in the Start menu.

    If you are asked if you want to allow the app to make changes to your computer, choose Yes.

  2. Navigate to Computer\HKEY_LOCAL_MACHINE\SOFTWARE\WOW6432Node\Ubisense 2.1\Platform\Config.

    Note there are other Ubisense settings in the registry. Take care not to accidentally modify or delete these.

    Registry Editor showing Ubisense local configuration parameters

  3. To add a new parameter:

    1. Right click in an empty part of the Registry Editor window and choose New > String Value.

      Registry Editor showing menu for adding a new key value

    2. Give the new parameter a name.

  4. To add or edit the value associated with the parameter, right click the parameter name to open the Edit String dialog:

    Registry Editor showing editing of the value of a configuration parameter

  5. Type in the value and click OK.

controller_start_ordered

To turn off ordered startup, set controller_start_ordered to 0.

Change the value to 1 to enable ordered startup again.

controller_start_delay

To change the delay between the start up of each executable, enter the number of seconds to set the new delay.

Set the number of seconds to 0 to remove the delay and have all services start in a single pass.