> On tuesday I crashed a machine after it ran out of kvm. (dual PII 400 with
> 768MB RAM) poking about in the code adding:
>
> options "VM_KMEM_SIZE=(24*1024*1024)"
> options "VM_KMEM_SIZE_MAX=(128*1024*1024)"
>
> seems like a good way foward. Is it?
>From what I can see, you shouldn't need to set VM_KMEM_SIZE_MAX unless
you're also setting VM_KMEM_SIZE_SCALE.
I just committed a tweak that allows you to say:
set kern.vm.kmem.size=<value>
at the loader prompt or in /boot/loader.rc to override the default
VM_KMEM_SIZE value.
If anyone has any more of these tunables that can easily be enhanced
like this, please let me know.
--
\\ Sometimes you're ahead, \\ Mike Smith
\\ sometimes you're behind. \\ [email protected]
\\ The race is long, and in the \\ [email protected]
\\ end it's only with yourself. \\ [email protected]
To Unsubscribe: send mail to [email protected]
with "unsubscribe freebsd-current" in the body of the message