12.07.2015 Views

The ns Manual (formerly ns Notes and Documentation)1 - NM Lab at ...

The ns Manual (formerly ns Notes and Documentation)1 - NM Lab at ...

The ns Manual (formerly ns Notes and Documentation)1 - NM Lab at ...

SHOW MORE
SHOW LESS
  • No tags were found...

You also want an ePaper? Increase the reach of your titles

YUMPU automatically turns print PDFs into web optimized ePapers that Google loves.

SourceSourceLossy LinkLossy Links121233Figure 42.1: Comparison of Multicast Trees for Detailed vs. Session Routingset udp [new Agent/UDP]$udp set dst_ $groupset src [new Applic<strong>at</strong>ion/Traffic/CBR]$src <strong>at</strong>tach-agent $udp$<strong>ns</strong> <strong>at</strong>tach-agent $node $udp$<strong>ns</strong> cre<strong>at</strong>e-session $node $udpset rcvr [new Agent/NULL]$<strong>ns</strong> <strong>at</strong>tach-agent $node $rcvr$<strong>ns</strong> <strong>at</strong> 0.0 "$node join-group $rcvr $group";# cre<strong>at</strong>e <strong>and</strong> configure the source;# cre<strong>at</strong>e <strong>at</strong>tach session helper to src;# configure the receiver;# joining the session$<strong>ns</strong> <strong>at</strong> 0.1 "$src start"A session level simul<strong>at</strong>ion scales by tra<strong>ns</strong>l<strong>at</strong>ing the topology into a virtual mesh topology. <strong>The</strong> steps involved in doing thisare:1. All of the classifiers <strong>and</strong> replic<strong>at</strong>ors are elimin<strong>at</strong>ed. Each node only stores i<strong>ns</strong>tance variables to track its node id, <strong>and</strong>port ids.2. Links do not co<strong>ns</strong>ist of multiple components. Each link only stores i<strong>ns</strong>tance variables to track the b<strong>and</strong>width <strong>and</strong> delay<strong>at</strong>tributes.3. <strong>The</strong> topology, co<strong>ns</strong>isting of links is tra<strong>ns</strong>l<strong>at</strong>ed into a virtual mesh.Figure 42.1 shows the difference between a multicast tree in a detailed simul<strong>at</strong>ion <strong>and</strong> one in a session level simul<strong>at</strong>ion. Noticeth<strong>at</strong> the tra<strong>ns</strong>l<strong>at</strong>ion process results in a session level simul<strong>at</strong>ion ignoring queuing delays. For most simul<strong>at</strong>io<strong>ns</strong>, <strong>ns</strong> alreadyignores processing delays <strong>at</strong> all of the nodes.373

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

Saved successfully!

Ooh no, something went wrong!