File: psst.1

package info (click to toggle)
psst 1.0-10
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid
  • size: 240 kB
  • sloc: ansic: 1,704; makefile: 46
file content (94 lines) | stat: -rw-r--r-- 2,851 bytes parent folder | download | duplicates (5)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
.TH PSST 1 "November 28, 2017"
.nr SM ((\n[.l] - \n[.i]) / 1n - 41)
.SH NAME
psst \- Power Stress and Shaping Tool
.SH SYNOPSIS
.\" The general command line
.B psst [options <value>]
.SH DESCRIPTION
The Power Stress and Shaping Tool (\fBPSST\fR) is a controlled power 'virus'
for Intel SoC components such as CPU and GPU.
.br
The objective is to subject the SoC at different run-time-varying
utilization levels for analysis. This is done by controlled duty-cycling
of utilization to specific contour. A simplest contour could be fixed low
utilization. This allows simple usage, such as logging of system parameters at
fixed low overhead even at small polling intervals (ms). More complex usage,
such as study of governors, workloads e.t.c., are possible by applying
different power shape contours and options.

.SH OPTIONS
.TP
.B \-C \-\-cpumask CPUMASK
CPUMASK is hexadecimal bit mask of cpu selected. (e.g., a1 selects
cpu 0, 5, 7. default: every online cpu, maximum 1024)
.TP
.B \-p \-\-poll\-period pollperiod
pollperiod specifies period for logging in milliseconds (default 500 ms)
.TP
.B \-d \-\-duration m
specifies duration m in milliseconds to run psst (default is 3600000; 1 hour)
.TP
.B \-l \-\-log\-file path
specifies the full path to the logfile (default is /var/log/psst.csv)
.TP
.B \-v \-\-verbose
enables verbose mode (default: disabled when args specified)
.TP
.B \-V \-\-version
prints version
.TP
.B \-T \-\-track\-max\-cpu
Track the cpu# with maxed freq during poll period
.TP
.B \-h \-\-help
prints help
.TP
.B \-s \-\-shape\-func shape-func,arg
Specifies power shape function and argument:
.TS
expand;
lB lBw(\n[SM]n)
l l.
Shape Function	Argument
single-step,v	T{
where v is load step height [C0%]. (default shape: single-step,0.1)
T}
sinosoid,w,a	T{
where w is wavelength [seconds] and a is the amplitude (max load %)
T}
stair-case,v,u	T{
where v is load step height [C0%], u is step length (sec)
T}
single-pulse,v,u	T{
where v is load step height [C0%], u is step length (sec)
T}
linear-ramp,m	T{
where m is the slope (load/sec)
T}
saw-tooth,m,a	T{
slope m (load/sec); reversed after max a% or min(0.1)%
T}
.TE
.SH EXAMPLES
.IP 1. 4
Use psst just for logging various power/thermal parameters:
.RS 8
sudo psst	 # same as $./psst -s single-step,0.1 -p 500 -v
.RE
.IP 2. 4
Linear ramp CPU power with slope 3% usage-per-sec applied for cpu 1 and 3,
polling and reporting every 700mS, output on termial, running for 33 seconds:
.RS 8
sudo psst -s linear-ramp,3 -C a -p 700 -d 33000 -v
.RE
.SH AUTHOR
Started by Noor Mubeen
.SH COPYRIGHT
Copyright \(co 2017, Intel Corporation
License GPLv2: GNU GPL version 2
.br
This is free software: you are free to change and redistribute it.
There is NO WARRANTY, to the extent permitted by law.
Or, say, there is NO warranty; not even for MERCHANTABILITY
or FITNESS FOR A PARTICULAR PURPOSE.