Consider a separate pool of macos machines for PGO profile runs
Categories
(Infrastructure & Operations :: RelOps: Hardware, task)
Tracking
(Not tracked)
People
(Reporter: mshal, Unassigned)
References
Details
Comment 1•6 years ago
|
||
Comment 2•6 years ago
|
||
Comment 3•6 years ago
|
||
Comment 4•6 years ago
|
||
(In reply to Ted Mielczarek [:ted] [:ted.mielczarek] from comment #1)
I ran a quick ActiveData query the other day to find out how many PGO builds
we do on a daily basis and it looks like if we limit it to a single platform
(linux64) we usually max out somewhere around 250 PGO builds/day:
https://activedata.allizom.org/tools/query.html#query_id=L8PhmK1e
I was able to run the profile server on try, and the profile-run job takes 25-30 minutes. About 20 minutes of this is checking out m-c, and while we may be able to optimize this, sparse-checkout wasn't as helpful here as I thought is might be (see bug 1517831).
Comment 5•6 years ago
|
||
It seems like we should just package up the files necessary for the profile-run and upload them as an artifact of the build job. Then downloading and extracting that from the profile-run job would be fast.
Comment 6•6 years ago
|
||
From chmanchester yesterday in #build:
I was able to test a bit more and the repo cache is indeed working on the macOS workers... getting a cache hit was tricky but once I do the checkout is about 3 minutes :)
I'll leave it to him to give more info about the full task runtime, but that should make things pretty tractable.
Comment 7•6 years ago
|
||
With an appropriate sparse profile defined and a cache hit the checkout time is negligible and the task runtime is 5 minutes. Re-running the query from comment 1 the job count has gone up and routinely hovers around 500 per day.
:fubar, is this enough to go on? Can you find someone to implement this?
Comment 8•6 years ago
|
||
Jake, can you work with the build team and Joel to get a PGO pool set up? We've had some spikes in OSX pending counts recently, so we want to make sure we don't take too many from the regular pool. And make sure they get re-imaged as part of it!
It's worth noting that these PGO builds should give us a pretty good speed up on OSX.
Updated•6 years ago
|
Comment 9•5 years ago
|
||
This was done in bug 1530732.
Description
•