Skip to content
Tom Barbette edited this page Oct 3, 2018 · 2 revisions

TaskThreadTest Element Documentation

NAME

TaskThreadTest — Click element; runs Task stress test

SYNOPSIS

TaskThreadTest([keywords])

Ports: none

DESCRIPTION

TaskThreadTest is a stress test for Click Task scheduling. It creates N tasks (default 4096) that are always scheduled, then continually (1) deletes and recreates FREE of the tasks (default 128) and (2) reschedules CHANGE of the tasks onto another thread (default 1024).

TaskThreadTest does not route packets.

Keyword arguments are:

  • N — Unsigned integer. Number of tasks. Default is 4096.
  • FREE — Unsigned integer. Number of tasks to delete and recreate on each main-task scheduling. Default is 128.
  • CHANGE — Unsigned integer. Number of tasks to change threads on each main-task scheduling. Default is 1024.
  • MAIN_TICKETS — Unsigned integer. Scheduling priority for the main task.
  • PROGRESS — Unsigned integer. If nonzero, print periodic progress reports, the more often the lower the number. Default is 0.

ELEMENT HANDLERS

  • runs (read-only) — Space-separated array of counters. How many times a task has run on each thread.

Generated by click-elem2man from ../elements/test/taskthreadtest.hh:8 on 2018/10/03.

Clone this wiki locally