From e38d1891b431daa48c747e85fec5abf19665cf0a Mon Sep 17 00:00:00 2001 From: Olivier Date: Sun, 10 Mar 2024 15:37:20 +0100 Subject: [PATCH] =?UTF-8?q?T=C3=A9l=C3=A9verser=20les=20fichiers=20vers=20?= =?UTF-8?q?"/"?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- ethernet.service | 12 ++++++++++++ multiqueue.service | 12 ++++++++++++ 2 files changed, 24 insertions(+) create mode 100644 ethernet.service create mode 100644 multiqueue.service diff --git a/ethernet.service b/ethernet.service new file mode 100644 index 0000000..dace903 --- /dev/null +++ b/ethernet.service @@ -0,0 +1,12 @@ +# 2024-01-23 +[Unit] +Description=Ethernet Settings +After=network-online.target + +[Service] +Type=oneshot +ExecStart=ip link set ens18 mtu 1500 +ExecStart=ip link set ens18 txqueuelen 1000 + +[Install] +WantedBy=multi-user.target diff --git a/multiqueue.service b/multiqueue.service new file mode 100644 index 0000000..36ce5ac --- /dev/null +++ b/multiqueue.service @@ -0,0 +1,12 @@ +# 2024-11-23 +[Unit] +Description=Ethernet Multiqueue +After=network-online.target + +[Service] +EnvironmentFile=/etc/env/nproc +Type=oneshot +ExecStart=ethtool -L ens18 combined ${NPROC} + +[Install] +WantedBy=multi-user.target