In a data system, such as a cable modem termination system,
different-priority flows are scheduled to be routed to their logical
destinations by factoring both the priority level and the time spent in
queue. The time that each packet of each flow spends waiting for
transmission is normalized such that the waiting times of all flows are
equalized with respect to each other. A latency scaling parameter is
calculated.