In allocating bandwidth to data for transfer through a network device,
bandwidth is allocated to committed data traffic based on a guaranteed
data transfer rate and a queue size of the network device, and bandwidth
is allocated to uncommitted data traffic using a weighted maximum/minimum
process. The weighted maximum/minimum process allocates bandwidth to the
uncommitted data traffic in proportion to a weight associated with the
uncommitted data traffic.