Share
Explore BrainMass

Effect of buffer size on fill rate x(t)

Consider the client buffer shown in the enclosed figure. Suppose that the server pushes the media into the socket as quickly as possible, and the available TCP bandwidth is >>d.

[1] Consider the following three scenarios:
a) the buffer is big enough to contain the whole media.
b) the buffer can only store one-third of the media.
c) the buffer can contain only one-tenth of the media.

Describe how x(t) and the contents of the client buffer will evolve over time.

[2] Describe what consideration we should take if the TCP is replaced with the UDP protocol.

Attachments

Solution Preview

Given that the server pushes the media into the socket as quickly as possible, and the available TCP bandwidth is >>d.

[1] Assuming that the TCP connection will be torn after whole of the media has been transferred completely and successfully.

a) the buffer is big enough to contain the whole media.

Fill rate x(t) will continue to grow until the client buffer becomes full, after that it will drop down to 0 as whole of the media has been transferred.

The client application will drain the receive buffer at the rate d till it has picked whole of the media, after it starts doing so as per it's ...

Solution Summary

Solution to question no. 1 assumes that the TCP connection will be torn after whole of the media has been transferred completely and successfully.

$2.19