A.1. Recommendations for the number of analyzer instances

For every 16 cores, it is recommended to create one analyzer instance with 14 pipelines. Total: 14 cores are allocated to the analyzer, 1 – ibatyr-redis@0, 1 – ibatyr-nginx.

On a machine with 32 cores there should be 2 analyzer instances and 2 redis.

To evaluate the performance of the analysis node, you can focus on the performance of 16 CPU cores ~ 1000 rps.

Change the memory consumption limit of the existing instance so that the second instance has enough memory. Limit settings are stored in /etc/default/ibatyr-analyzer (MEMORY_LIMIT). The limit applies to one analyzer service instance. You can create an additional instance using the command:

sudo ibatyrctl rescale 2

As a result, additional instances ibatyr-analyzer@1 and ibatyr-redis@1 will be created.

You can add an entry about redis@1 to the settings /etc/ibatyr-nginx/user/server.conf using the command:

set $REDIS "redis://127.0.0.1:6379 redis://127.0.0.1:6380";

Create a new analyzer in the web interface, change the analyzer port and the port in the IP address (watchdog -> endpoints -> controller) to an unoccupied one, for example 6667, change the local redis port to 6380 (see screenshot A.1).

image130

Screenshot A.1 – Analyzer Port

Restart the ibatyr-analyzer service and apply the settings to ibatyr-nginx.