lat_udp.8 1.1 KB

123456789101112131415161718192021222324252627282930313233343536
  1. .\" $Id$
  2. .TH LAT_UDP 8 "$Date$" "(c)1994 Larry McVoy" "LMBENCH"
  3. .SH NAME
  4. lat_udp \- measure interprocess communication latency via UDP/IP
  5. .SH SYNOPSIS
  6. .B lat_udp
  7. .I -s
  8. .sp .5
  9. .B lat_udp
  10. .I hostname
  11. .sp .5
  12. .B lat_udp
  13. .I -hostname
  14. .SH DESCRIPTION
  15. .B lat_udp
  16. is a client/server program that measures interprocess
  17. communication latencies. The benchmark passes a token back and forth between
  18. the two processes (this sort of benchmark is frequently referred to as a
  19. ``hot potato'' benchmark). No other work is done in the processes.
  20. .PP
  21. .B lat_udp
  22. has three forms of usage: as a server (-s), as a client (lat_udp localhost), and
  23. as a shutdown (lat_udp -localhost).
  24. .SH OUTPUT
  25. The reported time is in microseconds per round trip and includes the total
  26. time, i.e., the context switching overhead is included.
  27. Output format is like so
  28. .sp
  29. .ft CB
  30. UDP latency using localhost: 650 microseconds
  31. .ft
  32. .SH ACKNOWLEDGEMENT
  33. Funding for the development of
  34. this tool was provided by Sun Microsystems Computer Corporation.
  35. .SH "SEE ALSO"
  36. lmbench(8), read(2), write(2), socket(2), bind(2), connect(2).