Recognition server

Attention

Comply with the requirements for stable operation of the server, databases and system components. Failure to comply with the requirements may cause system instability.

System requirements for graphic recognition server:

Recommended System Requirements

Description

Operating system

  • Ubuntu 18.04;

  • Ubuntu 20.04;

  • Ubuntu 22.04;

  • Astra Linux 1.7.

Additional software

  • Python 3.7;

  • Python 3.7-venv;

  • libpoppler-cpp0v5 poppler-utils libsm6 tesseract-ocr.

CPU

Intel or AMD with support for AVX instructions. The number of threads/cores depends on the number of users.
One core is capable of processing up to 28,800 images per day.
On average, a user generates about 2000 images per day.

Disk Size

up to 100 GB.

Disk

NVME with a read-write speed of at least 1500 MB/sec.

IOPS

at least 5000 I/O operations per second.

RAM

Used for recognition depending on the size and complexity of the file.
It is recommended to count up to 80 MB per graphic or screenshot,
up to 300 MB.

Check version Python

Check current Python version: python3 –version

Install Python3.7: sudo apt install python3.7

Below are the requirements for the processor and RAM to process all the data in a day, including heavy files:

Agents

Average number of images

CPU

RAM

10

20,000

2

4 GB

50

100,000

6

6 GB

100

200,000

9

6 GB

200

400,000

16

8 GB

500

1,000,000

37

16 GB

1000

2,000,000

72

24 GB

Calculation of the number of threads/cores and the amount of RAM

Below are calculations to determine system requirements.

Note

The option Screenshots when window focus changes is enabled and Take screenshots only when the process is changed is disabled, generates a huge number of screenshots.

As a rule, a user generates from 1500 to 2000 screenshots per day, depending on his activity and the number of monitors. One core can process up to 28,800 screenshots per day.

The calculation is made for 300 PCs with the module enabled Screenshots.

Thus, the number of screenshots per day:

2000 * 300 = 600 000 скриншотов

We divide the total number of screenshots by the number of images processed by one core:

600 000 / 28 800 ≈ 21 потоков/ядер

Calculation of RAM capacity

On average, image processing requires about 80 MB per core. To calculate the amount of RAM, multiply the number of cores/threads by the amount of memory for one core and one thread:

21*80 = 1680 МБ

Image converters and the server operating system itself operate in parallel. Depending on the data received, they require from 1 to 4 GB of RAM.

Thus, for optimal system functioning under heavy load, use at least 8 GB of RAM on the server.