aws ena flipping workaround on 11.2-R

classic Classic list List threaded Threaded
1 message Options
in2
Reply | Threaded
Open this post in threaded view
|

aws ena flipping workaround on 11.2-R

in2
Hi,

I'm running 11.2-RELEASE on aws c5/m5/r5 and seeing  ena resetting every 30
minutes
this causes around 0.5% packet loss overall.
Sep 14 09:19:57 ip-10-251-24-249 kernel: ena0: device is going DOWN
Sep 14 09:19:57 ip-10-251-24-249 kernel: ena0: device is going UP
Sep 14 09:19:57 ip-10-251-24-249 kernel: ena0: queue 0 - cpu 0
Sep 14 09:19:57 ip-10-251-24-249 kernel: ena0: queue 1 - cpu 1
Sep 14 09:49:57 ip-10-251-24-249 kernel: ena0: device is going DOWN
Sep 14 09:49:58 ip-10-251-24-249 kernel: ena0: device is going UP
Sep 14 09:49:58 ip-10-251-24-249 kernel: ena0: queue 0 - cpu 0
Sep 14 09:49:58 ip-10-251-24-249 kernel: ena0: queue 1 - cpu 1
Sep 14 10:19:57 ip-10-251-24-249 kernel: ena0: device is going DOWN
Sep 14 10:19:58 ip-10-251-24-249 kernel: ena0: device is going UP
Sep 14 10:19:58 ip-10-251-24-249 kernel: ena0: queue 0 - cpu 0
Sep 14 10:19:58 ip-10-251-24-249 kernel: ena0: queue 1 - cpu 1

this bug has been fixed on head r333454 but is not merged back to 11.2-R
yet.
since this issue happens when renewing dhcp but we do not need dhcp anymore
after instance booted, may I suggest a simple workaround: kill dhclient,
for example
    echo '(/bin/sleep 60; /usr/bin/killall dhclient)&' >> /etc/rc.local
_______________________________________________
[hidden email] mailing list
https://lists.freebsd.org/mailman/listinfo/freebsd-net
To unsubscribe, send any mail to "[hidden email]"