lat_unix_connect(8) measure interprocess connection latency via UNIX sockets


lat_unix_connect -s

lat_unix_connect [ -P <parallelism> ] [ -W <warmups> ] [ -N <repetitions> ]

lat_unix_connect -S


lat_unix_connect is a client/server program that measures interprocess connection latencies. The benchmark times the creation and connection of an AF_UNIX socket to a local server.

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


The reported time is in microseconds per connection. Output format is like so

UNIX connection cost: 1006 microseconds


Carl Staelin and Larry McVoy

Comments, suggestions, and bug reports are always welcome.