fix tdlog; fix runtd cleanup;introduce benchmark