Re: [dpdk-dev] Mmap query

2021-10-11 Thread Brijesh Singh
Hi Dmitry, Thank you for your response. The mystery is that we are not doing mmap anonymous, and ftrace shows high time for clear page. I suspect, the file is being unlinked before being opened. But we haven't been able to trace it yet. Regards, Brijesh On Mon, Oct 11, 2021 at 12:38 PM Dmitr

Re: [dpdk-dev] Mmap query

2021-10-11 Thread Dmitry Kozlyuk
Hi Brijesh, 2021-10-11 10:25 (UTC-0700), Brijesh Singh: > Hi there, > We are seeing high mmap time for 1G hugepage during eal memalloc init. Most > time is spent for clearing page, each 4k size.. > It's not clear to me why clear huge pages is called? The code mmaps rte_map > file with map_populate

[dpdk-dev] Mmap query

2021-10-11 Thread Brijesh Singh
Hi there, We are seeing high mmap time for 1G hugepage during eal memalloc init. Most time is spent for clearing page, each 4k size.. It's not clear to me why clear huge pages is called? The code mmaps rte_map file with map_populate and map_shared this shouldn't cause page zeroing. I am curious to