One Source Multicast Model Using RTP in NS2: Milan Simek, Dan Komosny, Radim Burget
One Source Multicast Model Using RTP in NS2: Milan Simek, Dan Komosny, Radim Burget
IJCSNS International Journal of Computer Science and Network Security, VOL.7 No.11, November 2007
Summary
The simulation models in general are irreplaceable tools for
testing and validating of the present or the proposed algorithms.
This paper deals with the design of the multicast model with the
one source using the RTP (Real Time Protocol) transport
protocol for data delivering to the great number of receivers. The
simulation results show the present situation in the sharing of
control bandwidth for RTCP feedback reports among all
multicast receivers. The main object is to propose the efficient
multicast model in the ns2 for the new feedback algorithm
implementation. Input here the part of summary.
Key words:
Multicast, RTP, ns2, feedback, simulation
1. Introduction
The issue of the control RTCP (Real Time Control
Protocol) bandwidth sharing by the all multicast receivers
is very popular subject at the present time, because with
the increasing popularity of the Internet and the bandwidth
capacity growth, the Internet comes to be the most
appropriate solutions for the multimedia service
appointment such as IPTV (Internet Protocol Television)
or VoD (Video on Demand) and it is expected that more
and more users is going to use these multimedia services.
These services have to offer the QoS management to be
interesting for the present and new clients expecting the
100% service availability and reliability. In the RTP
multicast session, the receivers joined in multicast group
are sending in the accurate intervals (to divide the control
bandwidth among all participants) the feedback reports
that contains the packet-loss and quality of the data
delivery information. The service provider is taking
advantage of these reports for the flexible end effective
responding at the data delivery problems. By all means,
with the growth of the participants count receiving data
from the multicast group, the value of the report interval is
increasing, thus the delay when the service provider is able
to react at the data delivery problem is increasing also and
if the customers request is not handled in the expected
time, the service becomes unreliable and uninteresting for
the customer. At the present time, the number of IPTV
customers is on the level that making this service still
reliable, but with the growth of the Internet popularity it is
expected more IPTV customers, whereon the present
algorithm for the RTCP protocol is not ready for. The
Manuscript received November 5, 2007
Manuscript revised November 20, 2007
2. RTP/RTCP
The RTP (Real Time Protocol) is used by the application
theirs data have the real-time character and the lower UDP
protocol is applied for the transport, [1]. The RTP is in the
most cases used in the IP multicast environment. This
protocol is composed of the two parts, the RTP part, that
cares about data delivery and the RTCP (Real Time
Control Protocol) part for the transport and management of
the feedback report from all participant of the RTP session.
In accordance with [1], the main task of the RTCP is
sending in periodic interval feedback reports that are
important for the monitoring and maintaining of the
quality RTP packets delivering. The format of the RTCP
protocol is depending whether the participant is active
sender or not. The SR (Sender Report) serves for sending
and receiving statistics from the active sending participant
and RR (Receiver Report) for the participants that stands
as only the receivers. The each RTCP protocol contains
the transport-level identifier of the RTP source referred to
CNAME (Canonical Name) for the maintaining of the
transport path from receivers toward the source. For
calculating of the feedback report interval, lets call a rint
(we are using it in the next sections), the applications
needs to know the number of participants in the time of the
report transport, thus this information is included in the
each RTCP packet. According to [1], the 5 % of the RTP
session bandwidth is reserved for the RTCP transmission,
IJCSNS International Journal of Computer Science and Network Security, VOL.7 No.11, November 2007
rint [s]
1500
1000
500
0
2000
4000
6000
8000
10000
PIM-Dense Mode.
This model of multicast applies so called push model of
data delivering. The active source multicast data to the
whole network and the particular receivers have to
announce their interest by means of the Graft message or
in case the lack of interest with the Prune messages [6].
This multicast model is supported in ns2 with the: $ns
mrtproto DM command [4].
5000
4500
4000
3500
3000
2500
2000
253
12000
14000
16000
18000
20000
3. Network Simulator v2
For the model design, we have used the ns2 simulator. The
ns2 is popular simulation tool for the network behaviour
modelling proposed by UC Berkeley for the educational
and the research needs [3]. It is the object simulator
written in C++ with the Otcl language for the object
definition. Users define required protocols in C++ and
Otcl that are represented by object inherited from the
Agent class. The ns2 use NAM (Network Animator) utility
for the animation of the correct protocol design and the
XGRAPH tool for the representation of the achievement
results. The ns2 simulator supports the great scale of the
protocols (TCP, UDP, RTP, i.e.) and the technologies
(LAN, MAN, sensor networks, sessions, multicasting i.e.)
in the wired and also in the wireless networks.
IJCSNS International Journal of Computer Science and Network Security, VOL.7 No.11, November 2007
254
4. Experimantal Scenario
4.1. Basic Model Configuration
Fig. 2 The
Fig.3
IJCSNS International Journal of Computer Science and Network Security, VOL.7 No.11, November 2007
255
8 avgsize
8 108,19
n =
6 = 0,132 s
0,75 0,05 sessbw
0,75 0,05 1Mbps
Fig.4a)
(1)
The results from the formula (1) shows, that the proposed
multicast model gives the correct values of the calculated
report interval. The little difference is given by the
inaccuracy of value assessment from the chart.
Fig.5
IJCSNS International Journal of Computer Science and Network Security, VOL.7 No.11, November 2007
256
simulation parameters
Parameter
Value
Link bandwidth
100Mb/s
Link delay
10 ms
Session bandwidth
200kb/s
Join interval
Number of receivers
150
Simulation time
200 s
Reduced Limit
on (5 sec)
References
Fig.6 The progress of the report interval calculation for the model with
the 150 receivers
IJCSNS International Journal of Computer Science and Network Security, VOL.7 No.11, November 2007
257