sched: make the scheduler converge to the ideal latency