Risks of using PGO (optimized for the profile) with the production environment

I have a system (Linux and C ++) that performs intensive signal / image processing operations. I would like to use PGO to improve the performance of our application.

Are there any risks / potential problems that I should be aware of when using PGO?

Are module + E2E tests sufficient to verify that PGO did not break anything?

+4
source share
1 answer

Microsoft has a system that modifies conditionals based on usage statistics, and also condenses frequently used code snippets into fewer pages. This significantly reduces the occupied memory area several times and reduces processor consumption by 20-50%.

This system was widely used both in user mode and in kernel mode. The quality of this system was very high. In 100% of cases, he did his job correctly. I do not see even small third parties.

It may happen that some other similar system may be less reliable than Microsoft. That one from Microsoft was very good.

+2
source

Source: https://habr.com/ru/post/1438358/


All Articles