Cisco Systems ST373307LC Computer Drive User Manual


 
5-6
Cisco SFS InfiniBand Host Drivers User Guide for Linux
OL-12309-01
Chapter 5 Sockets Direct Protocol
Netperf Server with IPoIB and SDP
The notable performance values in the example above are as follows:
Client CPU utilization is 6.26 percent of client CPU.
Server CPU utilization is 7.22 percent of server CPU.
Latency is 18.01 microseconds. Latency is calculated as follows:
(1 / Transaction rate per second) / 2 * 1,000,000 = one-way average latency in microseconds
Step 7 To end test, shutdown the Netperf server.
The following example shows how to shutdown the Netperf server:
host1$ pkill netserver
Netperf Server with IPoIB and SDP
This section describes how to use the Netperf server with IPoIB and SDP. When using libsdp, it is
possible for the Netperf server to work with both IPoIB and SDP. To use Netperf server with IPoIB and
SDP, perform the following steps:
Step 1 Create the libsdp configuration file.
The following example shows how to create the libsdp configuration file:
host1$ echo "match shared *:*" > $HOME/both.conf
Step 2 Ensure that the Netperf server is not running already, and then start the Netperf server.
The following example stops the Netperf server if it is already running and then starts the server:
host1$ pkill netserver
host1$ LD_PRELOAD=libsdp.so LIBSDP_CONFIG_FILE=$HOME/both.conf netserver
Starting netserver at port 12865
Starting netserver at hostname 0.0.0.0 port 12865 and family AF_UNSPEC
Step 3 Run the Netperf Bandwidth test, which forces SDP to be used instead of TCP.
The following example shows how to run the Netperf Bandwidth test with SDP:
host2$ LD_PRELOAD=libsdp.so LIBSDP_CONFIG_FILE=$HOME/libsdp.conf netperf -H 192.168.0.1 -c
-C -- -m 65536
TCP STREAM TEST from 0.0.0.0 (0.0.0.0) port 0 AF_INET to 192.168.0.1 (192.168.
0.206) port 0 AF_INET
Recv Send Send Utilization Service Demand
Socket Socket Message Elapsed Send Recv Send Recv
Size Size Size Time Throughput local remote local remote
bytes bytes bytes secs. 10^6bits/s % S % S us/KB us/KB
87380 16384 65536 10.00 6601.82 23.79 21.37 1.181 1.061