Skip to content

Figure out appropriate cache sizes of the blocks #145

@mengxiang0811

Description

@mengxiang0811

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 .

Metadata

Metadata

Assignees

No one assigned

    Projects

    No projects

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions