pgo

The risks of using PGO (profile-guided optimization) with production environment

放肆的年华 提交于 2019-12-19 09:18:16
问题 I have a system (Linux & C++) doing intensive signal/image processing operations. I would like to use PGO to improve performance of our application. Are there any risks / potential issues I should be aware of when using PGO ? Are unit tests + E2E tests enough to verify that PGO didn't break anything ? 回答1: Microsoft has system that is modifying conditional jumps based on the usage statistics plus it condenses frequently used pieces of code into smaller number of pages. This essentially

The risks of using PGO (profile-guided optimization) with production environment

寵の児 提交于 2019-12-01 06:11:38
I have a system (Linux & C++) doing intensive signal/image processing operations. I would like to use PGO to improve performance of our application. Are there any risks / potential issues I should be aware of when using PGO ? Are unit tests + E2E tests enough to verify that PGO didn't break anything ? Microsoft has system that is modifying conditional jumps based on the usage statistics plus it condenses frequently used pieces of code into smaller number of pages. This essentially compacts effective memory footprint several times and reduces CPU consumption for 20-50%. This system was

What information does GCC Profile Guided Optimization (PGO) collect and which optimizations use it?

∥☆過路亽.° 提交于 2019-11-27 18:58:36
Which information does GCC collect when I enable -fprofile-generate and which optimization does in fact uses the collected information (when setting the -fprofile-use flag) ? I need citations here. I've searched for a while but didn't found anything documented. Information regarding link-time optimization (LTO) would be a plus! =D -fprofile-generate enables -fprofile-arcs , -fprofile-values and -fvpt . -fprofile-use enables -fbranch-probabilities , -fvpt , -funroll-loops , -fpeel-loops and -ftracer Source: http://gcc.gnu.org/onlinedocs/gcc-4.7.2/gcc/Optimize-Options.html#Optimize-Options PS.

What information does GCC Profile Guided Optimization (PGO) collect and which optimizations use it?

雨燕双飞 提交于 2019-11-27 04:21:00
问题 Which information does GCC collect when I enable -fprofile-generate and which optimization does in fact uses the collected information (when setting the -fprofile-use flag) ? I need citations here. I've searched for a while but didn't found anything documented. Information regarding link-time optimization (LTO) would be a plus! =D 回答1: -fprofile-generate enables -fprofile-arcs , -fprofile-values and -fvpt . -fprofile-use enables -fbranch-probabilities , -fvpt , -funroll-loops , -fpeel-loops