
api_latency -a address [-u unit][-c channel] [-dc destination channel] [-n number of messages ]
api_latency is a ping-pong test between two hosts using the Myricom MCP and the Myrinet API. First run api_latency on one host, without the num_messages parameter. Then on the other host run api_latency with a number of messages parameter. The test sends 4-byte messages number of messages to get an average latency.
api_latency uses the whole copy block, so you cannot run it at the same time that you run other programs using the copy block: for instance, a Myrinet BPI program like host_test.
The destination address parameter (-a) is a 64-bit LANai board address, in the same format as that returned by the l3prom program. You can leave off leading zeros.
| kitty 193%api_latency -da 00:02:00:00:00:ee |
skyhawk 1%api_latency -da 00:01:00:00:00:1b -n 100 81 microseconds round trip of 4 bytes. skyhawk 2% |