Test: sched: Reduce sleep duration in wait_task_inactive
pegasusq: adjust up_threshold, down_freq
timer: Optimise apply_slack() for size and speed