Montag, 25. Juli 2011

INE WB Vol1 - 10.5 Legacy Custom Queueing




It took me ages to understand this shitty math excercise


30% VoIP (64 byte Packet = 4 Byte HDLC + 60 Byte VoIP)
60% HTTP (160 byte Packet = 4 byte HDLC + 156 Byte WWW)
10% ICMP (104 byte Packet = 4 byte HDLC + 100 byte ICMP)

%/Byte = Ratio       > normalize Ratio     = Multiplier    Mu*Byte = Bytecount
30/64  = 0,46875     > 0,46875/0,096153846 = 4,875000008 = 5 * 64  = 320
60/160 = 0,375       > 0,375/0,096153846   = 3,900000006 = 4 * 160 = 640
10/104 = 0,096153846 > 0,096153846/0,0916  = 1           = 1 * 104 = 104
45% VoIP (84 byte Packet = 4 byte HDLC + 80 byte VoIP)
25% HTTP (140 byte Packet = 4 byte HDLC + 136 byte WWW)
30% ICMP (104 byte Pakcet = 4 byte HDLC + 100 byte ICMP)

45/84  = 0,535714286     > 0,535714286/0,178571429 = 2,999999994        = 3 = 252 (252/(252+140+208) = 42 %
25/140 = 0,178571429     > 0,178571429/0,178517429 = 1                  = 1 = 140 (140/(252+140+208) = 23 %
30/104 = 0,288461538     > 0,288461538/0,178517429 = 1,615873249        = 2 = 208 (208/(252+140+208) = 34 %

I hate Custom Queueing !!

Keine Kommentare:

Kommentar veröffentlichen