* [dpdk-dev] [Bug 575] Hugepages backing file map0 is not being unlinked
@ 2020-11-10 15:09 bugzilla
0 siblings, 0 replies; only message in thread
From: bugzilla @ 2020-11-10 15:09 UTC (permalink / raw)
To: dev
https://bugs.dpdk.org/show_bug.cgi?id=575
Bug ID: 575
Summary: Hugepages backing file map0 is not being unlinked
Product: DPDK
Version: 20.11
Hardware: All
OS: All
Status: UNCONFIRMED
Severity: enhancement
Priority: Normal
Component: core
Assignee: dev@dpdk.org
Reporter: michallinuxstuff@gmail.com
Target Milestone: ---
I am not sure if this is a bug or simply part of the design so please, bear
with me. :)
I noticed that whenever application - which uses DPDK's mem components for
mapping hugepages - exits there's always one hugepages backing file left under
hugetlbfs mount. Specifically, it's the file that's mapped under the very
begging of the address space. E.g. where base-virtaddr is set to
0x200000000000:
200000200000-200000400000 rw-s 00000000 00:29 18115803
/dev/hugepages/spdk_pid1806446map_0
When the unlinking starts upon existing, everything down to map1
(0x200000400000) is unlinked but map0 remains. This is not the case when
--huge-unlink is used during the init part (all backing files are unlinked at
the start then, including map0).
This doesn't seem to be a big deal in itself, but depending on what size of
hugepages we are using this may leave different footprint (e.g. we start 3 apps
simultaneously, each one uses 1G hugepages. When they all exit, 3G of hugepages
may be still in use). I can see that there's also a cleanup routine which is
fired upon starting the app, to make sure that any lingering backing files are
removed, but still. :)
Any hints on why this might be the case would be appreciated. :)
--
You are receiving this mail because:
You are the assignee for the bug.
^ permalink raw reply [flat|nested] only message in thread
only message in thread, other threads:[~2020-11-10 15:09 UTC | newest]
Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2020-11-10 15:09 [dpdk-dev] [Bug 575] Hugepages backing file map0 is not being unlinked bugzilla
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).