lat_pipe.8 876 B

12345678910111213141516171819202122232425
  1. .\" $Id$
  2. .TH LAT_PIPE 8 "$Date$" "(c)1994 Larry McVoy" "LMBENCH"
  3. .SH NAME
  4. lat_pipe \- measure interprocess communication latency through pipes
  5. .SH SYNOPSIS
  6. .B lat_pipe
  7. .SH DESCRIPTION
  8. .B lat_pipe
  9. uses two processes communicating through a Unix pipe 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. Pipe 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), pipe(2), read(2), write(2).