Video Data in HWMP

35 views
Skip to first unread message

A G

unread,
Jun 20, 2021, 7:44:39 AM6/20/21
to ns-3-users
Hi, 
When I transmit video frames in Layer-3 Routing (AODV,OLSR,etc) over 802.11ac network packet loss is around 7% using onoffApplication. However When I use the same over HWMP mesh layer2 routing protocol packet loss is 99%. What is wrong here? Do I have to set something in HWMP (reactive) for video/multimedia traffic data?

Following reference : I used for video data paramters
Campo Muñoz, Wilmar Yesid & Astaiza Hoyos, Evelio & Muñoz-Sanabria, Luis. (2017). Traffic modelling of the video-on-demand service through NS-3. DYNA. 84. 55-64. 10.15446/dyna.v84n202.61650.

Sample code : simtime=180 sec
1 Distance between wifi nodes 250 meters grid size=4x4 16 nodes
2. Tx power 30dbm
3. Tx Gain 9.0 dbi
4. Sink code:
uint16_t port = 9;
std::string dataRate = "331776kbps"; 
  uint32_t packetSize = m_packetSize; //1500

      //1 Sink
       PacketSinkHelper sink0 ("ns3::UdpSocketFactory", InetSocketAddress (Ipv4Address::GetAny (), port));
       ApplicationContainer serverApp0 = sink0.Install (nodes.Get (0));
      serverApp0.Start (Seconds (1.0));
      serverApp0.Stop (Seconds (180));
5.//Source code:
OnOffHelper onoff ("ns3::UdpSocketFactory", Address (InetSocketAddress (interfaces.GetAddress (0), port)));
     onoff.SetConstantRate(dataRate, (uint32_t)packetSize);
    onoff.SetAttribute("OffTime",StringValue("ns3::LogNormalRandomVariable[Mu=0.4026|Sigma=0.0352]"));
   onoff.SetAttribute("OnTime",StringValue("ns3::WeibullRandomVariable[Shape=10.2063|Scale=57480.9]"));
    onoff.SetAttribute("MaxBytes",UintegerValue(10989173));
    onoff.SetAttribute ("StartTime", TimeValue (Seconds (1.000000)));

      ApplicationContainer apps = onoff.Install (nodes.Get (15));
      apps.Start (Seconds (2.0));
      apps.Stop (Seconds (180));
Thanks
Reply all
Reply to author
Forward
0 new messages