We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Reference: Profile-guided optimization
Build TiDB with PGO has 2% ~ 5% QPS increase in sysbench workloads.
Following Build With PGO test is build TiDB with oltp_point_select CPU profile.
Build With PGO
Cluster topology
Build With PGO Step
sysbench --config-file=sysbench.conf oltp_point_select --tables=16 --table-size=1000000 --threads=128 run
curl "http://$TiDB_ID:10080/debug/pprof/profile?seconds=30" > default.pprof
CGO_ENABLED=1 GO111MODULE=on go build -pgo=/dir/default.pprof -tags codes -ldflags '-X "github.com/pingcap/tidb/pkg/parser/mysql.TiDBReleaseVersion=v8.5.0-alpha-134-g4a6bf46a5f" -X "github.com/pingcap/tidb/pkg/util/versioninfo.TiDBBuildTS=2024-11-17 18:31:07" -X "github.com/pingcap/tidb/pkg/util/versioninfo.TiDBGitHash=4a6bf46a5f7eb494412a342345bffc5c22f5e663" -X "github.com/pingcap/tidb/pkg/util/versioninfo.TiDBGitBranch=master" -X "github.com/pingcap/tidb/pkg/util/versioninfo.TiDBEdition=Community" ' -o bin/tidb-server ./cmd/tidb-server
The text was updated successfully, but these errors were encountered:
No branches or pull requests
Enhancement
Reference: Profile-guided optimization
Build TiDB with PGO has 2% ~ 5% QPS increase in sysbench workloads.
Following
Build With PGO
test is build TiDB with oltp_point_select CPU profile.Cluster topology
Build With PGO Step
The text was updated successfully, but these errors were encountered: