Artica Wiki

Multiple instances (SMP) on your proxy service

Using Proxy service in SMP (Symmetric Multi-Processing) mode can provide several benefits for your network infrastructure

By default the proxy service uses a single instance that favors the CPU 1 of your system (technically the CPU #0).
It's important to note that it requires careful configuration and monitoring to ensure proper resource allocation, load balancing, and overall system stability. 

Using multiple instances in the proxy get some benefits:

You need to tune smoothly the number of instances because distributing and managing system resources across multiple cores or threads can be challenging. 
Improper resource allocation may lead to inefficient use of CPU power or memory, resulting in degraded performance or instability. 
Careful monitoring and tuning are necessary to ensure optimal resource utilization.

Each instance is independent in terms of its resources.

This means that if one instance requires the loading of 20 authentication daemons, 15 web filtering daemons, if you add a second instance, you will end up with 40 authentication daemons and 30 web filtering daemons
Be careful with the number of loaded instances 

On 8 instances with 8 cpus, you will end up with 160 authentication daemons and 120 web filtering daemons !!
So many processes to manage will strongly degrade the whole system !
We suggests to use the Artica Stress tool to evaluate correctly settings.

At the center you will be able to affect an instance of available CPU(s);

Start slowly by using 2 and then 3, do not try to associate an instance to each CPU as you risk overloading.