git: dsynth - Add -M scale option

Matthew Dillon dillon at crater.dragonflybsd.org
Mon May 17 15:59:17 PDT 2021


commit 4ad2f7b80fd4e0589bbe57e52ea6780bd9b3c497
Author: Matthew Dillon <dillon at apollo.backplane.com>
Date:   Mon May 17 15:48:59 2021 -0700

    dsynth - Add -M scale option
    
    * Add option to scale the number of workers allowed.  The dynamic workers
      calculation operates normally but all results are scaled accordingly.
      Values between 0.01 and 99.0 are acceptable.
    
      This option does not modify the number of jobs for each worker.
    
    * Typically used for load testing.  Generally speaking, for actual use
      the scale should be specified between 0.8 and 1.2.   The default scale
      factor is 1.0.

Summary of changes:
 usr.bin/dsynth/build.c  | 10 ++++++++++
 usr.bin/dsynth/dsynth.1 |  8 ++++++++
 usr.bin/dsynth/dsynth.c | 10 +++++++++-
 usr.bin/dsynth/dsynth.h |  1 +
 4 files changed, 28 insertions(+), 1 deletion(-)

http://gitweb.dragonflybsd.org/dragonfly.git/commitdiff/4ad2f7b80fd4e0589bbe57e52ea6780bd9b3c497


-- 
DragonFly BSD source repository


More information about the Commits mailing list