If you have something like
traffic from Host A - queue A - pipe 1
traffic from Host B - queue B - pipe 1
traffic from Host C - queue C - pipe 1
then you assign weight to each queue. This controls the bandwidth in a
relative manner - if A has weight 20, B has weight 40 then B should
get twice the bandwidth available.
for good, detailed info