[PATCH] doc: clarify mempool striding optimisation on Arm

Jack Bond-Preston jack.bond-preston at foss.arm.com
Mon Jul 15 16:44:20 CEST 2024


The mempool memory channel striding optimisation is not necessary on
Arm platforms.
Update the Programmer's Guide's mempool section to clarify this.

Signed-off-by: Jack Bond-Preston <jack.bond-preston at foss.arm.com>
Reviewed-by: Wathsala Vithanage <wathsala.vithanage at arm.com>
---
 doc/guides/prog_guide/mempool_lib.rst | 6 ++++++
 1 file changed, 6 insertions(+)

diff --git a/doc/guides/prog_guide/mempool_lib.rst b/doc/guides/prog_guide/mempool_lib.rst
index 4db577fe18..988b0e80c1 100644
--- a/doc/guides/prog_guide/mempool_lib.rst
+++ b/doc/guides/prog_guide/mempool_lib.rst
@@ -77,6 +77,12 @@ When creating a new pool, the user can specify to use this feature or not.
 
 .. _mempool_local_cache:
 
+.. note::
+
+    This feature is not present for Arm systems. Modern Arm Interconnects choose the SN-F (memory
+    channel) using a hash of memory address bits. As a result, the load is distributed evenly in all
+    cases, including the above described, rendering this feature unnecessary.
+
 Local Cache
 -----------
 
-- 
2.34.1



More information about the dev mailing list