[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[ns] Fw: Help! Something strange on Diffserv]



Hi all,
I'm doing some simulation on Diffserv module, I wrote a TCL file to simulate
assured forward service.  I attach this file in this email. It is strange
that when I decrease the RIO's threshold of each logical queue, for example,
from
$qE1C configQ 0 0 40 60 0.02
$qE1C configQ 0 1 20 40 0.10
$qE1C configQ 0 2 10 20 0.20
to
$qE1C configQ 0 0 20 40 0.02
$qE1C configQ 0 1 10 20 0.10
$qE1C configQ 0 2  5  10 0.20
the number of droped packets also decreased! In my opinion since the
threshold(i.e. the buffersize) decrease, the number of packet droped because
of lack  of buffer space should increase instead. But the result is opposite
Could anybody explain? Or something is wrong in my simulation?
Thanks.
Xiang


begin 666 test5.tcl
M(RTM+2TM+2TM+2TM+2TM+2TM+2TM+2TM+2TM+2TM+2TM+2TM+2TM+2TM+2TM
M+2TM+2TM+2TM+2TM+2TM+2TM+2TM+2TM+2TM+2TM+2TM+2TM#0HC($1I9F9S
M97)V=&5S="YT8VP-"B,@075T:&]R.B!8:6%N9PT*(R!$871E<SH@36%R+" R
M,# Q+@T*(R!.;W1E<SH@02!$4RU2140@<V-R:7!T('1H870@=7-E<R!T<E1#
M32!P;VQI8V5R('=H:6-H('-A=&ES9FEE9"!!4BU01$(N#0HC#0HC(" @("TM
M+2T-"B,@(" @?',Q?"TM+2TM+2TM+2TM#0HC(" @("TM+2T@(" Q,"!-8B @
M(%P-"B,@(" @(" @(" @(" U(&US(" @(%P-"B,@(" @(" @(" @(" @(" @
M(" @("!<+2TM+2 @(" @(" @(" @+2TM+2TM(" @(" @(" @("TM+2T@(" @
M(" @(" @("TM+2TM+0T*(R @(" @(" @(" @(" @(" @(" @("!\93%\+2TM
M+2TM+2TM+2U\8V]R97PM+2TM+2TM+2TM?&4R?"TM+2TM+2TM+2TM?&1E<W1\
M#0HC(" @(" @(" @(" @(" @(" @(" @+RTM+2T@(" Q,"!-8B @("TM+2TM
M+2 @(#4@36(@(" M+2TM(" @,3 @36(@(" M+2TM+2T-"B,@(" @(" @(" @
M(" @(" @(" @("\@(" @(" @(" U(&US(" @(" @(" @(" @-2!M<R @(" @
M(" @(" @-2!M<PT*(R @(" M+2TM(" @(" @(" @(" O#0HC(" @('QS,GPM
M+2TM+2TM+2TM+0T*(R @(" M+2TM(" @,3 @36(-"B,@(" @(" @(" @(" U
M(&US#0HC#0HC+2TM+2TM+2TM+2TM+2TM+2TM+2TM+2TM+2TM+2TM+2TM+2TM
M+2TM+2TM+2TM+2TM+2TM+2TM+2TM+2TM+2TM+2TM+2TM+2TM+2TM+2TM+2T-
M"@T*#0IS970@;G,@6VYE=R!3:6UU;&%T;W)=#0H-"G-E="!C:7(P(" S,# P
M,# P#0IS970@8V)S," @(" @,S P, T*<V5T('!I<C @(#8P,# P,# -"G-E
M="!P8G,P(" @(" W,# P( T*<V5T(')A=&4P(#0P,# P,# -"G-E="!C:7(Q
M(" Q,# P,# P#0IS970@8V)S,2 @(" @,3 P, T*<V5T('!I<C$@(#(P,# P
M,# -"G-E="!P8G,Q(" @(" R,# P#0IS970@<F%T93$@.# P,# P, T*#0IS
M970@=&5S=%1I;64@,C P+C -"G-E="!P86-K9713:7IE(#$P,C0-"@T*#0HC
M(%-E="!U<"!T:&4@;F5T=V]R:R!T;W!O;&]G>2!S:&]W;B!A="!T:&4@=&]P
M(&]F('1H:7,@9FEL93H-"G-E="!S,2!;)&YS(&YO9&5=#0IS970@<S(@6R1N
M<R!N;V1E70T*<V5T(&4Q(%LD;G,@;F]D95T-"G-E="!C;W)E(%LD;G,@;F]D
M95T-"G-E="!E,B!;)&YS(&YO9&5=#0IS970@9&5S="!;)&YS(&YO9&5=#0H-
M"B1N<R!D=7!L97@M;&EN:R D<S$@)&4Q(#$P36(@-6US($1R;W!486EL#0HD
M;G,@9'5P;&5X+6QI;FL@)',R("1E,2 Q,$UB(#5M<R!$<F]P5&%I; T*#0HD
M;G,@<VEM<&QE>"UL:6YK("1E,2 D8V]R92 Q,$UB(#5M<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FEG42 P(# @-# @-C @,"XP
M,@T*)'%#13(@8V]N9FEG42 P(#$@,C @-# @,"XQ, T*)'%#13(@8V]N9FEG
M42 P(#(@(#$P(#(P(# N,C -"@T*#0H-"B,C('-E="!U<"!T:&4@17AP;VYE
M;G1I86P@;VXO;V9F('-O=7)C92P@<&%R86UE=&5R:7IE9"!B>2!P86-K970@
M<VEZ92P-"B,C(&%V92!O;B!T:6UE+"!A=F4@;V9F('1I;64@86YD('!E86L@
M<F%T90T*#0IS970@=61P,"!;;F5W($%G96YT+U5$4%T-"B1N<R!A='1A8V@M
M86=E;G0@)',Q("1U9' P#0IS970@;G5L;# @6VYE=R!!9V5N="].=6QL70T*
M)&YS(&%T=&%C:"UA9V5N=" D9&5S=" D;G5L;# -"@T*)&YS(&-O;FYE8W0@
M)'5D<# @)&YU;&PP#0H-"G-E="!E>' P(%MN97<@07!P;&EC871I;VXO5')A
M9F9I8R]%>'!O;F5N=&EA;%T-"B1E>' P('-E="!P86-K9713:7IE7R D<&%C
M:V5T4VEZ90T*)&5X<# @<V5T(&)U<G-T7W1I;65?(#4P,&US#0HD97AP,"!S
M970@:61L95]T:6UE7R R<PT*)&5X<# @<V5T(')A=&5?("1R871E, T*)&5X
M<# @871T86-H+6%G96YT("1U9' P#0H-"G-E="!U9' Q(%MN97<@06=E;G0O
M541070T*)&YS(&%T=&%C:"UA9V5N=" D<S(@)'5D<#$-"G-E="!C8G(Q(%MN
M97<@07!P;&EC871I;VXO5')A9F9I8R]#0E)=#0HD8V)R,2!A='1A8V@M86=E
M;G0@)'5D<#$-"B1C8G(Q('-E="!P86-K971?<VEZ95\@)'!A8VME=%-I>F4-
M"B1U9' Q('-E="!P86-K9713:7IE7R D<&%C:V5T4VEZ90T*)&-B<C$@<V5T
M(')A=&5?("1R871E,0T*<V5T(&YU;&PQ(%MN97<@06=E;G0O3G5L;%T-"B1N
M<R!A='1A8V@M86=E;G0@)&1E<W0@)&YU;&PQ#0HD;G,@8V]N;F5C=" D=61P
M,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