MEMCONFIG(8) | System Manager's Manual | MEMCONFIG(8) |
memconfig
—
control system cache behaviour with respect to
memory
memconfig |
list [-a ] |
memconfig |
set -b
base -l
length -o
owner attribute |
memconfig |
clear -o
owner |
memconfig |
clear -b
base -l
length |
A number of supported system architectures allow the behaviour of the CPU cache to be programmed to behave differently depending on the region being written.
memconfig
provides an interface to this
facility, allowing CPU cache behavior to be altered for ranges of system
physical memory.
These ranges are typically power-of-2 aligned and sized, however
the specific rules governing their layout vary between architectures. The
memconfig
program does not attempt to enforce these
rules, however the system will reject any attempt to set an illegal
combination.
The operands and their options are as follows:
-a
To clear based on ownership:
-o
ownerTo clear based on the base/length combination:
Base and length must exactly match an existing range.
memconfig
was originally introduced in
FreeBSD 3.3 as
memcontrol.
January 20, 2014 | OpenBSD-current |