Tuning BIOS
Configure advanced BIOS settings to improve server performance.
Method
The
By tracing changes of instructions and data addresses, hardware prefetching reads the instructions and addresses to the cache in advance. Hardware prefetching affects the database performance. Therefore, it is advised to disable it in the BIOS.
By tracing changes of instructions and data addresses, hardware prefetching reads the instructions and addresses to the cache in advance. Hardware prefetching affects the database performance. In online transaction processing (OLTP) scenarios, you are advised to disable the prefetching function for servers that use new Kunpeng 920 processor models. In online analytical processing (OLAP) scenarios where prefetching function is optimized, you are advised to enable it for servers that use new Kunpeng 920 processor models.
In the BIOS settings, the memory refresh rate can be set to the Auto option, which automatically adjusts the memory refresh rate based on the operating temperature. Compared with the default 32 ms option, the automatic refresh can improve memory performance. In addition, this option ensures that memory data is reliable when the operating temperature ranges from 85°C to 95°C.
In high-performance scenarios, you are advised to set the Power Policy to Performance Mode to ensure that the CPU always runs at the highest frequency.
- Disable the SMMU.
Disable the SMMU feature only in non-virtualization scenarios. In virtualization scenarios, enable it.
- (In OLTP scenarios) Disable hardware prefetching.
- In the BIOS, choose and press Enter.
- Set CPU Prefetching Configuration to Disabled, and press F10 to save the settings and exit.
- (In OLAP scenarios) Enable hardware prefetching.
- In the BIOS, choose and press Enter.
- Set CPU Prefetching Configuration to Enabled, and press F10 to save the settings and exit.
- Set the memory refresh rate to Auto.
- Set Power Policy to Performance Mode.