Device Security Hardening

After the device OS allocates huge pages, they are cleared by default, which can deteriorate performance. To enable high-performance mode, you can manually configure the huge pages to remain uncleared. However, this poses a risk of kernel and user data leakage.

To disable huge page clearing, perform the following steps:

  1. Log in to all devices involved in training.
  2. Run the echo 0 > /proc/sys/sharepool/sharepool_clear_hugepage command on each device that participates in training.

    You can call other APIs to check whether the modification is successful.