Page MenuHomeFreeBSD

Bump MAXMEMDOM value to 8 to match amd64
ClosedPublic

Authored by gonzo on Nov 25 2020, 2:18 AM.
Tags
None
Referenced Files
Unknown Object (File)
Wed, Apr 10, 9:33 AM
Unknown Object (File)
Wed, Apr 10, 9:32 AM
Unknown Object (File)
Wed, Apr 10, 8:09 AM
Unknown Object (File)
Feb 14 2024, 7:24 AM
Unknown Object (File)
Jan 18 2024, 10:43 AM
Unknown Object (File)
Dec 20 2023, 6:30 AM
Unknown Object (File)
Nov 27 2023, 5:23 AM
Unknown Object (File)
Nov 19 2023, 1:56 AM

Details

Summary

On some of the server-grade ARM64 machines the number of NUMA domains
is higher than 2. When booting GENERIC kernel on such machines the SRAT
parser fails leaving the system with a single domain. To make GENERIC kernel
usable on those server, match the parameter value with the one for amd64 arch.

Test Plan

Tested on Ampere Altra

Diff Detail

Repository
rS FreeBSD src repository - subversion
Lint
Lint Passed
Unit
No Test Coverage
Build Status
Buildable 35029
Build 32014: arc lint + arc unit

Event Timeline

gonzo requested review of this revision.Nov 25 2020, 2:18 AM
This revision is now accepted and ready to land.Dec 1 2020, 5:26 PM
This revision was automatically updated to reflect the committed changes.

I'd be interested in seeing the output of sysctl vm.phys_segs on one of these machines. Can you post it here?

vm.phys_segs:
SEGMENT 0:

start:     0x90000000
end:       0x92000000
domain:    0
free list: 0xffff000000d06400

SEGMENT 1:

start:     0x92780000
end:       0xab600000
domain:    0
free list: 0xffff000000d06400

SEGMENT 2:

start:     0xacf42000
end:       0xba1a0000
domain:    0
free list: 0xffff000000d06400

SEGMENT 3:

start:     0xbf770000
end:       0xbf8a0000
domain:    0
free list: 0xffff000000d06400

SEGMENT 4:

start:     0xbfd30000
end:       0xc0000000
domain:    0
free list: 0xffff000000d06400

SEGMENT 5:

start:     0x80000000000
end:       0x80080000000
domain:    0
free list: 0xffff000000d06400

SEGMENT 6:

start:     0x800c0000000
end:       0x81000000000
domain:    0
free list: 0xffff000000d06400

SEGMENT 7:

start:     0xa0000000000
end:       0xa0e6926f000
domain:    1
free list: 0xffff000000d06640

SEGMENT 8:

start:     0xc0000000000
end:       0xc1000000000
domain:    2
free list: 0xffff000000d06880

SEGMENT 9:

start:     0xe0000000000
end:       0xe0fffffe000
domain:    3
free list: 0xffff000000d06ac0
In D27368#613064, @alc wrote:

I'd be interested in seeing the output of sysctl vm.phys_segs on one of these machines. Can you post it here?

https://reviews.freebsd.org/P463