11 lines
425 B
Text
11 lines
425 B
Text
|
|
# systemd drop-in: /etc/systemd/system/caddy.service.d/affinity.conf
|
||
|
|
#
|
||
|
|
# Keep Caddy off cpu0. The PPS interrupt is handled there and cannot be moved
|
||
|
|
# (Pi 4 GPIO IRQs are demuxed via pinctrl-bcm2835 and refuse an smp_affinity),
|
||
|
|
# so any work scheduled on cpu0 adds jitter to the PPS timestamp directly.
|
||
|
|
# Caddy is mostly idle, but on this box cpu0 belongs to the clock. See
|
||
|
|
# TIMING-NOTES.md.
|
||
|
|
[Service]
|
||
|
|
CPUAffinity=1
|
||
|
|
Nice=10
|