thread interval tuning, client compile fix,