logo
Free, unlimited AI code reviews that run on commit
git-lrc git-lrc GitHub Install Now We'd appreciate a star git-lrc - Free, unlimited AI code reviews that run on commit | Product Hunt git-lrc - Free, unlimited AI code reviews that run on commit | Product Hunt

lat_pipe - measure interprocess communication latency through pipes

Acknowledgement

       Funding for the development of this tool was provided by Sun Microsystems Computer Corporation.

Author

       Carl Staelin and Larry McVoy

       Comments, suggestions, and bug reports are always welcome.

(c)1994 Larry McVoy                                  $Date$                                          LAT_PIPE(8)

Description

lat_pipe  uses  two  processes  communicating  through  a Unix pipe to measure interprocess communication
       latencies.  The benchmark passes a token back and forth between the two processes (this sort of benchmark
       is frequently referred to as a ``hot potato'' benchmark).  No other work is done in the processes.

Name

       lat_pipe - measure interprocess communication latency through pipes

Output

       The reported time is in microseconds per round trip and  includes  the  total  time,  i.e.,  the  context
       switching overhead is includeded.  Output format is like so

       Pipelatency:491microseconds

See Also

lmbench(8).

Synopsis

lat_pipe [ -P<parallelism> ] [ -W<warmups> ] [ -N<repetitions> ]

See Also