05.08.2014 Views

An Investigation into Transport Protocols and Data Transport ...

An Investigation into Transport Protocols and Data Transport ...

An Investigation into Transport Protocols and Data Transport ...

SHOW MORE
SHOW LESS

You also want an ePaper? Increase the reach of your titles

YUMPU automatically turns print PDFs into web optimized ePapers that Google loves.

5.1. TCP Hardware Requirements 78<br />

5.1.1 Memory Requirements<br />

The reliable data transport design of TCP requires that a sliding window’s<br />

worth of data be stored in memory in order to maintain state about the TCP<br />

connection. Without such knowledge, it would be impossible for TCP to be<br />

able to replicate data reliably across a network. The amount of physical<br />

memory allocated to this sliding window is called the socket buffer memory.<br />

Should the assigned value of this socket buffer memory be less than the<br />

required value of the sliding window for optimal TCP transfers, then the<br />

performance of TCP suffers as it is starved of physical memory space to keep<br />

history for the number of packets in flight.<br />

This is true of both the sending <strong>and</strong> the receiving TCP end-points; the<br />

TCP receiver must also have a large enough assigned socket buffer memory, or<br />

else TCP’s flow control at the sender will restrict the throughput to maintain<br />

a rate sustainable by the TCP receiver (See Section 4.2.2).<br />

The amount of memory that needs to be allocated to the socket buffer<br />

memory, on both the sending <strong>and</strong> receiving hosts, is related to the B<strong>and</strong>width<br />

Delay Product (See Section 4.2.2) [CJ89].<br />

The effect on a TCP connection of having limited memory is shown in<br />

Figure 5.1. The graph shows the statistically multiplexed result of running<br />

various socket buffer sizes from the production network between CERN <strong>and</strong><br />

RAL using the machines <strong>and</strong> configuration as shown in Section 3.2.2. The<br />

test consisted of 490 individual bulk transfers using iperf [TQD + 03] with<br />

the socket buffer sizes configured as shown. The theoretical prediction of<br />

the estimated throughput is shown. It can be seen clearly that with small<br />

socket buffers, the throughput is proportionally restricted by the amount of<br />

memory available to the TCP socket.

Hooray! Your file is uploaded and ready to be published.

Saved successfully!

Ooh no, something went wrong!