Investigate using aarch64 only macOS builds for performance testing
Categories
(Testing :: Performance, task, P1)
Tracking
(firefox160 fixed)
| Tracking | Status | |
|---|---|---|
| firefox160 | --- | fixed |
People
(Reporter: kshampur, Assigned: kshampur)
References
(Blocks 2 open bugs)
Details
(Whiteboard: [fxp][operational][vision][todo][est-2w])
Attachments
(1 external file)
Our Apple Silicon shippable perf tests run on the universal build (macosx64-shippable/opt). That means they also wait on the x64 build and its PGO profile, which runs on the b-osx-1015 pool, and on try that can take a while.
On M series machines only the arm64 code runs anyway, so we could probably test macosx64-aarch64-shippable/opt directly.
NaR already does something similar.
Things to check: signing/entitlements, cold startup differences compared to the bigger universal binary, and alert baselines. Plan is a try comparison of both builds in PerfCompare.
Mostly this helps Try push latency. On autoland/central the universal build still gets built for shipping and x64 tests, so it doesn't reduce b-osx-1015 load there.
Updated•1 month ago
|
| Assignee | ||
Comment 1•1 month ago
•
|
||
afaict the universal build is just merging the two binaries, so there shouldn't be any perf changes... (would be good to validate against an A/A run )
re my previous comment on Try latency, this should still speed up autoland/central since the 1500 tests dont need to wait for the 10.15 machine
| Assignee | ||
Comment 2•1 month ago
|
||
also worth doing a quick check with redash if this would actually improve queue times at all
| Assignee | ||
Comment 3•1 month ago
|
||
oh looks like we already do this in mozperftest (unintentionally) https://searchfox.org/firefox-main/rev/64cfaf34e56f4c82eea77d032ec592c083b5b161/taskcluster/kinds/perftest/macosx-aarch64.yml#24
| Assignee | ||
Comment 4•1 month ago
|
||
Right now we use universal macOS builds in perftests but we can probably
just use the arm64 binary directly instead. The universal build (just a
merge of the arm64 and x64 builds) depends on PGO profiles from the Intel
10.15 pool, so sometimes perf tests are queued up even though only arm64
code runs.
This patch points the perftests (awsy, talos, browsertime) at the arm64
build. Same code and PGO profile so results should not change. This only
affects performance tests. Presently, we already do this in the
mozperftest framework.
Updated•1 month ago
|
| Assignee | ||
Updated•1 month ago
|
Updated•1 month ago
|
Comment 6•1 month ago
|
||
| bugherder | ||
Description
•