Skip site navigation (1)Skip section navigation (2)

FreeBSD Manual Pages

  
 
  

home | help
LAT_CONNECT(8)			     LMBENCH			  LAT_CONNECT(8)

NAME
     lat_connect - measure interprocess connection latency via TCP/IP

SYNOPSIS
     lat_connect -s
     lat_connect  [  -P  <parallelism>	]  [ -W <warmups> ] [ -N <repetitions> ]
     hostname
     lat_connect -S hostname

DESCRIPTION
     lat_connect is a client/server program that measures  interprocess  connec-
     tion  latencies.	 The  benchmark  times the creation and connection of an
     AF_INET (aka TCP/IP) socket to a remote server.  Care is take that the con-
     nection time does not include any other overhead, such  as  the  gethostby-
     name()  or  remote port lookups since these add more overhead than the con-
     nection establishment itself.

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

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

     TCP/IP connection cost to localhost: 1006 microseconds

SEE ALSO
     lmbench(8).

AUTHOR
     Carl Staelin and Larry McVoy

     Comments, suggestions, and bug reports are always welcome.

(c)1994 Larry McVoy		     $Date$			  LAT_CONNECT(8)

Want to link to this manual page? Use this URL:
<https://man.freebsd.org/cgi/man.cgi?query=lat_connect&sektion=8&manpath=FreeBSD+Ports+15.1.quarterly>

home | help