Note: Optional settings include:
•
PCIe address (For example: -S, -B, -D, -F),
pacd
monitors all Intel
FPGA PACs matching the PCIe address components specified. For
example, if you specify -B 5 only, all Intel FPGA PACs on PCIe bus 5
becomes monitored.
•
Sensor Threshold—The thresholds are global, so specifying -T
11:95.0:93.0 monitors sensor 11 on all selected Intel FPGA PACs. When
the value exceeds 95.0, it causes the default bitstream specified with -n
in pacd.conf to be programmed (PR). The sensor is considered triggered
(and no PR is performed) until its value drops below 93.0
•
Specify
-c <time period>
for
ThresholdOptions
in
pacd.conf
to
vary the cool down period or change
CooldownInterval=<time
period>
.
•
The Sensor Number can be found by running this command:
sudo fpgainfo bmc
Examine the remaining option variables and adjust as appropriate for your
system.
2. Copy
pacd.conf
to the default systemd service configuration directory
(typically
/etc/sysconfig
).
RHEL:
sudo cp /usr/bin/pacd.conf /etc/sysconfig/
3. Edit the
pacd.service
file to update “
EnvironmentFile
” entry to reflect where
the
pacd.conf
file was copied. Prepend the path name with a single dash ‘
-
‘, and
specify the path as absolute.
sudo vim /usr/bin/pacd.service
Edit entry:
RHEL:
EnvironmentFile=-/etc/sysconfig/pacd.conf
4. Copy
pacd.service
to /etc
/systemd/system/pacd.service
. This will make
pacd
visible to systemd.
RHEL:
sudo cp /usr/bin/pacd.service /etc/systemd/system/
5. Start
pacd
as a systemd service.
Note: Please use
sudo
if command cannot be run in regular user mode.
systemctl daemon-reload
systemctl start pacd.service
6. Optional: To enable
pacd
to re-start on boot, execute
systemctl enable pacd.service
To check whether
pacd
has started and to check state or actions, please examine
the log file (specified in
pacd.conf
on the “
LogFile
” line).
A. Handling Graceful Thermal Shutdown
UG-20202 | 2019.08.05
Intel Acceleration Stack Quick Start Guide: Intel FPGA Programmable
Acceleration Card D5005
26