rex performance tuning