how to optimize mill performance