Optimize Event Editor Performance
About this task
You can do the following to optimize the performance of the Event Manager:
- Make entries in the Global Parameters file to change the maximum number of scripts that can run simultaneously, or specify how long an idle thread should remain active.
Event Editor global parameters include:
CE_MAX_THREADS | |
CE_THREAD_TIMEOUT |
- Make entries in the Basic Control Engine points file to cache frequently used points.
Each time a script uses a point, it must retrieve the point's definition. You can use the bce_points.cfg file to pre-load point definitions into the Basic Control Engine for the Event Manager. This can provide a performance boost.
The bce_points.cfg file is an ASCII file that needs to be located in your project's Data directory.
To create the bce_points.cfg file:
Procedure
-
Select the Tools>Command Prompt on the Workbench Tools menu.
- Type cd %SITE_ROOT%\data.
-
Type
notepad
bce_points.cfg.
Notepad opens with a blank bce_points.cfg file loaded.
- Enter all the point IDs that you want to cache, one per line in the file.
- Exit Notepad and save the file.
- Stop and restart your project to have the caching take effect.