packets should be marked as exceeding (AF 22
class) if the size is bigger than TC, but not bigger
than TE. The value associated with the XBS in this
case is 50 Mbit. And finally, the packet should be
marked as violating (AF23 class) when the packet
size exceeds both TC and TE.
Figure 4 presents the statistics collected at the
Client Backbone node. We can see in figure 4 that
the srTCM implementation marks the traffic flow
with three different DSCPs depending of the volume
of traffic and on the value of the three parameters
(CIR, CBS and EBS).
The traffic of the AF 2 class associated with the
lowest level of drop precedence (AF21) is colored
green and varies slightly above the value of the
defined CIR of 100000 bits. The highest value of
around 200000 bits can be noticed in the first
seconds of the simulation. This type of behavior is
normal, because in the beginning the first token
bucket is full and tokens can be “borrowed” from
this bucket. But, after some time the bucket becomes
empty and since traffic is arriving faster than the
refill rate of the tokens, the bucket does not have
time to get refilled and the traffic will be marked as
“green” (AF21) only up to the value of the defined
CIR. However, we can notice that the green traffic is
constantly above this CIR. The reason for this is that
violating traffic marked as AF23 does not consume
any tokens, thus giving the chance to the token
bucket to accumulate tokens.
Concerning the second level of drop precedence
(AF22) colored yellow, we can see that the tokens
associated with this class are all consumed in the
first minute of the simulation. Afterwards, because
the traffic volume surpasses the CIR, the second
bucket does not get a chance to receive any tokens.
This type of behavior is due to the fact that the
srTCM recommendation specifies that the second
bucket can be refilled only if the first bucket is full.
Figure 4: Obtained results.
This kind of problem can be avoided using
trTCM instead of srTCM. With trTCM each token
bucket has associated a distinct rate which refills the
bucket.
The third level of drop precedence AF23
(colored red) is associated will all the traffic which
does not receive tokens from any of the token
buckets. We can see that this type of marking starts
only after all the tokens are consumed.
4 CONCLUSIONS
The current paper presents an implementation of the
srTCM in OPNET Modeler. Pseudo code used for
this implementation is presented. The
implementation itself is tested to demonstrate the
accuracy of the implementation. The model testing
section of this paper demonstrates that the behavior
associated with the modified CAR algorithm is
identical to a srTCM behavior.
REFERENCES
Babiarz, J., Chan, K., Baker, F., 2006, Configuration
Guidelines for DiffServ Service Classes, RFC 4594.
Blake, S., Black, D., Carlson, E., Davies, E., Weiss, Z.,
1998, An Architecture for Differentiated Services,
RFC 2475.
Cisco Inc, 2012, Cisco IOS Software Releases 11.1,
[online] Available at: < http://www.cisco.com/
en/US/docs/ios/11_1/feature/guide/CAR.html >,
[Accessed 20 February 2012].
Fang, W., Seddigh, N., Nandy, B., 2000, A Time Sliding
Window Three Colour Marker(TSWTCM), RFC
2859.
Heinanen, J., Baker, F., Weiss, W., Wroclawski, J., 1999,
Assured Forwarding PHB Group, RFC 2597.
Heinanen, J., Guerin, R., 1999a, A Single Rate Three
Color Marker, RFC 2697.
Heinanen, J., Guerin, R., 1999b, A Two Rate Three Color
Marker, RFC 2698.
Nichols, K., Blake, S., Baker, F., Black, D., 1998,
Definition of the Differentiated Services Field (DS
Field ) in the IPv4 and IPv6 Headers, RFC 2474.
OPNET 2010, OPNET Modeler Documentation Set,
Version: 16.0, 10/14/10.
OPNET Inc., 2012, [online] Available at:
<http://www.opnet.com> [Accessed 10 February
2012].
SIMULTECH2012-2ndInternationalConferenceonSimulationandModelingMethodologies,Technologiesand
Applications
452