Pitfall Record: Enabling PGO Compilation Optimization in GCC 7.3.0 Results in Missing gcov Symbols? The Final Solution is Here!

Pitfall Record: Enabling PGO Compilation Optimization in GCC 7.3.0 Results in Missing gcov Symbols? The Final Solution is Here!

1. Background In the performance optimization practice of C/C++, PGO (Profile-Guided Optimization) is a very effective compilation optimization technique. The basic process is divided into two stages: Generation Stage (profile-generate): The compiler inserts additional counting logic into the code (e.g., function call counts, branch hit counts, etc.). Usage Stage (profile-use): The runtime collected profile data … Read more

Asynchronous Rust Practice: Performance, Pitfalls, Analysis

Asynchronous Rust Practice: Performance, Pitfalls, Analysis

Rust Code Updates in the Linux Kernel Introduce More Features Miguel Ojeda has released the latest patch series that implements the foundational infrastructure for the Rust programming language in the Linux kernel, along with initial sample code. The v8 version with Rust support has been released today, adding support for using the Rust programming language … Read more

Aliyun Arm Server Testing: Enabling MySQL PGO Performance Improvement

Aliyun Arm Server Testing: Enabling MySQL PGO Performance Improvement

This article is reprinted from the Jishu Community. Jishu Column: Arm Server Author:BoltLiu This is a test report on enabling MySQL PGO. Correctly enabling MySQL PGO leads to significant performance improvements, with write performance increasing by about 13% and read performance increasing by about 20%. Environment Setup The testing environment is set up on an … Read more