lat_fcntl.8 767 B

12345678910111213141516171819202122232425
  1. .\" $Id$
  2. .TH LAT_FCNTL 8 "$Date$" "(c)1994 Larry McVoy" "LMBENCH"
  3. .SH NAME
  4. lat_fcntl \- measure fctl() locking latencies
  5. .SH SYNOPSIS
  6. .B lat_fcntl
  7. .SH DESCRIPTION
  8. .B lat_fcntl
  9. uses two processes and alternately locks and unlocks files so that
  10. only one of the processes is running at a time, similar to
  11. ``hot potato'' message passing benchmarks.
  12. 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), fcntl(2).