ci: Optimizing costs for AWS self-hosted runners#1353
ci: Optimizing costs for AWS self-hosted runners#1353ricardosalveti merged 1 commit intoqualcomm-linux:masterfrom
Conversation
lumag
left a comment
There was a problem hiding this comment.
Please start your commit message by describing the issue that you are fixing. Then continue with describing what has to be done. Don't describe patch contents, it's obvious from the patch itself.
|
I am actually surprised by the results, I was expecting the ssd. to have a bigger impact, but if we save time and money, sure. Can we run a few more comparative tests? |
With this change, an AWS self hosted runner instance type will be
changed to "m8a.4xlarge" from the current instance type
"c5ad.8xlarge". With this change we can increase a build performance
by at least 20% while reducing an hourly cost by 30%.
This runner instance has been verified on Stage envionrment, here
is a sample build workflow for referance.
https://github.com/qualcomm-linux-stg/aws-meta-qcom/actions/runs/20283368465
Signed-off-by: Satish Mhaske <smhaske@qti.qualcomm.com>
|
Commit message is even more weirdly formatted and it still doesn't describe the reasons for the change. Please start by describing the problem, then describe the solution. Avoid phrases like "This change" or "This patch". |
Yeah, curious if it will also be better on a clean build, without any previous sstate cache. |
Thank you for your feedback. With the recent build, we are seeing similar performance. I agree that running a clean build is a good idea. Please let me know the best approach for running a clean build. |
Test run workflowTest jobs for commit b627afa
|
Test Results11 files - 8 11 suites - 57 18m 26s ⏱️ - 39m 11s Results for commit b627afa. ± Comparison against base commit 19a15a0. This pull request removes 25 tests. |
In your staging environment you can just erase the sstate cache entirely before doing a new build with both worker types, then can easily compare. |
Great.. I will do it in stage environment and share the result with you. |
I have completed a clean build after removing the sstate cache. Here is the link for your reference. Please share your feedback. Note: There are four revisions of builds for this workflow. The latest revision is after removing the sstate cache, while the first revision was done before its removal. |
|
Do you have a similar run but using the old runner instead in hands? |
ricardosalveti
left a comment
There was a problem hiding this comment.
We're facing way too many build issues (segfault, could be caused by oom), let's switch and validate it helps the current situation.
With this update, the AWS self-hosted runner instance type will change from "c5ad.8xlarge" to "m8a.4xlarge". This adjustment will improve build performance by at least 20% and lower the hourly cost by 30%.
The runner instance has been tested in the Stage environment. For reference, here is a sample build workflow:
https://github.com/qualcomm-linux-stg/aws-meta-qcom/actions/runs/20283368465