perf bench: Use condition variables in numa.