lat_select.8 909 B

1234567891011121314151617181920212223242526272829303132333435363738394041424344
  1. .\" $Id$
  2. .TH LAT_SELECT 8 "$Date$" "(c)1994 Larry McVoy" "LMBENCH"
  3. .SH NAME
  4. lat_select - time simple entry into the operating system
  5. .SH SYNOPSIS
  6. .B lat_select
  7. .I "tcp|file"
  8. [
  9. .I n
  10. ]
  11. .SH DESCRIPTION
  12. .B lat_select
  13. times how long it takes to
  14. .I select
  15. on
  16. .B n
  17. file descriptors.
  18. .B lat_select
  19. can either
  20. .I select
  21. on local files, or TCP network connections.
  22. .SH OUTPUT
  23. Output format depends on whether
  24. .B lat_select
  25. is testing local files or network connections.
  26. In either case it reports the number of descriptors
  27. and the average latency in microseconds.
  28. Example output for
  29. .B lat_select
  30. on files is:
  31. .sp
  32. .ft CB
  33. Select on 200 fd's: 67 microseconds
  34. .ft
  35. .PP
  36. or for network connections:
  37. .ft CB
  38. Select on 200 tcp fd's: 117 microseconds
  39. .ft
  40. .SH ACKNOWLEDGEMENT
  41. Funding for the development of
  42. this tool was provided by Sun Microsystems Computer Corporation.
  43. .SH "SEE ALSO"
  44. lmbench(8), select(2), dup(2), open(2).