AltraMayor / AltraMayor/gatekeeper

Figure out appropriate cache sizes of the blocks

未关闭
#145 0 条评论 0 个 reaction 已指派 0 人 在 GitHub 查看
enhancement
主要语言
C
星标
1.6k
派生
252
PR 合并指标
30 天内没有已合并 PR

描述

Based on section 6.4. Local Cache on page http://doc.dpdk.org/guides/prog_guide/mempool_lib.html#mempool-library and the short description of parameter cache_size in https://doc.dpdk.org/api/rte__mempool_8h.html#a503f2f889043a48ca9995878846db2fd , things become complicated. For example, consider the following parameters that we are using in all blocks: ``mailbox_max_entries = 128``, ``mailbox_mem_cache_size = 64``. With more than 2 cores, we'll not have enough entries to populate the caches of the cores since ``n * 64 > 128`` for ``n > 2``.

To close this issue, one needs to figure out the cache size of the blocks and then apply them to the patch #126 .

贡献指南

这个仓库没有索引到贡献指南

评估

这个 Issue 还没有评估数据。

把新 issue 发到你的邮箱

精选适合新手参与的 GitHub issue 摘要。