rust-dpdk icon indicating copy to clipboard operation
rust-dpdk copied to clipboard

thread safety of mempool: is it?

Open jeehoonkang opened this issue 5 years ago • 1 comments
trafficstars

mempool seems always thread-safe: https://doc.dpdk.org/guides/prog_guide/mempool_lib.html  "The mempool library is based on the DPDK lockless ring library and therefore is also multi-thread safe." https://doc.dpdk.org/guides/prog_guide/thread_safety_dpdk_functions.html

But I want to double-check (because of my lack of experience of DPDK). Would you please do it?

jeehoonkang avatar May 23 '20 13:05 jeehoonkang

mempool 만을 사용하는 케이스에서는 문제 없습니다.

저는 mempool을 추상화하려고 했던 것이 아니라 thread local allocator를 추상화하려고 했기 때문에 mempool 의 thread safety 가 over engineering 이라고 생각했습니다.

leeopop avatar May 24 '20 07:05 leeopop

Postpone to #36

leeopop avatar May 10 '23 12:05 leeopop