60
Run a uDAPL Performance Test
The utility to test uDAPL performance is included with the RPMs after the host-side drivers are
installed.
The uDAPL test utility is located in the following directory:
/usr/local/topspin/bin/
The uDAPL test must be run on a server and a client host.
Run a uDAPL Throughput Test
The Throughput test measures RDMA WRITE throughput using uDAPL.
1. Start the Throughput test on the server host.
Syntax for Server:
/usr/local/topspin/bin/thru_server.x
<
device_name
> <
RDMA size>
<
iterations
> <
batch size
>
Example
•
ib0
is the name of the device
•
262144
is the size in bytes of the RDMA WRITE
•
500
is the numbers of RDMAs to perform for the test
•
100
is the number of RDMAs to perform before waiting for completions
2. Start the Throughput test on the client.
Syntax for Client:
/usr/local/topspin/bin/thru_client.x
<
server IP address
> <
RDMA size
>
Example
•
ib1
is the name of the device
•
10.3.2.12
is the IPoIB address of computer 1
•
262144
is the size in bytes of the RDMA WRITE
3. View the Throughput results.
Example
[root@cdrom]# /usr/local/topspin/bin/thru_server.x ib0 262144 500 100
[root@gcdrom]# /usr/local/topspin/bin/thru_server.x ib1 10.3.2.12 262144
RDMA throughput server started on ib0
Created an EP with ep_handle = 0x8143718
queried max_recv_dtos = 256
queried max_request_dtos = 1024
Accept issued...
Received an event on ep_handle = 0x8143718
Context = 29a
Connected!
received rmr_context = bfb78 target_address = 80ea000 segment_length = 10000
Sent 6006.243 Mb in 1.0 seconds throughput = 6003.805 Mb/sec
Sent 6006.243 Mb in 1.0 seconds throughput = 6003.001 Mb/sec
Sent 6006.243 Mb in 1.0 seconds throughput = 6004.016 Mb/sec
Sent 6006.243 Mb in 1.0 seconds throughput = 6003.127 Mb/sec
Sent 6006.243 Mb in 1.0 seconds throughput = 6001.610 Mb/sec
total secs 5 throughput 6003 Mb/sec
Received an event on ep_handle = 0x8143718
Context = 29a