Andy-Python-Programmer / aero

Aero is a new modern, experimental, UNIX-like operating system following the monolithic kernel design. Supporting modern PC features such as long mode, 5-level paging, and SMP (multicore), to name a few.

Home Page:https://aero.andypy.dev

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Evaluate Profile-Guided Optimization (PGO)

zamazan4ik opened this issue · comments

Hi!

According to my tests, Profile-Guided Optimization (PGO) helps with optimizing to a lot of software (including OS like Linux and Windows - link). I think it's worth trying to apply PGO to Aero.

We need to perform PGO benchmarks on Aero. If it shows improvements - add a note to the documentation about possible improvements to Aero's performance with PGO. After that, providing an easier way (e.g., a build option) to build the OS with PGO can also be useful for the maintainers and end-users. Also, applying PGO on Aero can be an example for other operating systems.

For the Rust projects, I recommend starting with cargo-pgo.

If anyone already did PGO benchmarks with Aero - it would be awesome to see the results.