# Rocky 9.5 slow network "bad gso"

**URL:** <https://forums.rockylinux.org/t/rocky-9-5-slow-network-bad-gso/16588>\
**Category:** Rocky Linux Help & Support\
**Tags:** rocky-linux-9\
**Created:** [November 22, 2024, 9:23am UTC](https://forums.rockylinux.org/t/rocky-9-5-slow-network-bad-gso/16588 "2024-11-22T09:23:39Z")\
**Posts on this page:** 14\
**Page:** 1

<div class="post-metadata">

**Author:** ![markyb](https://avatars.discourse-cdn.com/v4/letter/m/45deac/32.png) [@markyb](https://forums.rockylinux.org/u/markyb)\
**Post date:** [November 22, 2024, 9:23am UTC](https://forums.rockylinux.org/t/rocky-9-5-slow-network-bad-gso/16588/1 "2024-11-22T09:23:39Z")

</div>

Hi - I just patched a couple of servers and noticed quite quickly very slow throughput on the network and these kernel messages  
Nov 22 09:03:23 vuh-lb-webdev04 kernel: ens192: bad gso: type: 1, size: 1448  
The network is virtio on nutanix

The kernel was 5.14.0-503.14.1.el9\_5  
I have put the kernel down to a previous version and its ok now.  
grubby --set-default /boot/vmlinuz-5.14.0-427.24.1.el9\_4.x86\_64

Regards  
Mark

---

<div class="post-metadata">

**Author:** ![label](https://avatars.discourse-cdn.com/v4/letter/l/c5a1d2/32.png) [@label](https://forums.rockylinux.org/u/label)\
**Post date:** [November 22, 2024, 10:00am UTC](https://forums.rockylinux.org/t/rocky-9-5-slow-network-bad-gso/16588/2 "2024-11-22T10:00:21Z")

</div>

You can try this command on the latest kernel we provide.

```auto
ethtool --offload ens192 rx-gro-hw off

```

Otherwise you’ll need to wait for upstream fixes to land in CentOS Stream 9 / RHEL 9 before they come to us.

---

<div class="post-metadata">

**Author:** ![lbonnaire](https://avatars.discourse-cdn.com/v4/letter/l/7c8e57/32.png) [@lbonnaire](https://forums.rockylinux.org/u/lbonnaire)\
**Post date:** [November 25, 2024, 10:16am UTC](https://forums.rockylinux.org/t/rocky-9-5-slow-network-bad-gso/16588/3 "2024-11-25T10:16:55Z")

</div>

Hello there.

Thanks for the temporary patch, it works for me too.

We detected same network issues when pulling a docker image from a local repository, but not when pulling from the docker hub.

Do you know when the official patch will be released ?

Lucas

---

<div class="post-metadata">

**Author:** ![james-p](https://avatars.discourse-cdn.com/v4/letter/j/b782af/32.png) [@james-p](https://forums.rockylinux.org/u/james-p)\
**Post date:** [November 25, 2024, 12:55pm UTC](https://forums.rockylinux.org/t/rocky-9-5-slow-network-bad-gso/16588/4 "2024-11-25T12:55:52Z")

</div>

I’ve had the same problem with Nutanix VMs and 9.5

The workaround with turning ‘rx-gro-hw’ off is fine for installed VMs (upgraded from 9.4) - but doesn’t help when network installing 9.5 … I’m trying to find if there is a workaround for this ?

The Redhat knowledge base article about this issue: [Poor virtio-net performance and "bad gso: type: 1, size:" logged in RHEL 9.5 - Red Hat Customer Portal](https://access.redhat.com/solutions/7096304) (requires a login) just has ‘TBA’ for when the issue will be fixed and the referenced Redhat bugs are private (probably because they are kernel bugs?)

There is no mention if the 9.5 installer will also fixed …

---

<div class="post-metadata">

**Author:** ![james-p](https://avatars.discourse-cdn.com/v4/letter/j/b782af/32.png) [@james-p](https://forums.rockylinux.org/u/james-p)\
**Post date:** [November 25, 2024, 3:08pm UTC](https://forums.rockylinux.org/t/rocky-9-5-slow-network-bad-gso/16588/5 "2024-11-25T15:08:25Z")

</div>

I’ve managed to find a hacky workaround to this problem when PXE installing 9.5 using the virtio\_net driver - which involves adding the ethtool workaround into the PXE install initrd.img - if anyone is interested, the following script can be run to create a new/hacked PXE initrd.img from the original:

```raw
#!/bin/sh -x

initrd="$1"
[-z "$initrd"] && exit 1

dir="$(mktemp -d)"

cd "$dir" || exit 1

lsinitrd --unpack "$initrd"

mkdir usr/lib/systemd/system/nm-wait-online-initrd.service.d
cat << EOF > usr/lib/systemd/system/nm-wait-online-initrd.service.d/hack.conf
[Service]
ExecStartPost=/usr/bin/rx-gro-hw-off.sh
EOF

cat << "EOF" > usr/bin/rx-gro-hw-off.sh
#!/usr/bin/sh
dev="$(ip route | awk '/^default/ {print $5}')"
if ethtool -i "$dev" | grep -q virtio_net; then
   ethtool -K "$dev" rx-gro-hw off
fi
exit 0
EOF
chmod +x usr/bin/rx-gro-hw-off.sh

cp -p /usr/sbin/ethtool usr/sbin/ethtool

find .buildstamp * | cpio -c -o | xz --check=crc32 --lzma2=dict=1MiB -T0 > /tmp/new-initrd.img

cd -
# rm -rf "$dir"
exit 0

```

You will need to run the above as root on a 9.5 install and have the ethtool and dracut RPMS installed

Once created, replace your PXE install initrd.img with the file /tmp/new-initrd.img

---

<div class="post-metadata">

**Author:** ![Grimdin](https://avatars.discourse-cdn.com/v4/letter/g/22d042/32.png) [@Grimdin](https://forums.rockylinux.org/u/Grimdin)\
**Post date:** [November 26, 2024, 9:42am UTC](https://forums.rockylinux.org/t/rocky-9-5-slow-network-bad-gso/16588/6 "2024-11-26T09:42:48Z")

</div>

If you are using NetworkManager, you can do this command:

> nmcli c modify enp1s0 ethtool.feature-rx-gro-hw off

This will enable workaround after reboots.

---

<div class="post-metadata">

**Author:** ![james-p](https://avatars.discourse-cdn.com/v4/letter/j/b782af/32.png) [@james-p](https://forums.rockylinux.org/u/james-p)\
**Post date:** [November 26, 2024, 11:55am UTC](https://forums.rockylinux.org/t/rocky-9-5-slow-network-bad-gso/16588/7 "2024-11-26T11:55:39Z")

</div>

CentOS Stream kernel 5.14.0-533.el9 has the fix applied - so hopefully Redhat will release an updated RHEL 9.5 kernel in the near future ?

---

<div class="post-metadata">

**Author:** ![bpaquin](https://avatars.discourse-cdn.com/v4/letter/b/82dd89/32.png) [@bpaquin](https://forums.rockylinux.org/u/bpaquin)\
**Post date:** [December 4, 2024, 1:53pm UTC](https://forums.rockylinux.org/t/rocky-9-5-slow-network-bad-gso/16588/8 "2024-12-04T13:53:01Z")

</div>

Any update on this? I see 9.5 came with kernel 5.14.0-503.14.1 and now 5.14.0-503.15.1 is available, but the release notes don’t seem to specifically address this particular issue. If I need to wait for 5.14.0-533, is there any ETA?

---

<div class="post-metadata">

**Author:** ![james-p](https://avatars.discourse-cdn.com/v4/letter/j/b782af/32.png) [@james-p](https://forums.rockylinux.org/u/james-p)\
**Post date:** [December 4, 2024, 2:36pm UTC](https://forums.rockylinux.org/t/rocky-9-5-slow-network-bad-gso/16588/9 "2024-12-04T14:36:35Z")

</div>

The required changes are not in the 5.14.0-503.15.1 kernel source (from the CentOS 9 Stream [fix](https://gitlab.com/redhat/centos-stream/src/kernel/centos-stream-9/-/commit/bc3bb03d6ac53c38eb151ec1596611c050249960))

The page [Poor virtio-net performance and "bad gso: type: 1, size:" logged in RHEL 9.5 - Red Hat Customer Portal](https://access.redhat.com/solutions/7096304) still has ‘TBA’ for when a fix will be available

5.14.0-533 won’t be available for RHEL/Rocky 9 - but they will (hopefully?) backport the fix to a 5.14.0-503 series kernel

---

<div class="post-metadata">

**Author:** ![james-p](https://avatars.discourse-cdn.com/v4/letter/j/b782af/32.png) [@james-p](https://forums.rockylinux.org/u/james-p)\
**Post date:** [December 18, 2024, 6:38pm UTC](https://forums.rockylinux.org/t/rocky-9-5-slow-network-bad-gso/16588/10 "2024-12-18T18:38:35Z")

</div>

> [@james-p](#):
>
> The page [Poor virtio-net performance and “bad gso: type: 1, size:” logged in RHEL 9.5 - Red Hat Customer Portal](https://access.redhat.com/solutions/7096304) still has ‘TBA’ for when a fix will be available

That page is now reporting a fix for 9.5 as: ETA - Feb 4th 2025

---

<div class="post-metadata">

**Author:** ![james-p](https://avatars.discourse-cdn.com/v4/letter/j/b782af/32.png) [@james-p](https://forums.rockylinux.org/u/james-p)\
**Post date:** [December 19, 2024, 5:17pm UTC](https://forums.rockylinux.org/t/rocky-9-5-slow-network-bad-gso/16588/11 "2024-12-19T17:17:43Z")

</div>

> [@james-p](#):
>
> That page is now reporting a fix for 9.5 as: ETA - Feb 4th 2025

… and today it is now reporting it is fixed in kernel-5.14.0-503.19.1.el9\_5 - which is available for RHEL 9.5 - so I guess it should be available soon for Rocky 9.5

---

<div class="post-metadata">

**Author:** ![bpaquin](https://avatars.discourse-cdn.com/v4/letter/b/82dd89/32.png) [@bpaquin](https://forums.rockylinux.org/u/bpaquin)\
**Post date:** [December 19, 2024, 5:31pm UTC](https://forums.rockylinux.org/t/rocky-9-5-slow-network-bad-gso/16588/12 "2024-12-19T17:31:00Z")

</div>

Great News! Thank you for updating this article james-p!

---

<div class="post-metadata">

**Author:** ![bpaquin](https://avatars.discourse-cdn.com/v4/letter/b/82dd89/32.png) [@bpaquin](https://forums.rockylinux.org/u/bpaquin)\
**Post date:** [December 23, 2024, 3:04pm UTC](https://forums.rockylinux.org/t/rocky-9-5-slow-network-bad-gso/16588/13 "2024-12-23T15:04:01Z")

</div>

Installed 503.19.1 and network performance is normal. No “bad gso” in /var/log/messages.

---

<div class="post-metadata">

**Author:** ![system](https://us1.discourse-cdn.com/flex020/uploads/rockylinux/original/1X/91b7219eec10e30013422e4df76c1d898711a5d5.svg) [@system](https://forums.rockylinux.org/u/system)\
**Post date:** [February 21, 2025, 3:04pm UTC](https://forums.rockylinux.org/t/rocky-9-5-slow-network-bad-gso/16588/14 "2025-02-21T15:04:14Z")

</div>

This topic was automatically closed 60 days after the last reply. New replies are no longer allowed.
