Dennis Gilmore dennis@ausil.us writes:
I have an AArch64 desktop, so I tried to build the stack using mock-chain, prusaslicer failed to build as the oom killer kicked in, my desktop has 64GiB ram and 64 cores. I am trying again, limiting the number of CPUs as we do for power, I suspect we may need to limit the number of CPUs globally, or possibly do something like Ceph does where it sets the number of CPUs based on the ram and CPUs of the build host
I know I'm late (been down with the pox for a month), but I just wanted to note that you can use the %constrain_build macro to do something like that.
%constrain_build -c 12 %constrain_build -m 2048
The first clamps the CPU count to 12. The second clamps the CPU count to the total RAM size of the system in MB divided by 2048, rounded down. This works in F36+.
- J<