Reducing the execution time of fair-queueing packet schedulers