]> CyberLeo.Net >> Repos - FreeBSD/FreeBSD.git/commit
Use a large kmem arena import size on NUMA systems.
authormarkj <markj@FreeBSD.org>
Wed, 26 Aug 2020 14:31:48 +0000 (14:31 +0000)
committermarkj <markj@FreeBSD.org>
Wed, 26 Aug 2020 14:31:48 +0000 (14:31 +0000)
commitac70c3a8f0d2c44885e89238350b603d9c80182d
tree16d97ba1464ab0a3b66b4d050dad56a274c3f69a
parentbefb0b3fe53bc44e91b002ef431afd63ae210bba
Use a large kmem arena import size on NUMA systems.

This helps minimize internal fragmentation that occurs when 2MB imports
are interleaved across NUMA domains.  Virtually all KVA allocations on
direct map platforms consume more than one page, so the fragmentation
manifests as runs of 511 4KB page mappings in the kernel.

Reviewed by: alc, kib
Tested by: pho
Sponsored by: The FreeBSD Foundation
Differential Revision: https://reviews.freebsd.org/D26050
sys/vm/vm_kern.c