From 224fa28bb596e2b9d703deb1960e9a2139743947 Mon Sep 17 00:00:00 2001 From: jirongq <719547995@qq.com> Date: Fri, 26 Sep 2025 20:40:49 +0800 Subject: [PATCH] Update check-before-deployment.md add link for command reference --- check-before-deployment.md | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/check-before-deployment.md b/check-before-deployment.md index e96502d30dfdc..77676eb14cea2 100644 --- a/check-before-deployment.md +++ b/check-before-deployment.md @@ -404,13 +404,13 @@ sudo systemctl enable ntpd.service For TiDB in the production environment, it is recommended to optimize the operating system configuration in the following ways: -1. Disable THP (Transparent Huge Pages). The memory access pattern of databases tends to be sparse rather than consecutive. If the high-level memory fragmentation is serious, higher latency will occur when THP pages are allocated. -2. Set the I/O Scheduler of the storage media. +1. Refer to [Memory—transparent huge page (THP)](/tune-operating-system/#Memory—transparent huge page (THP)) and disable THP (Transparent Huge Pages). The memory access pattern of databases tends to be sparse rather than consecutive. If the high-level memory fragmentation is serious, higher latency will occur when THP pages are allocated. +2. Refer to [I/O scheduler](/tune-operating-system/#I/O scheduler) and set the I/O Scheduler of the storage media. - For the high-speed SSD storage, the kernel's default I/O scheduling operations might cause performance loss. It is recommended to set the I/O Scheduler to first-in-first-out (FIFO), such as `noop` or `none`. This configuration allows the kernel to pass I/O requests directly to hardware without scheduling, thus improving performance. - For NVMe storage, the default I/O Scheduler is `none`, so no adjustment is needed. -3. Choose the `performance` mode for the cpufrequ module which controls the CPU frequency. The performance is maximized when the CPU frequency is fixed at its highest supported operating frequency without dynamic adjustment. +3. Refer to [CPU—frequency scaling](/tune-operating-system/#CPU—frequency scaling) and choose the `performance` mode for the cpufrequ module which controls the CPU frequency. The performance is maximized when the CPU frequency is fixed at its highest supported operating frequency without dynamic adjustment. Take the following steps to check the current operating system configuration and configure optimal parameters: