<div dir="ltr"><div dir="ltr"><br></div><br><div class="gmail_quote"><div dir="ltr" class="gmail_attr">On Thu, Mar 7, 2024 at 1:32 PM Philip Cox <<a href="mailto:philip.cox@canonical.com">philip.cox@canonical.com</a>> wrote:<br></div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex">BugLink: <a href="https://bugs.launchpad.net/bugs/2056475" rel="noreferrer" target="_blank">https://bugs.launchpad.net/bugs/2056475</a><br>
<br>
SRU Justification:<br>
<br>
[Impact]<br>
In Ubuntu AMIs for x86 and Graviton based EC2 instances, the standard Ubuntu AMI comes without IRQ moderation enabled for ENA, which for our latest generation instances with networking heavy workloads is up to a 25% performance regression (i.e. NGINX in a load-balancing configuration).<br>
<br>
[Fix]<br>
The mainline Linux kernel will now support IRQ moderation by default for ENA in the 6.9 kernel release via this patch: <a href="https://git.kernel.org/pub/scm/linux/kernel/git/netdev/net-next.git/commit/drivers/net/ethernet/amazon/ena?id=50d7a2660579889fba28b7e4543d4ce85aa2311b" rel="noreferrer" target="_blank">https://git.kernel.org/pub/scm/linux/kernel/git/netdev/net-next.git/commit/drivers/net/ethernet/amazon/ena?id=50d7a2660579889fba28b7e4543d4ce85aa2311b</a><br>
<br>
[Test Plan]<br>
AWS tested<br>
<br>
[Where problems could occur]<br>
By enabling adaptive coalescing, the default interrupt behaviour will by changed to be more adaptive, which shows improvements on heavy network workloads, but my change the behaviour and performance on other network workloads differently. Rather than handling the interrupts based off of a fixed amount of time elapsed, it will change to an adaptive based approach. There should be no negative impact on light workloads, and a positive impact on heavy work loads. If there is an impact though, this option can be disabled via the ethtool command.<br>
<br>
[Other Info]<br>
<br>
SF: 00380449<br>
<br>
--<br>
<br>
<br>
David Arinzon (1):<br>
  net: ena: Enable DIM by default<br>
<br>
 drivers/net/ethernet/amazon/ena/ena_netdev.c | 6 ++++++<br>
 1 file changed, 6 insertions(+)<br>
<br>
-- <br>
2.34.1<br>
<br>
</blockquote></div></div>