| 1 |
.\" Hey, EMACS: -*- nroff -*- |
| 2 |
.TH DETERMINE_MAXIMUM_MPPS 8 "Dec 4, 2020" |
| 3 |
# SPDX-License-Identifier: GPL-2.0-or-later |
| 4 |
.\" Please adjust this date whenever revising the manpage. |
| 5 |
.\" |
| 6 |
.\" Some roff macros, for reference: |
| 7 |
.\" .nh disable hyphenation |
| 8 |
.\" .hy enable hyphenation |
| 9 |
.\" .ad l left justify |
| 10 |
.\" .ad b justify to both left and right margins |
| 11 |
.\" .nf disable filling |
| 12 |
.\" .fi enable filling |
| 13 |
.\" .br insert line break |
| 14 |
.\" .sp <n> insert n+1 empty lines |
| 15 |
.\" for manpage-specific macros, see man(7) |
| 16 |
.SH NAME |
| 17 |
determine_maximum_mpps \- Determine the maximum mpps the machine can handle |
| 18 |
.SH SYNOPSIS |
| 19 |
.LP |
| 20 |
determine_maximum_mpps [-a cpulist] [-m maxlat] [-n cycles] [-f | -r] [-p priority] [-h] |
| 21 |
.SH DESCRIPTION |
| 22 |
determine_maximum_mpps will find the maximum mpps parameter which can sustain |
| 23 |
.PP |
| 24 |
.RS |
| 25 |
1. 10 consecutive 30 second runs. |
| 26 |
.br |
| 27 |
2. 1 run of 10 minutes. |
| 28 |
.PP |
| 29 |
.RE |
| 30 |
Without violating the latency specified with $MAXLAT (default 20000) |
| 31 |
.PP |
| 32 |
.SH TERMINOLOGY |
| 33 |
mpps : million-packets-per-second |
| 34 |
.br |
| 35 |
.SH OPTIONS |
| 36 |
.TP |
| 37 |
.B \-a cpulist |
| 38 |
List of processors to run on. The default is processor 0 |
| 39 |
.br |
| 40 |
Numbers are separated by commas and may include ranges. Eg. 0,3,7\-11 |
| 41 |
.TP |
| 42 |
.B \-m maxlat |
| 43 |
Maximum latency in nanoseconds. The default is 20000. If the maximum is exceeded, that run of queuelat quits. |
| 44 |
.TP |
| 45 |
.B \-n cycles |
| 46 |
Extimated number of cycles it takes to process one packet. The default is 300 |
| 47 |
.TP |
| 48 |
.B \-f |
| 49 |
Set the scheduling policy to SCHED_FIFO. This is the default if not specified. |
| 50 |
.TP |
| 51 |
.B \-r |
| 52 |
Set the scheduling policy to SCHED_RR. |
| 53 |
.TP |
| 54 |
.B \-p priority |
| 55 |
default priority = 1. Valid numbers are from 1 to 99 |
| 56 |
.TP |
| 57 |
.B \-h |
| 58 |
help |
| 59 |
.LP |
| 60 |
.SH AUTHOR |
| 61 |
determine_maximum_mpps was written by |
| 62 |
.br |
| 63 |
Marcelo Tosatti <[email protected]> |
| 64 |
.PP |
| 65 |
This man page was written by John Kacur <[email protected]> |