latency & threshold