lat_unix_connect.8 961 B

12345678910111213141516171819202122232425
  1. .\" $Id$
  2. .TH LAT_UNIX_CONNECT 8 "$Date$" "(c)1994 Larry McVoy" "LMBENCH"
  3. .SH NAME
  4. lat_unix_connect \- measures interprocess connection latency through Unix sockets
  5. .SH SYNOPSIS
  6. .B lat_unix_connect
  7. .SH DESCRIPTION
  8. .B lat_unix_connect
  9. uses two processes communicating through a Unix socket to measure interprocess
  10. communication latencies. The benchmark passes a token back and forth between
  11. the two processes (this sort of benchmark is frequently referred to as a
  12. ``hot potato'' benchmark). No other work is done in the processes.
  13. .SH OUTPUT
  14. The reported time is in microseconds per round trip and includes the total
  15. time, i.e., the context switching overhead is included.
  16. Output format is like so
  17. .sp
  18. .ft CB
  19. AF_UNIX sock stream latency: 491 microseconds
  20. .ft
  21. .SH ACKNOWLEDGEMENT
  22. Funding for the development of
  23. this tool was provided by Sun Microsystems Computer Corporation.
  24. .SH "SEE ALSO"
  25. lmbench(8), lat_connect(8), socket(2), bind(2), connect(2), listen(2).