-
Notifications
You must be signed in to change notification settings - Fork 1.1k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
[#12763] DocDB: Adding PGO build types: prof_gen and prof_use.
Summary: Added build types for generating and using profile for profile guided optimizations with clang. Added forced profile dumping to tserver with prof_gen build. For performance comparison of `release+lto` vs `prof_use+lto` the profile was collected with CassandraKeyValue app. Then CassandraKeyValue, CassandraTransactionalKeyValue and CassandraUniqueSecondaryIndex were run 9 times each. Comparing the average of 9 runs of the average of the first 30 read ops/sec. Parameters for all apps: --num_unique_keys 1000000 --num_threads_read 128 --num_threads_write 4 --nouuid --num_writes 10000 --num_reads 10000000 ``` app | release | prof_use | prof_use/release | ops/sec | ops/sec | CassandraKeyValue | 43348.1 | 45550.8 | 1.051 CassandraTransactionalKeyValue | 28487.5 | 29574.7 | 1.038 CassandraUniqueSecondaryIndex | 39259.1 | 42316.8 | 1.078 ``` Test Plan: Run builds and yb-sample-apps Reviewers: dfelsing, mbautin Reviewed By: dfelsing, mbautin Subscribers: dfelsing, mbautin, bogdan Differential Revision: https://phabricator.dev.yugabyte.com/D18258
- Loading branch information
1 parent
25e488d
commit 34cb791
Showing
5 changed files
with
108 additions
and
9 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters