AltraMayor / AltraMayor/gatekeeper

Figure out appropriate cache sizes of the blocks

Offen
#145 0 Kommentare 0 Reaktionen 0 zugewiesene Personen Auf GitHub ansehen
enhancement
Vorherrschende Sprache
C
Sterne
1.6k
Forks
252
PR-Merge-Kennzahlen
Keine gemergten PRs in 30 T.

Beschreibung

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 .

Beitragsleitfaden

Für dieses Repository ist kein Beitragsleitfaden indexiert

Bewertung

Dieses Issue wurde noch nicht bewertet.

Neue Issues direkt in Ihr Postfach

Eine kurze Übersicht über anfängerfreundliche GitHub-Issues.