Tune parameters for performance.