1 .. SPDX-License-Identifier: BSD-3-Clause
2 Copyright(c) 2020 Intel Corporation.
7 **rte_mempool_ring** is a pure software mempool driver based on the
8 ``rte_ring`` DPDK library. This is a default mempool driver.
9 The following modes of operation are available for the ring mempool driver
10 and can be selected via mempool ops API:
14 The underlying **rte_ring** operates in multi-thread producer,
15 multi-thread consumer sync mode. For more information please refer to:
16 :ref:`Ring_Library_MPMC_Mode`.
20 The underlying **rte_ring** operates in single-thread producer,
21 single-thread consumer sync mode. For more information please refer to:
22 :ref:`Ring_Library_SPSC_Mode`.
26 The underlying **rte_ring** operates in single-thread producer,
27 multi-thread consumer sync mode.
31 The underlying **rte_ring** operates in multi-thread producer,
32 single-thread consumer sync mode.
36 For underlying **rte_ring** both producer and consumer operate in
37 multi-thread Relaxed Tail Sync (RTS) mode. For more information please
38 refer to: :ref:`Ring_Library_MT_RTS_Mode`.
42 For underlying **rte_ring** both producer and consumer operate in
43 multi-thread Head-Tail Sync (HTS) mode. For more information please
44 refer to: :ref:`Ring_Library_MT_HTS_Mode`.
47 For 'classic' DPDK deployments (with one thread per core) the ``ring_mp_mc``
48 mode is usually the most suitable and the fastest one. For overcommitted
49 scenarios (multiple threads share same set of cores) the ``ring_mt_rts`` or
50 ``ring_mt_hts`` modes usually provide a better alternative.
51 For more information about ``rte_ring`` structure, behaviour and available
52 synchronisation modes please refer to: :doc:`../prog_guide/ring_lib`.