Buffer emptying during TCP transmission

42 views
Skip to first unread message

Vineet

unread,
Jun 14, 2016, 9:02:07 AM6/14/16
to ns-3-users
Hello all,

I have a TCP Reno flow between two nodes. The channel capacity of the bottleneck link is 4 Mbps and the roundtrip propagation delay is 48 ms. It is well known that if the buffer size is less than bandwidth-delay (BDP) product, then the channel is going to be underutilized and the buffers empties every now and then. To avoid such scenario, I set the buffer size to be 40 kB, whereas the BDP is 24 kB. In spite of this, the buffer manifests emptiness during TCP multiplicative decrease. Please find below the buffer occupancy graph. Is there anything that I have missed out analyzing?



































Thanks in advance!

Nat P

unread,
Jun 14, 2016, 9:26:03 AM6/14/16
to ns-3-users
Il giorno martedì 14 giugno 2016 15:02:07 UTC+2, Vineet ha scritto:
Hello all,

I have a TCP Reno flow between two nodes. The channel capacity of the bottleneck link is 4 Mbps and the roundtrip propagation delay is 48 ms. It is well known that if the buffer size is less than bandwidth-delay (BDP) product, then the channel is going to be underutilized and the buffers empties every now and then. To avoid such scenario, I set the buffer size to be 40 kB, whereas the BDP is 24 kB.

Hi,
the point you are raising is on buffers along the path; not the TCP buffers. TCP buffers sizing is matter of current research, there is no fixed value. But yes, at least it should be able to provide enough data for one window of BDP bytes.

BDP in your scenario is 48 kB. Please consider as 'delay' the RTT, not the propagation delay, and redo your calculations based on this.
 
In spite of this, the buffer manifests emptiness during TCP multiplicative decrease. Please find below the buffer occupancy graph. Is there anything that I have missed out analyzing?
































 
Can  you also explain how you get these values?

Nat

Vineet Gokhale

unread,
Jun 14, 2016, 9:51:52 AM6/14/16
to ns-3-users
Hi Nat,

48 ms that I mentioned is the roundtrip propagation delay and not one-way. Hence RTT = 48 + 1.24 (transmission delay) = 49.24 ms.
BDP in this case will still be 24.62 kB. And path buffer > BDP. The buffer should still never empty, right?

Thanks in advance!

--
Posting to this group should follow these guidelines https://www.nsnam.org/wiki/Ns-3-users-guidelines-for-posting
---
You received this message because you are subscribed to a topic in the Google Groups "ns-3-users" group.
To unsubscribe from this topic, visit https://groups.google.com/d/topic/ns-3-users/gbb83Q-jb0w/unsubscribe.
To unsubscribe from this group and all its topics, send an email to ns-3-users+...@googlegroups.com.
To post to this group, send email to ns-3-...@googlegroups.com.
Visit this group at https://groups.google.com/group/ns-3-users.
For more options, visit https://groups.google.com/d/optout.

Reply all
Reply to author
Forward
0 new messages