starrocks/thirdparty
lichaoyong 05f4ea89bd
[Refactor] Change the license from StarRocks Limited to StarRocks Inc (#10093)
2022-08-17 14:05:09 +08:00
..
minidump [Feature] Change for re-enable minidump (#8526) 2022-07-11 21:51:19 +08:00
patches Upgrade librdkafka from 1.7.0 to 1.8.2 (#9133) 2022-07-25 10:37:37 +08:00
LICENSE.txt Remove unused dependencies (#236) 2021-09-15 15:57:34 +08:00
README.md Add `-fno-omit-frame-pointer` to aws-sdk-cpp (#3816) 2022-03-04 10:45:02 +08:00
build-thirdparty.sh [compile] fix compile error in aarch64 (#9436) 2022-08-01 20:55:22 +08:00
download-thirdparty.sh [Feature] introduce jemalloc into thirdparty (#6238) 2022-07-20 15:46:55 +08:00
patched_mark Init commit 2021-09-04 22:14:12 +08:00
vars-aarch64.sh [Refactor] Change the license from StarRocks Limited to StarRocks Inc (#10093) 2022-08-17 14:05:09 +08:00
vars-x86_64.sh [Refactor] Change the license from StarRocks Limited to StarRocks Inc (#10093) 2022-08-17 14:05:09 +08:00
vars.sh Upgrade librdkafka from 1.7.0 to 1.8.2 (#9133) 2022-07-25 10:37:37 +08:00

README.md

Enable frame pointer

When introducing thirdparty, make sure compiler option -fno-omit-frame-pointer is enabled. By default it's disabled, which makes profiling hard. https://gcc.gnu.org/onlinedocs/gcc-10.3.0/gcc/Optimize-Options.html. The ovehead of it can be offset by observablity.

BPF Performance Tools.pdf Chapter2

On x86_64 today, most software is compiled with gccs defaults, breaking frame pointer stack traces. Last time I studied the performance gain from frame pointer omission in our production environment, it was usually less than one percent, and it was often so close to zero that it was difficult to measure. Many microservices at Netflix are running with the frame pointer reenabled, as the performance wins found by CPU profiling outweigh the tiny loss of performance.