This link will answer all of your questions:
http://www.cisco.com/warp/public/784/packet/jan99/17.html
Here is the steps I took to get an answer:
IP 1400 25%
IPX 700 30%
DLSW 500 45%
IP 1
IPX 2
DLSW 2.8
IP 1 x 25% = .25
IPX 2 x 30% = .60
DLSW 2.8 x 45% = 1.26
Normalize values (based on lowest number):
IP .25/.25 = 1
IPX .60/.25 = 2.4 (approx round down to 2)
DLSW 1.26/.25=5.04 (approx round down to 5)
Our ratio of frames per queue to deliver
the correct percentages of traffic is 1:2:5 or 1400:1400:2500 bytes.
The way we come to the ratio above is as follows:
IP= 1 x 1400 = 1400
IPX= 2 x 700 = 1400
DLSW= 5 x 500 = 2500