"Fossies" - the Fresh Open Source Software Archive

Member "stress-ng-0.09.56/example-jobs/network.job" (15 Mar 2019, 6000 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 # network 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 10s
   58 
   59 #
   60 # per stressor options start here
   61 #
   62 
   63 #
   64 # fifo stressor options:
   65 #   start  N  workers  that exercise a named pipe by transmitting 64
   66 #   bit integers.
   67 #
   68 fifo 0			# 0 means 1 stressor per CPU
   69 # fifo-ops 1000000	# stop after 1000000 bogo ops
   70 
   71 #
   72 # dccp stressor options:
   73 #   start  N  workers  that send and receive data using the Datagram
   74 #   Congestion Control Protocol (DCCP) (RFC4340).  This  involves  a
   75 #   pair  of  client/server processes performing rapid connect, send
   76 #   and receives and disconnects on the local host.
   77 #
   78 dccp 0			# 0 means 1 stressor per CPU
   79 # dccp-ops 1000000	# stop after 1000000 bogo ops
   80 # dccp-domain ipv6	# domains, ipv4 or ipv6
   81 # dccp-port 12000	# port to use
   82 # dccp-opts send	# use send, sendmsg or sendmmsg to send data
   83 
   84 #
   85 # epoll stressor options:
   86 #   start  N  workers  that  perform  various  related socket stress
   87 #   activity using epoll_wait(2) to monitor and handle  new  connec‐
   88 #   tions.  This  involves  client/server processes performing rapid
   89 #   connect, send/receives and disconnects on the local host.  Using
   90 #   epoll  allows  a  large  number of connections to be efficiently
   91 #   handled, however, this can lead to the connection table  filling
   92 #   up  and  blocking further socket connections, hence impacting on
   93 #   the epoll bogo op stats.  For ipv4 and  ipv6  domains,  multiple
   94 #   servers are spawned on multiple ports. The epoll stressor is for
   95 #   Linux only.
   96 #
   97 epoll 0			# 0 means 1 stressor per CPU
   98 # epoll-ops 1000000	# stop after 1000000 bogo ops
   99 # epoll-domain ipv6	# domains, ipv4, ipv6 or unix
  100 # epoll-port 11000	# port to use
  101 
  102 #
  103 # icmp-flood stressor options:
  104 #   start N workers that flood localhost with  randonly  sized  ICMP
  105 #   ping packets.  This option can only be run as root.
  106 #
  107 icmp-flood 0		# 0 means 1 stressor per CPU
  108 # icmp-flood-ops 1000000 # stop after 1000000 bogo ops
  109 
  110 #
  111 # sctp stressor options:
  112 #   start N workers that perform network sctp stress activity  using
  113 #   the  Stream Control Transmission Protocol (SCTP).  This involves
  114 #   client/server processes performing rapid connect,  send/receives
  115 #   and disconnects on the local host.
  116 #
  117 sctp 0			# 0 means 1 stressor per CPU
  118 # sctp-ops 1000000	# stop after 1000000 bogo ops
  119 # sctp-domain ipv6	# domains, ipv4 or ipv6
  120 # sctp-port 14000	# port to use
  121 
  122 #
  123 # sock stressor options:
  124 #   start N workers that perform  various  socket  stress  activity.
  125 #   This involves a pair of client/server processes performing rapid
  126 #   connect, send and receives and disconnects on the local host.
  127 #
  128 sock 0			# 0 means 1 stressor per CPU
  129 # sock-ops 1000000	# stop after 1000000 bogo ops
  130 # sock-domain ipv6	# domains, ipv4, ipv6 or unix
  131 # sock-nodelay		# disable TCP Nangle algorithm
  132 # sock-opts send	# use send, sendmsg or sendmmsg to send data
  133 # sock-port 15000	# port to use
  134 # sock-type stream	# use stream or seqpacket
  135 
  136 #
  137 # sockfd stressor options:
  138 #   start N workers that pass file descriptors over  a  UNIX  domain
  139 #   socket  using  the  CMSG(3)  ancillary  data mechanism. For each
  140 #   worker, pair of client/server processes are created, the  server
  141 #   opens  as  many  file  descriptors  on /dev/null as possible and
  142 #   passing these over the socket to a client that reads these  from
  143 #   the CMSG data and immediately closes the files.
  144 #
  145 sockfd 0		# 0 means 1 stressor per CPU
  146 # sockfd-ops 1000000	# stop after 1000000 bogo ops
  147 # sockfd-port 16000	# port to use
  148 
  149 #
  150 # sockpair stressor options:
  151 #   start N workers that perform socket pair I/O  read/writes.  This
  152 #   involves  a  pair of client/server processes performing randomly
  153 #   sized socket I/O operations.
  154 #
  155 sockpair 0		# 0 means 1 stressor per CPU
  156 # sockpair-ops 1000000	# stop after 1000000 bogo ops
  157 
  158 #
  159 # udp stressor options:
  160 #   start N workers that transmit data using UDP.  This  involves  a
  161 #   pair  of  client/server processes performing rapid connect, send
  162 #   and receives and disconnects on the local host.
  163 #
  164 udp 0			# 0 means 1 stressor per CPU
  165 # udp-ops 1000000	# stop after 1000000 bogo ops
  166 # udp-domain ipv6	# domains, ipv4, ipv6 or unix
  167 # udp-lite		# use the UDP-Lite (RFC3828) protocol
  168 # udp-port 17000	# port to use
  169 
  170 #
  171 # udp-flood stressor options:
  172 #   start  N workers that attempt to flood the host with UDP packets
  173 #   to random ports. The IP address of the packets are currently not
  174 #   spoofed.   This  is  only  available  on  systems  that  support
  175 #   AF_PACKET.
  176 #
  177 udp-flood 0		# 0 means 1 stressor per CPU
  178 # udp-flood-ops 1000000 # stop after 1000000 bogo ops
  179 # udp-domain ipv6	# domains, ipv4 or ipv6