--use-largepages=mode
在启动时将 Node.js 静态代码重新映射到大内存页。如果目标系统支持,这将导致 Node.js 静态代码被移动到 2 MiB 页而不是 4 KiB 页上。
【Re-map the Node.js static code to large memory pages at startup. If supported on the target system, this will cause the Node.js static code to be moved onto 2 MiB pages instead of 4 KiB pages.】
mode 的以下值是有效的:
【The following values are valid for mode:】
off:不会尝试映射。这是默认设置。on:如果操作系统支持,将尝试进行映射。映射失败将被忽略,并且消息会打印到标准错误输出。silent:如果操作系统支持,将尝试映射。映射失败将被忽略,不会报告。