29/03/2019 18:55, Anatoly Burakov: > 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.bura...@intel.com>
Applied, thanks