diff options
author | Vratko Polak <vrpolak@cisco.com> | 2024-02-06 12:45:59 +0100 |
---|---|---|
committer | Vratko Polak <vrpolak@cisco.com> | 2024-02-19 12:22:20 +0000 |
commit | ccfc24f7451b2b6a6f8eabf735812d45ec4a4bf9 (patch) | |
tree | 5fbd436ca3d493bf74df3473dbcaea376bb49e42 /src/examples/handoffdemo/handoffdemo.c | |
parent | 8cbf84dce02102ae1e9e6c2545fdea6c5673bc22 (diff) |
buffers: bring back cache occupancy improvement
The improvement was removed in 40129,
causing 5-40% regressions in AVF tests.
There is a memory-speed trade-off,
this change prefers speed over memory efficiency.
Ideally, the choice should be configurable,
but that is not easy to achieve, considering
how early is vlib_buffer_main_init called.
Type: fix
Fixes: 038dad7ef29b0b724071edb5f8cc7a9845584454
Change-Id: I4746f3634abe6d233c9d092a372de05b3d1ae4b6
Signed-off-by: Vratko Polak <vrpolak@cisco.com>
(cherry picked from commit 04fd51c03c428859bae949a8294ee0f9c062a44b)
Diffstat (limited to 'src/examples/handoffdemo/handoffdemo.c')
0 files changed, 0 insertions, 0 deletions