"Fossies" - the Fresh Open Source Software Archive

Member "stress-ng-0.09.56/example-jobs/hot-cpu.job" (15 Mar 2019, 2264 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 # hot-cpu 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 # verbose
   32 #   show all debug, warnings and normal information output.
   33 #
   34 #verbose
   35 
   36 #
   37 # run each of the tests for 60 seconds
   38 #  stop stress test after N seconds. One can also specify the units
   39 #  of time in seconds, minutes, hours, days or years with the  suf‐
   40 #  fix s, m, h, d or y.
   41 #
   42 timeout 1m
   43 
   44 #
   45 # times
   46 #   show the cumulative user and system times of all the child  pro‐
   47 #   cesses at the end of the stress run.  The percentage of utilisa‐
   48 #   tion of available CPU time is also calculated from the number of
   49 #   on-line CPUs in the system.
   50 #
   51 times
   52 
   53 # tz
   54 #   collect  temperatures  from  the  available thermal zones on the
   55 #   machine (Linux only).  Some devices may have one or more thermal
   56 #   zones, where as others may have none.
   57 tz
   58 
   59 #
   60 # per stressor options start here
   61 #
   62 
   63 #
   64 # cpu stressor options:
   65 #   start N workers  exercising  the  CPU  by  sequentially  working
   66 #   through  all  the different CPU stress methods. Instead of exer‐
   67 #   cising all the CPU stress methods, one can  specify  a  specific
   68 #   CPU stress method with the --cpu-method option.
   69 #
   70 cpu 0			# 0 means 1 stressor per CPU
   71 # cpu-ops 1000000	# stop after 1000000 bogo ops
   72 # cpu-load 90%		# load CPUs at 90%
   73 # cpu-load-slice 50	# 50ms per slice
   74 # cpu-method all	# use all cpu stressor methods
   75 
   76 matrix 0		# 0 means 1 stressor per CPU
   77 # matrix-ops 1000000	# stop after 1000000 bogo ops
   78 # matrix-method all	# use all matrix stressor methods
   79 # matrix size 65536	# size of N x N matrix
   80