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.

A.2. Network Interface Cards 278<br />

A.2.2<br />

Latency<br />

In order to determine the limits of network interface card performance, the<br />

implications of having data transferred through the PCI bus onto the NIC<br />

should also be considered. The rate at which data can be transferred through<br />

the PCI bus is determined by both the word size <strong>and</strong> the frequency of the<br />

bus. Table A.8 shows the theoretical latencies expected from transferring<br />

data through the PCI bus.<br />

In order to determine the speed at which packets can be processed by<br />

the PCI subsystem <strong>and</strong> the NIC, a single UDP packet (with relevant encapsulation)<br />

were sent direct from userspace using the unix send() function<br />

using various sized data packets. This ‘request’ packet solicits the generation<br />

of a ‘response’ packet from the server application on the receiving machine,<br />

which then sends a constant sized UDP packet back to the sender. The time<br />

measured between the initial send <strong>and</strong> the receipt of the ‘response’ packet is<br />

used to determine the Round-Trip Latency.<br />

It is assumed that the processing of a UDP packet to be sent out requires<br />

the copy of data <strong>into</strong> memory, <strong>and</strong> then the consequent transfer (after encapsulation<br />

etc.) of the data through the PCI subsystem <strong>into</strong> the NIC hardware.<br />

The rate at which data is to be transferred to the receiving system is then<br />

limited to the rate at which the Layer 1 <strong>and</strong> Layer 2 hardware <strong>and</strong> data link<br />

components operate. The receipt of the ‘response’ packet also requires the<br />

traversal of the PCI subsystem followed copying of the data <strong>into</strong> memory<br />

before being delivered to the application.<br />

The theoretical inverse data rates of the PCI bus <strong>and</strong> NIC speeds are<br />

given in Table A.8 <strong>and</strong> A.9 respectively. Table A.10 gives the memory data<br />

rates for the PCs used in the tests. Therefore, define the minimal rate at

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

Saved successfully!

Ooh no, something went wrong!