Page MenuHomeFreeBSD

Enable DEVICE_NUMA with up to 8 domains by default on amd64.
ClosedPublic

Authored by jhb on Apr 9 2016, 2:19 PM.
Tags
None
Referenced Files
Unknown Object (File)
Thu, May 16, 12:48 AM
Unknown Object (File)
Wed, Apr 24, 5:28 PM
Unknown Object (File)
Apr 10 2024, 5:09 AM
Unknown Object (File)
Mar 19 2024, 6:21 AM
Unknown Object (File)
Mar 11 2024, 5:24 PM
Unknown Object (File)
Jan 9 2024, 5:19 PM
Unknown Object (File)
Dec 20 2023, 1:18 AM
Unknown Object (File)
Dec 12 2023, 2:57 PM
Subscribers

Details

Summary

Enable DEVICE_NUMA with up to 8 domains by default on amd64.

8 memory domains should handle a quad-socket board with dual-domain
processors.

Note that I've left this off on i386. arm64 might want to make a
similar change since it also uses ACPI, but I'll leave that up to Andrew.
Not sure if arm64 has an SRAT parser yet? (If the x86 SRAT / SLIT parsers
Just Work on arm64, we should perhaps make that file MI and move it out to
sys/dev/acpica.)

As a side note, MINIMAL seems to be rotting a bit (or at least not
maintained). I think PCI_IOV needs to be present there as that isn't
availabe as a module. It also doesn't have IPSEC (also not availabe as a
module). Its comment about ACPI as a module is also wrong (ACPI was never
supported as a module on amd64, and on i386 we eventually removed it).
It was stable on i386, it just made some things less efficient when used
as a module. I think NUMA also requires it to be working earlier than
modules are enabled, so NUMA means it can't be a module anyway. (The
old acpi.ko on i386 predates the SRAT parser.)

Diff Detail

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

Event Timeline

jhb retitled this revision from to Enable DEVICE_NUMA with up to 8 domains by default on amd64..
jhb updated this object.
jhb edited the test plan for this revision. (Show Details)
jhb added reviewers: scottl, imp, kib, kmacy.
jhb added a subscriber: andrew.
kib edited edge metadata.
This revision is now accepted and ready to land.Apr 9 2016, 2:47 PM
This revision was automatically updated to reflect the committed changes.