starrocks/thirdparty
Kevin Cai d85401da51
[Enhancement] upgrade staros to v3.1-rc8 (#28152)
2023-07-28 23:16:33 +08:00
..
minidump [Feature] Change for re-enable minidump (#8526) 2022-07-11 21:51:19 +08:00
patches [Enhancement] patch s2geometry to support c++20 (#26434) 2023-07-07 14:41:47 +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 [Tool] introduce fiu for fault injection (#27694) 2023-07-21 13:40:37 +08:00
download-thirdparty.sh [BugFix] Fix arrow parquet exception handling (#26253) 2023-07-03 14:11:40 +08:00
patched_mark Init commit 2021-09-04 22:14:12 +08:00
starlet-artifacts-version.sh [Enhancement] upgrade staros to v3.1-rc8 (#28152) 2023-07-28 23:16:33 +08:00
vars-aarch64.sh [Enhancement] Upgrade thirdparty lib hadoop to 3.3.6 (#26318) 2023-07-04 06:36:09 +00:00
vars-ubuntu22-x86_64.sh [Enhancement] Upgrade jindosdk version to 4.6.8 (#24809) 2023-06-25 15:19:20 +08:00
vars-x86_64.sh [Enhancement] Upgrade thirdparty lib hadoop to 3.3.6 (#26318) 2023-07-04 06:36:09 +00:00
vars.sh [Tool] introduce fiu for fault injection (#27694) 2023-07-21 13:40: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.