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:
parent
7ec9bb11da
commit
b9f3538e5c
@ -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
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user