Compass Tuning Parameters
Compass Tuning Parameters
[NBT_BACNET_CONFIG]
NBT_BACNETNETWORK_WORKER_QUEUE_MAXSIZE=100,000 <default value>
This sets the maximum size for the queue of tasks requested per concurrent background thread. Tasks requested include
resolving Net-Mac addresses, determining whether a point has a priority array, and other tasks.
The recommended maximum value setting is 200,000. The enforced limit is much greater than this recommended value;
however, settings higher than 200,000 will cause unacceptable waiting times for requested tasks to complete.
The default value represents an appropriate number for a Compass-1-Small license and has been derived by multiplying
the license device limit by a factor of 20. Increase value accordingly based on the maximum number of devices
supported by the license, e.g. Compass-1-MD value would be 3000 (150 devices x 20); Compass-1-XL value would be
20000 (1000 x 20).
Note: Data display throughput indirectly relies on the size of this queue.
This sets the maximum number of available concurrent background threads used by the WORKER_QUEUE above. The
recommended maximum value setting is 64. The enforced limit is much greater than this recommended value; however,
this recommended maximum value is a practical limit based on the specified minimum number of CPU cores and
installed memory.
The default value represents an appropriate number for the default setting of the WORKER_QUEUE. When making
adjustments to this value, you must monitor the Workstation CPU performance (CPU Usage in Windows Task Manager)
so as to avoid overloading the computer. If the CPU Usage remains at a value above 80% you should decrease the value
of the background threads. Using a multi-core CPU will allow for higher value settings. An eight-core processor will offer
the best performance.
Note: Data display throughput indirectly relies on the number of available concurrent background threads, specifically;
the throughput for initially polled values resolving from “waiting…” to display the actual values. Subsequent updates of
displayed values are dependent on NBT_BACNETNETWORK_IPLINK_POLLSERVICE_NUM_THREADS.
How to Calculate Starting Value: (CPU (Cores) * installed RAM (GB)) * .25
Rev 2
Compass Tuning Parameters
2
Compass Tuning Parameters
The recommended maximum value setting is 32.The enforced limit is much greater than this recommended value;
however, this recommended maximum value is a practical limit based on the specified minimum number of CPU cores
and installed memory.
When making adjustments to these values, you must monitor the primary workstation’s CPU performance (CPU Usage in
Windows Task Manager) to avoid overloading the computer. If the CPU Usage remains at a value above 80%, then you
should decrease the value of the background threads. Using a multi-core CPU allows for higher value settings. An eight-
core processor offers the best performance.
These two settings support the higher-layer background threads described above.
The recommended maximum value setting is 10,000. The enforced limit is much greater than this recommended value;
however, this recommended maximum value is a practical limit based on CPU and other dependent settings.
The default values represent an appropriate number for a Compass-1-Small license and have been derived by
multiplying the license device limit by a factor of 2. Increase value accordingly based on the maximum number of
devices supported by the license. For example, Compass-1-MD value would be 300 (150 devices x 2) and Compass-1-XL
value would be 2000 (1000 x 2).
The number of read/write data points from multiple devices on a display impacts the performance of the Web user
interface. For example, the Compass- NBT component. The following parameters relate specifically to caching and
updating displays.
NBT_BACNETNETWORK_MONITOR_PING_INTERVAL=3600
This setting defines how frequently the Niagara station will send who-is requests to a device that is still present. If the
device’s net/mac has been resolved, it does not send a who-is request, instead it does a read-property request for the
device’s system-status property. Value is in seconds (3600 = 1 hr) Impactful for engineering and commissioning a job.
3
Compass Tuning Parameters
NBT_BACNETNETWORK_DEVICE_POLL_FOR_DEVICE_FACETS_OPTION=False
Niagara points ask for other BACnet properties that we don’t use. False will cause it NOT to request those additional
properties. Beneficial for 3rd party devices for discoverability purposes when set to True.
4
Compass Tuning Parameters
[NBT_DISPLAY_CONFIG]
((T * N) + D) * U)
Where...
5
Compass Tuning Parameters
6
Compass Tuning Parameters
This sets the maximum number of displays and templates that will be cached for all users. The same value is used for
both parameters.
Example
A five-story building has 250 controllers, 10 systems and 240 terminal units. There are 15 unique data displays (.dspx)
and 10 unique device templates (.dvtx). There are three users with system access. Inserting values into the above
equation (10 device templates + 15 data displays), the value for PX_CACHE_MAX_SIZE would be set at 25.
T + D
Where...
7
Compass Tuning Parameters
Note: Multiple factors influence the data update time when viewing displays and templates. These factors include the
number of unique devices being viewed at the same time, the number of data points on the displays being viewed
concurrently, and the current settings related to the work threads in the profile.ini file.
Z*P
Where...
Z = # of Zones
P = # of data Points
8
Compass Tuning Parameters
Items to consider – number of displays that are opened most often and the number of points on these displays.
Where...
D = # of Displays
P = # of data Points
NBT_POINTCACHE_MAX_NUM_PTS * .25
9
Compass Tuning Parameters
10