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.
https://aero.andypy.dev
GNU General Public License v3.0
1.17k stars 50 forks source link

Evaluate Profile-Guided Optimization (PGO) #108

Open zamazan4ik opened 1 year ago

zamazan4ik commented 1 year ago

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.