diff --git a/ultramarine/ultramarine-system-configs/50-mtu-probing.conf b/ultramarine/ultramarine-system-configs/50-mtu-probing.conf new file mode 100644 index 0000000..ce99fca --- /dev/null +++ b/ultramarine/ultramarine-system-configs/50-mtu-probing.conf @@ -0,0 +1,7 @@ +# Enables MTU Probing for IPv4 +# Fixes a quirk with some home network setups and +# some applications/games that have QoS issues with large packets +# e.g. Minecraft, Ubisoft Connect, etc. +# https://blog.cloudflare.com/path-mtu-discovery-in-practice/ +# https://www.reddit.com/r/linux_gaming/comments/10oc0dq/comment/j6e0ds2 +net.ipv4.tcp_mtu_probing=1 diff --git a/ultramarine/ultramarine-system-configs/networking-tweaks.conf b/ultramarine/ultramarine-system-configs/networking-tweaks.conf index 154395d..53e8519 100644 --- a/ultramarine/ultramarine-system-configs/networking-tweaks.conf +++ b/ultramarine/ultramarine-system-configs/networking-tweaks.conf @@ -1,11 +1,3 @@ -# Enables MTU Probing for IPv4 -# Fixes a quirk with some home network setups and -# some applications/games that have QoS issues with large packets -# e.g. Minecraft, Ubisoft Connect, etc. -# https://blog.cloudflare.com/path-mtu-discovery-in-practice/ -# https://www.reddit.com/r/linux_gaming/comments/10oc0dq/comment/j6e0ds2 -net.ipv4.tcp_mtu_probing=1 - # Enable TCP Fast Open # Reduces latency for opening connections # https://lwn.net/Articles/508865/ diff --git a/ultramarine/ultramarine-system-configs/ultramarine-system-configs.spec b/ultramarine/ultramarine-system-configs/ultramarine-system-configs.spec index fb0e80f..6e864f7 100644 --- a/ultramarine/ultramarine-system-configs/ultramarine-system-configs.spec +++ b/ultramarine/ultramarine-system-configs/ultramarine-system-configs.spec @@ -10,6 +10,7 @@ Source1: tmpfiles-cleanup.conf Source2: ultramarine-logrotate.conf Source3: networking-tweaks.conf Source4: bbr.conf +Source5: 50-mtu-probing.conf BuildRequires: /usr/bin/install @@ -47,6 +48,7 @@ install -Dm644 %{SOURCE1} %{buildroot}/etc/tmpfiles.d/tmpfiles-cleanup.conf install -Dm644 %{SOURCE2} %{buildroot}/etc/logrotate.d/ultramarine-logrotate.conf install -Dm644 %{SOURCE3} %{buildroot}/etc/sysctl.d/50-networking-tweaks.conf install -Dm644 %{SOURCE4} %{buildroot}/etc/modules-load.d/bbr.conf +install -Dm644 %{SOURCE5} %{buildroot}/etc/sysctl.d/50-mtu-probing.conf %files @@ -61,6 +63,7 @@ install -Dm644 %{SOURCE4} %{buildroot}/etc/modules-load.d/bbr.conf %config /etc/tmpfiles.d/tmpfiles-cleanup.conf %config /etc/systemd/journald.conf.d/journal-cleanup.conf %config /etc/logrotate.d/ultramarine-logrotate.conf +%config /etc/sysctl.d/50-mtu-probing.conf %changelog * Sat Aug 03 2024 Cappy Ishihara