DPDK-dev Archive on lore.kernel.org
 help / color / mirror / Atom feed
* mempool cache change
@ 2026-07-14 16:48 Kishore Padmanabha
  2026-07-14 20:08 ` Morten Brørup
  0 siblings, 1 reply; 2+ messages in thread
From: Kishore Padmanabha @ 2026-07-14 16:48 UTC (permalink / raw)
  To: Thomas Monjalon, Morten Brørup; +Cc: dev


[-- Attachment #1.1: Type: text/plain, Size: 738 bytes --]

Hi Thomas,



The recent change done as part of BUG ID: 1027, with commit id
https://git.dpdk.org/dpdk/commit/?id=f5e1310f16e0909e7e7f71807123644c63b23cba

Is causing performance drop for the bnxt NIC in 26.07 release.



The smaller, shallower cache increases the miss rate, causing refills to
hit the shared ring more frequently.
In the old code, the cache only touched the shared ring when it climbed
past 768 instead of 512. That extra 256 elements of headroom allowed
significantly more frees to remain local.



Could we make the change in config/rte_config.h for
RTE_MEMPOOL_CACHE_MAX_SIZE to be 768 instead of 512. Since we use
–mbcache=512 as argument for the performance tests.



Thanks,

Kishore

[-- Attachment #1.2: Type: text/html, Size: 2685 bytes --]

[-- Attachment #2: S/MIME Cryptographic Signature --]
[-- Type: application/pkcs7-signature, Size: 5493 bytes --]

^ permalink raw reply	[flat|nested] 2+ messages in thread

* RE: mempool cache change
  2026-07-14 16:48 mempool cache change Kishore Padmanabha
@ 2026-07-14 20:08 ` Morten Brørup
  0 siblings, 0 replies; 2+ messages in thread
From: Morten Brørup @ 2026-07-14 20:08 UTC (permalink / raw)
  To: Kishore Padmanabha, Thomas Monjalon; +Cc: dev, Wisam Jaddo

Hi Kishore,

For your testing purposes, please follow the guidance provided to Wisam Jaddo:
https://inbox.dpdk.org/dev/98CBD80474FA8B44BF855DF32C47DC35F65964@smartserver.smartshare.dk/

Thank you for testing!

Venlig hilsen / Kind regards,
-Morten Brørup

From: Kishore Padmanabha [mailto:kishore.padmanabha@broadcom.com] 
Sent: Tuesday, 14 July 2026 18.49
To: Thomas Monjalon; Morten Brørup
Cc: dev@dpdk.org
Subject: mempool cache change

Hi Thomas,
 
The recent change done as part of BUG ID: 1027, with commit id  https://git.dpdk.org/dpdk/commit/?id=f5e1310f16e0909e7e7f71807123644c63b23cba
Is causing performance drop for the bnxt NIC in 26.07 release.
 
The smaller, shallower cache increases the miss rate, causing refills to hit the shared ring more frequently. 
In the old code, the cache only touched the shared ring when it climbed past 768 instead of 512. That extra 256 elements of headroom allowed significantly more frees to remain local.
 
Could we make the change in config/rte_config.h for RTE_MEMPOOL_CACHE_MAX_SIZE to be 768 instead of 512. Since we use –mbcache=512 as argument for the performance tests.
 
Thanks,
Kishore
 
 

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2026-07-14 20:08 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2026-07-14 16:48 mempool cache change Kishore Padmanabha
2026-07-14 20:08 ` Morten Brørup

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox