aboutsummaryrefslogtreecommitdiffstats
path: root/src/vlib/threads.c
diff options
context:
space:
mode:
authorDamjan Marion <damarion@cisco.com>2018-06-02 20:42:07 +0200
committerDave Barach <openvpp@barachs.net>2018-06-03 12:01:12 +0000
commit8855386411af888e47c60645daa1fe6081fa56e1 (patch)
treed8100b16a87f6618df8c3d4c172c8e029f9f8ce6 /src/vlib/threads.c
parente8d7ff5f876c3950caf1bacf603d79b9ada8aef2 (diff)
dpdk: improve buffer alloc perfomance
This is ~50% improvement in buffer alloc performance. For a 256 buffer allocation, it was ~10 clocks/buffer, now is < 5 clocks. Change-Id: I97590e240a79a42bcab5eb26587fc2d11e6eb163 Signed-off-by: Damjan Marion <damarion@cisco.com>
Diffstat (limited to 'src/vlib/threads.c')
-rw-r--r--src/vlib/threads.c1
1 files changed, 0 insertions, 1 deletions
diff --git a/src/vlib/threads.c b/src/vlib/threads.c
index edf5a0e0711..bbe94c7f272 100644
--- a/src/vlib/threads.c
+++ b/src/vlib/threads.c
@@ -827,7 +827,6 @@ start_workers (vlib_main_t * vm)
vm_clone->thread_index = worker_thread_index;
vm_clone->heap_base = w->thread_mheap;
- vm_clone->mbuf_alloc_list = 0;
vm_clone->init_functions_called =
hash_create (0, /* value bytes */ 0);
vm_clone->pending_rpc_requests = 0;