setup.sh: use 256 MB FreeBSD contigmem buffers

Allocate larger contiguous regions (but the same amount of total
memory).

Change-Id: I54d09c11afdc7bdf232cc3b0864719c063a74b1a
Signed-off-by: Daniel Verkamp <daniel.verkamp@intel.com>
This commit is contained in:
Daniel Verkamp 2016-07-21 09:55:32 -07:00
parent 7ec9bb11da
commit b9f3538e5c

View File

@ -137,8 +137,8 @@ function configure_freebsd {
rm $TMP
kldunload contigmem.ko || true
kenv hw.contigmem.num_buffers=$((NRHUGE * 2 / 64))
kenv hw.contigmem.buffer_size=$((64 * 1024 * 1024))
kenv hw.contigmem.num_buffers=$((NRHUGE * 2 / 256))
kenv hw.contigmem.buffer_size=$((256 * 1024 * 1024))
kldload contigmem.ko
}