DPDK patches and discussions
 help / color / mirror / Atom feed
* [Bug 893] no_hugetlbfs should not mean legacy_mem on iommu/vfio platforms
@ 2021-12-03  2:17 bugzilla
  0 siblings, 0 replies; only message in thread
From: bugzilla @ 2021-12-03  2:17 UTC (permalink / raw)
  To: dev

https://bugs.dpdk.org/show_bug.cgi?id=893

            Bug ID: 893
           Summary: no_hugetlbfs should not mean legacy_mem on iommu/vfio
                    platforms
           Product: DPDK
           Version: unspecified
          Hardware: All
                OS: All
            Status: UNCONFIRMED
          Severity: normal
          Priority: Normal
         Component: core
          Assignee: dev@dpdk.org
          Reporter: niketkandya@google.com
  Target Milestone: ---

From my reading of the code and docs this is what I understand:
1. Huge pages are needed by DPDK so that user pages are always present and
pinned.
2. In systems with IOMMU and VFIO support, there should be no need for huge
pages. VFIO_IOMMU_MAP_DMA on any aligned buffer should do the same pinning.

--no-hugetlbfs today means that the system is also in --legacy-mem (which means
no dynamic allocation, 1 fixed heap of 64MB MEMSIZE_IF_NO_HUGE). I think this
is restrictive.
On systems with IOMMU/VFIO support --no-hugetlbfs should also support
dynamic(non legacy behavior) allocation.

-- 
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:[~2021-12-03  2:17 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2021-12-03  2:17 [Bug 893] no_hugetlbfs should not mean legacy_mem on iommu/vfio platforms 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).