DragonFly BSD
DragonFly commits List (threaded) for 2004-04
[Date Prev][Date Next]  [Thread Prev][Thread Next]  [Date Index][Thread Index]

cvs commit: src/test/sysperf pipe2.c


From: Matthew Dillon <dillon@xxxxxxxxxxxxxxxxxxxxxxx>
Date: Tue, 27 Apr 2004 17:08:56 -0700 (PDT)

dillon      2004/04/27 17:08:56 PDT

DragonFly src repository

  Modified files:
    test/sysperf         pipe2.c 
  Log:
  Revamp the PIPE test a bit.  Use a calibration loop to make the test always
  run for a consistent period of time (around 6 seconds) no matter what the
  specified block size is.  Allow a third 'label' argument to be specified
  and reformat the MB/sec output to include the label and block size
  to make it easier to pick off results for gnuplot.  Finally, use mmap()
  instead of malloc() to create a cache-friendly read and write buffer to
  reduce noise in the performance results.
  
  Revision  Changes    Path
  1.4       +36 -22    src/test/sysperf/pipe2.c


http://www.dragonflybsd.org/cvsweb/src/test/sysperf/pipe2.c.diff?r1=1.3&r2=1.4&f=h



[Date Prev][Date Next]  [Thread Prev][Thread Next]  [Date Index][Thread Index]