Scheduler optimization