Skip to main content

Troubleshooting

Too many open files (errno 24)

  • Modify /etc/security/limits.conf to 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 taskset command 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_ipc is running on.
    • Use -a option to specify an unused CPU core.
    • Refer to IPC Server Setup for more detail configurations.