Open Bug 2079387 Opened 1 month ago Updated 29 days ago

Investigate using existing PGO data on pushes instead of always generating it for perf runs

Categories

(Testing :: Performance, enhancement, P2)

enhancement

Tracking

(Not tracked)

People

(Reporter: kshampur, Unassigned)

References

(Blocks 1 open bug)

Details

(Whiteboard: [fxp][operational][vision][est-2w])

Currently, PGO profiles may be generated repeatedly by CI tasks even when those tasks could potentially reuse an existing profile. This bug is to investigate whether we can reduce redundant PGO work while still allowing profiles to be regenerated when needed.

Some approaches to consider:

  • Periodically generate/publish a PGO profile (e.g. daily on mozilla-central or autoland) and reuse it for tasks that require PGO.
  • Have Try tasks use the latest profile generated on mozilla-central by default.
  • Provide an explicit Try option (e.g. --run-pgo) to regenerate the profile when testing PGO-specific changes if needed.

We should also determine how frequently profiles need to be regenerated and what types of changes should require a fresh profile.

Couple of advantages doing this: quicker Try run feedback, reduced bottle neck on constrainted hardware pools.

Major bottle neck are android and mac due to the need for bare metal. To start with we could just implement this for those platforms

to summarize recent staff meeting, this was discussed in the summit and will be implemented. one major thing to be determined is a frequency that makes sense

Blocks: perf-ci
You need to log in before you can comment on or make changes to this bug.