aboutsummaryrefslogtreecommitdiff
path: root/tools/tools/ioat/ioatcontrol.8
diff options
context:
space:
mode:
authorConrad Meyer <cem@FreeBSD.org>2015-12-14 22:02:01 +0000
committerConrad Meyer <cem@FreeBSD.org>2015-12-14 22:02:01 +0000
commitd37872da341825c6a42fdd77d8c8f270d7a94f33 (patch)
treec71b499a179affd60df6106e8dd1ce226459ee1f /tools/tools/ioat/ioatcontrol.8
parent5ca9fc2a8d46637aaa188f3b5a42f208cee8f575 (diff)
downloadsrc-d37872da341825c6a42fdd77d8c8f270d7a94f33.tar.gz
src-d37872da341825c6a42fdd77d8c8f270d7a94f33.zip
ioatcontrol(8): Add support for interrupt coalescing
The new flag, -c <period>, sets the interrupt coalescing period in microseconds through the new ioat(4) API ioat_set_interrupt_coalesce(). Also add a -z flag to zero ioat statistics before tests, to make it easy to measure results. Sponsored by: EMC / Isilon Storage Division
Notes
Notes: svn path=/head/; revision=292229
Diffstat (limited to 'tools/tools/ioat/ioatcontrol.8')
-rw-r--r--tools/tools/ioat/ioatcontrol.814
1 files changed, 13 insertions, 1 deletions
diff --git a/tools/tools/ioat/ioatcontrol.8 b/tools/tools/ioat/ioatcontrol.8
index 002759fb5be8..9e156fd89892 100644
--- a/tools/tools/ioat/ioatcontrol.8
+++ b/tools/tools/ioat/ioatcontrol.8
@@ -24,7 +24,7 @@
.\"
.\" $FreeBSD$
.\"
-.Dd December 9, 2015
+.Dd December 14, 2015
.Dt IOATCONTROL 8
.Os
.Sh NAME
@@ -33,10 +33,12 @@
.Xr ioat 4
.Sh SYNOPSIS
.Nm
+.Op Fl c Ar period
.Op Fl E
.Op Fl f
.Op Fl m
.Op Fl V
+.Op Fl z
.Ar channel_number
.Ar num_txns
.Ar [ bufsize
@@ -44,9 +46,11 @@
.Ar [ duration ] ] ]
.Nm
.Fl r
+.Op Fl c Ar period
.Op Fl v
.Op Fl V
.Op Fl w
+.Op Fl z
.Ar channel_number
.Ar address
.Ar [ bufsize ]
@@ -57,6 +61,8 @@ allows one to issue some number of test operations to the
driver on a specific hardware channel.
The arguments are as follows:
.Bl -tag -width Ds
+.It Fl c Ar period
+Configure the channel's interrupt coalescing period, in microseconds.
.It Fl E
Test non-contiguous 8k copy.
.It Fl f
@@ -67,6 +73,8 @@ tests copy)
Test memcpy instead of DMA.
.It Fl V
Verify copies/fills for accuracy
+.It Fl z
+Zero device statistics before running test.
.El
.Pp
Alternatively one can use
@@ -76,6 +84,8 @@ to issue DMA to or from a specific
.Ar address .
The arguments in "raw" mode are:
.Bl -tag -width Ds
+.It Fl c Ar period
+As above.
.It Fl v
.Ar address
is a kernel virtual address (by default,
@@ -90,6 +100,8 @@ Write to the specified
.Nm
.Fl r
reads)
+.It Fl z
+As above.
.El
.Pp
.Nm