"Fossies" - the Fresh Open Source Software Archive

Member "stress-ng-0.09.56/example-jobs/device.job" (15 Mar 2019, 2857 Bytes) of package /linux/privat/stress-ng-0.09.56.tar.xz:


As a special service "Fossies" has tried to format the requested text file into HTML format (style: standard) with prefixed line numbers. Alternatively you can here view or download the uninterpreted source code file.

    1 #
    2 # device class stressors:
    3 #   various options have been commented out, one can remove the
    4 #   proceeding comment to enable these options if required.
    5 
    6 #
    7 # run the following tests in parallel or sequentially
    8 #
    9 run sequential
   10 # run parallel
   11 
   12 #
   13 # aggressive:
   14 #   enables more file, cache and memory aggressive options. This may
   15 #   slow tests down, increase latencies and  reduce  the  number  of
   16 #   bogo  ops as well as changing the balance of user time vs system
   17 #   time used depending on the type of stressor being used.
   18 #
   19 # aggressive
   20 
   21 #
   22 # ignite-cpu:
   23 #   alter kernel controls to try and maximize the CPU. This requires
   24 #   root  privilege  to alter various /sys interface controls.  Cur‐
   25 #   rently this only works for Intel P-State enabled x86 systems  on
   26 #   Linux.
   27 #
   28 # ignite-cpu
   29 
   30 #
   31 # keep-name:
   32 #   by  default,  stress-ng  will  attempt to change the name of the
   33 #   stress processes according to their functionality;  this  option
   34 #   disables  this and keeps the process names to be the name of the
   35 #   parent process, that is, stress-ng.
   36 #
   37 # keep-name
   38 
   39 #
   40 # metrics-brief:
   41 #   enable metrics and only output metrics that are non-zero.
   42 #
   43 metrics-brief
   44 
   45 #
   46 # verbose
   47 #   show all debug, warnings and normal information output.
   48 #
   49 verbose
   50 
   51 #
   52 # run each of the tests for 60 seconds
   53 #  stop stress test after N seconds. One can also specify the units
   54 #  of time in seconds, minutes, hours, days or years with the  suf‐
   55 #  fix s, m, h, d or y.
   56 #
   57 timeout 60s
   58 
   59 #
   60 # per stressor options start here
   61 #
   62 
   63 #
   64 # dev stressor options:
   65 #   start N workers that exercise the /dev devices. Each worker runs
   66 #   5 concurrent threads that perform open(2),  fstat(2),  lseek(2),
   67 #   poll(2),  fcntl(2), mmap(2), munmap(2), fsync(2) and close(2) on
   68 #   each device.  Note that watchdog devices are not exercised.
   69 #
   70 dev 0			# 0 means 1 stressor per CPU
   71 # dev-ops 1000000	# stop after 1000000 bogo ops
   72 
   73 #
   74 # full stressor options:
   75 #   start N workers that exercise /dev/full.  This attempts to write
   76 #   to  the  device  (which should always get error ENOSPC), to read
   77 #   from the device (which should always return a buffer  of  zeros)
   78 #   and  to  seek  randomly  on the device (which should always suc‐
   79 #   ceed).  (Linux only).
   80 #
   81 full 0			# 0 means 1 stressor per CPU
   82 # full-ops 1000000	# stop after 1000000 bogo ops
   83 
   84 #
   85 # null stressor options:
   86 #   start N workers writing to /dev/null
   87 #
   88 null 0			# 0 means 1 stressor per CPU
   89 # null-ops 1000000	# stop after 1000000 bogo ops
   90 
   91 #
   92 # urandom stressor options:
   93 #   start  N  workers  reading  /dev/urandom (Linux only). This will
   94 #   load the kernel random number source.
   95 urandom 0		# 0 means 1 stressor per CPU
   96 # urandom-ops 1000000	# stop after 1000000 bogo ops
   97 
   98 #
   99 # zero stressor option:
  100 #   start N workers reading /dev/zero
  101 #
  102 zero 0			# 0 means 1 stressor per CPU
  103 zero-ops 1000000	# stop after 1000000 bogo ops