How can I speed up model activation time when starting SpectroSERVER?

Document ID : KB000044076
Last Modified Date : 14/02/2018
Show Technical Document Details

Introduction:

This is a tech doc detailing the steps that can be taken to speed up the time that it takes for model activation to complete  when starting Spectroserver.

Question:

How can I speed up model activation time when starting SpectroSERVER?

Environment:

Any

Answer:

There are a couple of changes that can be made in order to speed up the model activation time when starting up the SpectroSERVER.

1.      Speeding up activation process when there are a large number of SPM tests:

The first is related to SPM tests with model activation potentially being increased if there are a high number of SPM tests being run.

SPM tests start running before model activation can complete resulting in the RTM_Inventory model taking a long time to activate.

If there are a high number of SPM test being run the modification below is recommended to help reduce model activation time.


Note: There is no negative impact to making this change in relation to performance or other.

In the .vnmrc file located $SPECROOT/SS add the following line:

spm_wait_activate=yes

After making this change restart the Spectroserver.

This will prevent SPM from performing external reads until the SpectroSERVER is activated.

2.      Speeding up activation process by forcing device activation at startup:

Make the following modification in order to force all models to be activated at startup:

In the .vnmrc file located $SPECROOT/SS add the following line:

Allow_UpdAllSearches_Mode=true

After making this change restart the Spectroserver.