Skip to content

Commit

Permalink
fix cron error
Browse files Browse the repository at this point in the history
  • Loading branch information
fbapt committed Dec 2, 2024
1 parent b7bc7a6 commit 3e4c196
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions roles/performance/tasks/main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -82,13 +82,13 @@
name: Enable udp gro forwarding to improve udp performance
user: root
special_time: reboot
job: "sleep 30 && ethtool -K {{ physical_interface.stdout }} rx-udp-gro-forwarding on"
job: "sleep 30 && /usr/sbin/ethtool -K {{ physical_interface.stdout }} rx-udp-gro-forwarding on"
state: present

- name: Crontab configuration udp throughput
ansible.builtin.cron:
name: Disable generic-receive-offload, generic-segmentation-offload for UDP throughput
user: root
special_time: reboot
job: "sleep 35 && ethtool -K {{ physical_interface.stdout }} gro off gso off"
job: "sleep 35 && /usr/sbin/ethtool -K {{ physical_interface.stdout }} gro off gso off"
state: present

0 comments on commit 3e4c196

Please sign in to comment.