Optimizing Compilation by Enabling LSE
Purpose
Enable Large System Extensions (LSE) to optimize ARMv8 atomic instructions, making atomic instructions more efficient.
Procedure
- Check the system environment and software dependencies, and generate Makefile.
1./configure
- Modify the src/Makefile.global file.
vim src/Makefile.global
- Press i to enter the insert mode and add the following content to the end of the CFLAGS parameter in line 261:
-march=armv8-a+crc+lse

- Press Esc, type :wq!, and press Enter to save the file and exit.
- Perform the compilation and installation.
make && make install
Parent topic: Database Tuning