moar perf

Signed-off-by: Frank Villaro-Dixon <frank@villaro-dixon.eu>
This commit is contained in:
Frank Villaro-Dixon 2024-06-17 17:38:00 +02:00
parent 7d2dedc561
commit 1d0fa81476

View file

@ -55,6 +55,17 @@
line: "dtoverlay=pps-gpio,gpiopin=18"
state: present
## Lower ethernet latency of smsc95xx
- name: Configure options in /boot/cmdline.txt
replace:
path: /boot/cmdline.txt
regexp: '^([\w](?!.*\b{{ item }}\b).*)$'
replace: '\1 {{ item }}'
with_items:
- smsc95xx.turbo_mode=N
tags: smsc95xx
## Enable UART for the GPS module
- name: Enable UART
lineinfile:
@ -64,6 +75,13 @@
insertafter: EOF
state: present
# - name: Disable bluetooth XXX makes it really laggy
# lineinfile:
# dest: /boot/config.txt
# regexp: "^dtoverlay=pi3-disable-bt"
# line: "dtoverlay=pi3-disable-bt"
# state: present
- name: Disable serial-getty@ttyS0
systemd:
name: serial-getty@ttyS0