Extract CPU count and RAM size to constants