diff options
author | Clark Williams <williams@redhat.com> | 2009-05-12 16:54:06 -0500 |
---|---|---|
committer | Clark Williams <williams@redhat.com> | 2009-05-12 16:54:06 -0500 |
commit | e8711b5cb9eb1e564aac131f31df42bacabd7d3f (patch) | |
tree | fa477e83c12feee2628d1259403f9dc665d8b8e4 | |
parent | 45d0c73f332c93dc5c0df737a65c833c6522e252 (diff) | |
download | rt-tests-e8711b5cb9eb1e564aac131f31df42bacabd7d3f.tar.gz rt-tests-e8711b5cb9eb1e564aac131f31df42bacabd7d3f.tar.xz |
initial checkin
-rw-r--r-- | src/smidetect/smidetect.8 | 85 |
1 files changed, 85 insertions, 0 deletions
diff --git a/src/smidetect/smidetect.8 b/src/smidetect/smidetect.8 new file mode 100644 index 0000000..223e1fd --- /dev/null +++ b/src/smidetect/smidetect.8 @@ -0,0 +1,85 @@ +.\" Hey, EMACS: -*- nroff -*- +.TH SMIDETECT 8 "May 12, 2009" +.\" Please adjust this date whenever revising the manpage. +.\" +.\" Some roff macros, for reference: +.\" .nh disable hyphenation +.\" .hy enable hyphenation +.\" .ad l left justify +.\" .ad b justify to both left and right margins +.\" .nf disable filling +.\" .fi enable filling +.\" .br insert line break +.\" .sp <n> insert n+1 empty lines +.\" for manpage-specific macros, see man(7) +.SH NAME +smidetect \- program to control the kernel SMI detection module +.SH SYNOPSIS +.B smidetect +.RI "[ \-\-duration=<time> ] [\-\-threshold=<usecs> ] \ +[\-\-interval=<msecs> ] [\-\-sample_width=<msecs> ] [\-\-report=<path> ] \ +[\-\-cleanup ] [\-\-debug ] [\-\-quiet ] + +.\" .SH DESCRIPTION +.\" This manual page documents briefly the +.\" .B smidetect commands. +.\" .PP +.\" \fI<whatever>\fP escape sequences to invode bold face and italics, respectively. +.\" \fBsmidetect\fP is a program that... +.SH DESCRIPTION +\fBsmidetect\fP is a program that controls the SMI detector kernel +module (smi_detector.ko), provided with a realtime Linux kernel. The +module is used to detect the presence of System Management Interrupts +(SMI) which in some cases cause unexplained latencies. SMIs are generally +handled by BIOS code, not Linux kernel code and so cause unexpected +gaps in time. + +The SMI kernel module runs a function that polls the TSC register +under the \fBstop_machine()\fP kernel function, looking for gaps in +time. Any gap that exceeds the specified input threshold is considered +to be the result of an SMI. + +.SH OPTIONS +.TP +.B \-\-duration=<time>[smhd] +Run the detector logic in for the specified duration. The duration is +a base 10 integer number that defaults to a value in seconds. An +optional suffix may be specified to indicate minutes, hours or days. + +.TP +.B \-\-threshold=<microsecond value> +Specify the TSC gap used to detect an SMI. Any gap value greater than +<theshold> is considered to be the result of an SMI occuring. + +.TP +.B \-\-interval=<millisecond value> +specify the interval between sample windows in milliseconds + +.TP +.B \-\-sample_width=<millisecond value> +Specify the amount of time the kernel logic will run the detector +function, as a millisecond value +context switch tracing (used with \-b) +.TP +.B \-\-report=FILENAME +Specify the output filename of the SMI detector report. Default +behavior is to print to standard output +.TP +.B \-\-cleanup +Force unload of smi_detector.ko and unmounting of debugfs filesystem. +.TP +.B \-\-debug +Turn on debug prints +.TP +.B \-\-quiet +Turn off all information prints +.\" .SH SEE ALSO +.\" .BR bar (1), +.\" .BR baz (1). +.\" .br +.\" The programs are documented fully by +.\" .IR "The Rise and Fall of a Fooish Bar" , +.\" available via the Info system. +.SH AUTHOR +.B smidetect +.R was written by Clark Williams <williams@redhat.com> |