Page MenuHomeFreeBSD

Use a large kmem arena import size on NUMA systems.

Authored by markj on Aug 12 2020, 9:11 PM.



This helps minimize the fragmentation that occurs when 2MB imports are
interleaved across NUMA domains. This complements D24548, which aims to
reduce internal fragmentation caused by vmem's unwillingness to coalesce
across imported spans.

This is based upon the presumption that potential overallocation is not
harmful on NUMA systems, i.e., we are at worst wasting page table pages
used to extend the kernel pmap.

Diff Detail

rS FreeBSD src repository - subversion
Lint Not Applicable
Tests Not Applicable

Event Timeline

markj requested review of this revision.Aug 12 2020, 9:11 PM
markj created this revision.

With this and the other vmem diff we get much better superpage usage in the kernel map during poudriere runs.

This revision is now accepted and ready to land.Aug 14 2020, 8:05 PM
This revision was automatically updated to reflect the committed changes.