Overview
Algorithm
CPU Cores | Memory* | Concurrency |
1,2 | >3072m | 24 |
>1280m | 14 | |
3,4,5 | >7168m | 48 |
>3072m | 32 | |
>1280m | 24 | |
6,7 | >7168m | 64 |
>3072m | 32 | |
>1280m | 24 | |
>7 | >7168m | 72 |
>3072m | 48 | |
>1280m | 24 |
If none of these conditions is met the concurrency is set to 10.
*Memory - This is the actually free memory at the time of calculation, not necessarily the same as the maximum memory.
Daily Automatic Reconfiguration
The automatic concurrency settings are reconfigured daily.
10 minutes after the service first starts the netLD server will execute the above algorithm and save the newly calculated concurrency settings. Afterward, netLD will recalculate and save the new values each 24 hours.
So, if extra memory is added to the server, netLD will automatically detect this and the concurrency settings will be updated.
Manual Override
Linux*
cd /usr/share/netld ./dbutil prefset dancer.server.dispatcher:maxThreadCount 20
* Commands must be run as root
Windows*
cd "c:\Program Files\Net LineDancer" Perl\bin\perl.exe dbutil prefset dancer.server.dispatcher:maxThreadCount 20
* Commands must be run as Administrator
Reset to Automatic
To reset the concurrency back to auto run the following command.
Linux*
cd /usr/share/netld ./dbutil prefreset dancer.server.dispatcher:maxThreadCount
* Commands must be run as root
Windows*
cd "c:\Program Files\Net LineDancer" Perl\bin\perl.exe dbutil prefreset dancer.server.dispatcher:maxThreadCount
* Commands must be run as Administrator