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

bw_unix - UNIX pipe bandwidth

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-2000 Larry McVoy and Carl Staelin            $Date$                                           BW_UNIX(8)

Description

bw_unix  creates a pipe and forks a child process which keeps writing data to the pipe as fast as it can.
       The benchmark measures how fast the parent process can read the data in size-byte chunks from  the  pipe.
       Nothing is done with the data in either the parent (reader) or child (writer) processes.

       The  size  specification  may  end  with ``k'' or ``m'' to mean kilobytes (* 1024) or megabytes (* 1024 *
       1024).

Memory Utilization

       This benchmark should move approximately the reported amount of memory.

Name

       bw_unix - UNIX pipe bandwidth

Output

       Output format is "%0.2f%.2f\n",megabytes,megabytes_per_second, i.e.,

       8.0025.33

See Also

lmbench(8).

Synopsis

bw_unix [ -P<parallelism> ] [ -W<warmups> ] [ -N<repetitions> ] size

See Also