Table of Contents

Name

lat_udp - measure interprocess communication latency via UDP/IP

Synopsis

lat_udp -s

lat_udp [ -m <message size> ] [ -P <parallelism> ] [ -W <warmups> ] [ -N <repetitions> ] hostname

lat_udp -S hostname

Description

lat_udp is a client/server program that measures interprocess communication latencies. The benchmark passes a message back and forth between the two processes (this sort of benchmark is frequently referred to as a ‘‘hot potato’’ benchmark). No other work is done in the processes.

lat_udp has three forms of usage: as a server (-s), as a client (lat_udp localhost), and as a shutdown (lat_udp -S localhost).

Output

The reported time is in microseconds per round trip and includes the total time, i.e., the context switching overhead is included. Output format is like so

UDP latency using localhost: 650 microseconds

Acknowledgement

Funding for the development of this tool was provided by Sun Microsystems Computer Corporation.

See Also

lmbench(8) , lat_fcntl(8) , lat_fifo(8) , lat_tcp(8) , lat_unix(8) .

Author

Carl Staelin and Larry McVoy

Comments, suggestions, and bug reports are always welcome.


Table of Contents