numam-dpdk/doc
Anatoly Burakov 1e3380a2f4 mem: do not use lockfiles for single file segments mode
Due to internal glibc limitations [1], DPDK may exhaust internal
file descriptor limits when using smaller page sizes, which results
in inability to use system calls such as select() by user
applications.

Single file segments option stores lock files per page to ensure
that pages are deleted when there are no more users, however this
is not necessary because the processes will be holding onto the
pages anyway because of mmap(). Thus, removing pages from the
filesystem is safe even though they may be used by some other
secondary process. As a result, single file segments mode no
longer stores inordinate amounts of segment fd's, and the above
issue with fd limits is solved.

However, this will not work for legacy mem mode. For that, simply
document that using bigger page sizes is the only option.

[1] https://mails.dpdk.org/archives/dev/2019-February/124386.html

Signed-off-by: Anatoly Burakov <anatoly.burakov@intel.com>
2019-04-02 16:07:25 +02:00
..
api ticketlock: introduce fair ticket based locking 2019-03-28 14:58:49 +01:00
guides mem: do not use lockfiles for single file segments mode 2019-04-02 16:07:25 +02:00
logo doc: change theme of guides 2015-12-13 22:30:47 +01:00
build-sdk-meson.txt build: rename linuxapp to linux in meson cross files 2019-03-12 23:03:34 +01:00
build-sdk-quick.txt mk: use linux and freebsd in config names 2019-03-12 23:05:06 +01:00
meson.build doc: support building HTML guides with meson 2018-10-27 23:24:22 +02:00