On pondělí 21. listopadu 2022 3:16:39 CET Neal Gompa wrote:
Not sure what is in Koji, so just some facts about the Copr arm builders...
Copr uses 'a1.2xlarge' machines: https://aws.amazon.com/ec2/instance-types/a1/
We do have access to the later generations: The [CMR]6g and then the latest Graviton 3 instances in the C7g family.
Our (AWS’s) engineering team highly discourages the use of the a1 instance types at this point. Can we move that to standard T4g.2xl or better yet update that to a C6g.2xl?
It sounds like we need to update the infrastructure definitions to include the later versions. These next-generation instance types will definitely increase the efficiency of the workload.
Copr uses mock's tmpfs feature, with cca 140GB SWAP volume on a gp2 disk: https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/general-purpose.html
Some of the justification should come directly from the ec2 optimizer in the account. We should probably take a look at the profile information there to determine what will be the best fit cost/performance wise.