[aws] Backport CMA pool per numa functionality for 22.04 and 20.04

Bug #2067516 reported by Philip Cox
10
This bug affects 1 person
Affects Status Importance Assigned to Milestone
linux-aws (Ubuntu)
Fix Released
Undecided
Philip Cox
Jammy
New
Undecided
Unassigned
Mantic
New
Undecided
Unassigned
Noble
New
Undecided
Unassigned

Bug Description

SRU Justification:

[Impact]

We discovered a network packets per second (PPS) performance issue in one of our upcoming EC2 instance platform on Graviton.The issue is addressed by setting a value for the numa_cma parameter. While this parameter is supported in 24.04, the parameter is not available in 22.04 or 20.04 today, which could impact customers running 22.04 or 20.04 on the new EC2 platform.

[Fix]

We are requesting the the following changes be backported to 22.04 and 20.04 for ARM:
https://git.launchpad.net/~canonical-kernel/ubuntu/+source/linux-aws/+git/noble/commit/kernel/dma/contiguous.c?id=22e4a348f87c59df2c02f1efb7ba9a56b622c7b8
https://git.launchpad.net/~canonical-kernel/ubuntu/+source/linux-aws/+git/noble/commit/kernel/dma/contiguous.c?id=bf29bfaa54901a4bdee2a18cd10eb951a884a5f9

EC2 Nitro team is only asking for the change in ARM, however we will leave to Canonical's discretion to make the same changes in x86.

Also requested to add this fix for NUMA node overrides for AWS EC2 ENA adapaters: https://github.com/torvalds/linux/commit/2dc8b1e7177d4f49f492ce648440caf2de0c366

We also request Canonical set kernel params to "numa_cma=1:32M" for all OSes that support this parameter - 24.04, 22.04 and 20.04.

Focal only needs this via the 5.15 based backport kernel, and not the 5.4 based focal kernel.

[Test Plan]
aws tested

[Where problems could occur]

[Other info]
sf# 00385923

Philip Cox (philcox)
Changed in linux-aws (Ubuntu):
status: New → Fix Released
Philip Cox (philcox)
description: updated
no longer affects: linux-aws (Ubuntu Focal)
description: updated
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.