[dpdk-dev] [PATCH v3 5/6] net/mlx4: add control of excessive memory pinning by kernel
Stephen Hemminger
stephen at networkplumber.org
Tue May 14 06:54:37 CEST 2019
On Mon, 13 May 2019 21:52:22 -0700
Stephen Hemminger <stephen at networkplumber.org> wrote:
> On Mon, 1 Apr 2019 14:17:56 -0700
> Yongseok Koh <yskoh at mellanox.com> wrote:
>
> > +- ``mr_ext_memseg_en`` parameter [int]
> > +
> > + A nonzero value enables extending memseg when registering DMA memory. If
> > + enabled, the number of entries in MR (Memory Region) lookup table on datapath
> > + is minimized and it benefits performance. On the other hand, it worsens memory
> > + utilization because registered memory is pinned by kernel driver. Even if a
> > + page in the extended chunk is freed, that doesn't become reusable until the
> > + entire memory is freed.
> > +
> > + Enabled by default.
> > +
>
> This module parameter does not appear in the upstream Linux kernel drivers (even 5.2).
> What code are you referring to?
Nevermind, it is a DPDK not kernel parameter.
More information about the dev
mailing list