lat_unix.8 906 B

12345678910111213141516171819202122232425
  1. .\" $Id$
  2. .TH LAT_UNIX 8 "$Date$" "(c)1994 Larry McVoy" "LMBENCH"
  3. .SH NAME
  4. lat_unix \- measure interprocess communication latency through Unix sockets
  5. .SH SYNOPSIS
  6. .B lat_unix
  7. .SH DESCRIPTION
  8. .B lat_unix
  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), socketpair(2), read(2), write(2).