Download Throughput Degradation in a Uplind and Downling Scenario

21 views
Skip to first unread message

Giovanni Ferri

unread,
Dec 17, 2015, 7:27:11 AM12/17/15
to ns-3-users
Hi All!

Sorry for the strange title. I'll present you my problem.

I've to generate Uplink and downlink TCP traffic in a LTE scenario. 

And taking a look on how the network performs in downlink without any Uplink stream and after i got really strange results.

I mean those are strange becose for the Uplink I send just 100 bytes as payload and just once for the all simulation, so I don't get why the performaces become so bad.

could you take a look if i set the Uplink traffic in a wrong way (line 184)? or here 

float starTime=0.5;

 for (int i = 0; i<numberM2M;i++){

 Ptr<Node> ue = ueNodes.Get (i);
 // Set the default gateway for the UE
 Ptr<Ipv4StaticRouting> ueStaticRouting = ipv4RoutingHelper.GetStaticRouting (ue->GetObject<Ipv4> ());
 ueStaticRouting->SetDefaultRoute (epcHelper->GetUeDefaultGatewayAddress (), 1);

 ++ulPort;
 starTime=starTime+0.5;

 BulkSendHelper source ("ns3::TcpSocketFactory",
 InetSocketAddress (remoteHostAddr, ulPort));
 source.SetAttribute ("MaxBytes", UintegerValue (100));
 clientApps = source.Install (ueNodes.Get (i));
 clientApps.Start (Seconds (starTime));
 clientApps.Stop (Seconds (simTime));

 PacketSinkHelper dlPacketSinkHelper ("ns3::TcpSocketFactory", InetSocketAddress (Ipv4Address::GetAny (), ulPort));
 serverApps.Add (dlPacketSinkHelper.Install (remoteHost));


   }

I Got the following results :

with 10 LTE DOWN and 0 UP ==> 1.781 Mbit/s
with 10 LTE DOWN and 1 UP ==> 0.991 Mbit/s
with 10 LTE DOWN and 10 UP ==> 0.00316267 Mbit/s

Best regards Giovanni

 
epc-giovanni-public.cc
Reply all
Reply to author
Forward
0 new messages