Troubleshooting
Too many open files (errno 24)
- Modify
/etc/security/limits.confto increase the number of open files.~$ cat /etc/security/limits.conf
...
* - nproc 100000
* - nofile 100000
root - nproc 100000
root - nofile 100000 - Refer to Prerequisites for more detail configurations.
Performance fluctuation due to underutilized CPU cores
- Set the CPU governor to performance mode.
$ sudo apt install cpufrequtils
$ cat /etc/init.d/cpufrequtils
...
GOVERNOR="performance"
...
$ sudo systemctl daemon-reload && sudo /etc/init.d/cpufrequtils reload
$ cat /sys/devices/system/cpu/cpu*/cpufreq/scaling_governor
...
performance
performance
... - Try disabling Hyperthreading and use the
tasksetcommand to explicitly set the application’s CPU affinity to the same NUMA node as the Mango NetworkBoost card.
Performance fluctuation due to congested CPU cores
- Carefully assign CPU core pinning for your application.
- Avoid setting the same core that
mango_ipcis running on.- Use
-aoption to specify an unused CPU core. - Refer to IPC Server Setup for more detail configurations.
- Use