13.07.2015 Views

Page 2 Lecture Notes in Computer Science 2865 Edited by G. Goos ...

Page 2 Lecture Notes in Computer Science 2865 Edited by G. Goos ...

Page 2 Lecture Notes in Computer Science 2865 Edited by G. Goos ...

SHOW MORE
SHOW LESS

Create successful ePaper yourself

Turn your PDF publications into a flip-book with our unique Google optimized e-Paper software.

26 P. Narayan and V.R. SyrotiukThe MERIT framework [6,7] takes a new approach to rout<strong>in</strong>g protocol assessmentfor MANETs. In MERIT a protocol is compared to a theoretical optimumrather than to a compet<strong>in</strong>g protocol. In particular, the measure proposed is theMERIT ratio, the mean ratio of the cost of the route actually used <strong>by</strong> the protocolto the cost of the optimal mobile path under the same network history.S<strong>in</strong>ce we take a ratio, we believe that some of the dependencies on the simulatorcancel out, yield<strong>in</strong>g an implementation <strong>in</strong>dependent measure. The MERIT spectrumis the ratio taken as a function of some network parameter, such as thenode velocity. MERIT is a scalable comparison methodology, s<strong>in</strong>ce the MERITspectra for a protocol are computed once and then can be compared to spectraof other protocols directly, rather than requir<strong>in</strong>g that protocols of <strong>in</strong>terest beported to the same simulator.The def<strong>in</strong>itions and theoretical foundations of the MERIT framework werelaid out <strong>in</strong> [6]. In this paper, we focus on the implementation of MERIT <strong>in</strong> thens-2 network simulator [14] and perform an evaluation of two well establishedMANET rout<strong>in</strong>g protocols. Specifically, we present MERIT spectra for the DynamicSource Rout<strong>in</strong>g (DSR) [11] and the Ad hoc On Demand Distance Vector(AODV) [16] rout<strong>in</strong>g protocols for several network parameters.The rema<strong>in</strong>der of this paper is organized as follows. In Section 2 we overviewthe MERIT framework as well as the DSR and AODV rout<strong>in</strong>g protocols. Section3 details the MERIT tool, the implementation of the MERIT framework,describ<strong>in</strong>g the generation of a mobile graph <strong>in</strong> ns-2. We also describe how weextract the actual routes for each of DSR and AODV and use them to computea MERIT ratio for a given run. We then use the MERIT tool to produce spectrafor various parameters. These results are presented and discussed <strong>in</strong> Section 4.Conclusions and ongo<strong>in</strong>g work are given <strong>in</strong> Section 5.2 Overview2.1 Overview of the MERIT FrameworkS<strong>in</strong>ce a MANET is a mobile network, MERIT models the history of networktopology changes over some time scale T <strong>by</strong> a sequence of graphs. A mobilegraph G = G 1 G 2 ...G T is def<strong>in</strong>ed as any sequence G i ,i =1,...,T, of graphswhere the vertices of G i correspond to the nodes <strong>in</strong> the network, and its edgescorrespond to communication l<strong>in</strong>ks between nodes. Similar models with the goalto capture dynamics <strong>in</strong> graphs <strong>in</strong>clude [1,8,12].Given a mobile graph, a mobile path between a source-dest<strong>in</strong>ation pair is def<strong>in</strong>edas a path sequence P = P 1 P 2 ...P T where P i is a path <strong>in</strong> the correspond<strong>in</strong>gG i between the same source-dest<strong>in</strong>ation pair.It is assumed that a cost model, expressed as a weight function on edges,underlies each graph. The weight function w i (u, v) for graph G i is a function ofvertex pairs (u, v) such that{ m(u, v) if edge (u, v) exists <strong>in</strong> Giw i (u, v) =(1)∞ if edge (u, v) does not exist <strong>in</strong> G iwhere m(u, v) is the value of the l<strong>in</strong>k metric on the edge (u, v).

Hooray! Your file is uploaded and ready to be published.

Saved successfully!

Ooh no, something went wrong!