Bug 2747 - BulkSendApplication does not send data completely
BulkSendApplication does not send data completely
Status: RESOLVED INVALID
Product: ns-3
Classification: Unclassified
Component: internet
ns-3-dev
All All
: P3 normal
Assigned To: Tommaso Pecorella
:
Depends on:
Blocks:
  Show dependency treegraph
 
Reported: 2017-05-30 21:27 UTC by Varun Reddy
Modified: 2017-06-04 12:00 UTC (History)
1 user (show)

See Also:


Attachments
TCP (BulkSendApplication) over Wifi (9.71 KB, text/x-c++src)
2017-05-30 21:27 UTC, Varun Reddy
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Varun Reddy 2017-05-30 21:27:39 UTC
Created attachment 2859 [details]
TCP (BulkSendApplication) over Wifi

I have modified the example "wifi-tcp" to have a single AP and a variable number of Stations, all connected to the AP. Each Station sends 150,000 bytes of information, using BulkSendHelper. All nodes are within range of the AP.

In the case of 30 or 40 stations, all the data is received successfully at the AP. However, in the case of 50 stations, 5 stations are unable to send all their data. Even in the event of collisions or buffer overflow at the receiver, and given enough simulation time, shouldn't TCP retransmissions ensure that all the data is received at the AP?

The code is attached.

Thanks,
Varun
Comment 1 Varun Reddy 2017-05-30 21:34:10 UTC
(In reply to Varun Reddy from comment #0)
> Created attachment 2859 [details]
> TCP (BulkSendApplication) over Wifi
> 
> I have modified the example "wifi-tcp" to have a single AP and a variable
> number of Stations, all connected to the AP. Each Station sends 150,000
> bytes of information, using BulkSendHelper. All nodes are within range of
> the AP.
> 
> In the case of 30 or 40 stations, all the data is received successfully at
> the AP. However, in the case of 50 stations, 5 stations are unable to send
> all their data. Even in the event of collisions or buffer overflow at the
> receiver, and given enough simulation time, shouldn't TCP retransmissions
> ensure that all the data is received at the AP?
> 
> The code is attached.
> 
> Thanks,
> Varun

Increasing the Data Rate (by either increasing the MCS mode or by increasing the TCP Segment Size) will certainly improve the performance in this scenario. However, there always seems to be an 'upper limit' for the amount of data that can be sent to the AP, for a given data rate. 

Why isn't all the data sent by BulkSendHelper, given enough time and retransmissions?

Thanks,
Varun