csharpsteen
08/26/2025, 9:37 PMpuppet infra tune --estimate will attempt an estimation based on average compile time. But, for best results:
• Set up metrics monitoring
• Ensure your agent runs are evenly distributed by eliminating thundering herds
• Add JRubies to compilers until you get to the CPU count, or a max of about 12 per compiler (Java code cache limits how far JRuby can scale vertically)
• Add compilers until metrics show no requests waiting for JRuby services
• Then, add one more compiler to give enough spare capacity to allow for reboots or other maintenance