better error msg, perftest tuning