Hi,
I have a very basic wifi design consisting of 2 nodes (a sender and a receiver) and 1 AP.
The resulting parameters are all being captured by Flowmon.
For the Data Mode, I had set it to 6Mbps.
std::string myPhy="OfdmRate6Mbps";
wifi.SetRemoteStationManager ("ns3::ConstantRateWifiManager",
"DataMode", StringValue (myPhy),
"ControlMode",StringValue(myPhy));
Then for the sender application (OnOff Application), I had tried several values from 1Mbps to 6Mbps with 1000 bytes of payload.
sender.SetConstantRate( DataRate(myDataRate), myPayload);
Since there is only one sender in the network, I am expecting nearly the whole bandwidth can be used by the application. However, this is not the case.
The maximum throughput of the sender is only at 2490 kbps at the Data Rate of 6Mbps of the application.
App Data Rate Loss Tput (kbps)
------------- ---- ----------
1 Mbps 0 1004.33
2 Mbps 0 2007.98
3 Mbps 0 2498.00
4 Mbps 855 2491.19
5 Mbps 1729 2490.91
6 Mbps 2605 2490.54
I'm not sure why this is happening or perhaps I have setup the scenario in a wrong manner?
I just want to see at which point the network becomes saturated but with a bandwidth of 6Mbps, it should not be saturated by just before 4Mbps.
Any opinion would be very much appreciated. I attached the script together with this message.
Thank you so much.