> 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.      \\  m...@smith.net.au
\\  The race is long, and in the  \\  msm...@freebsd.org
\\  end it's only with yourself.  \\  msm...@cdrom.com



To Unsubscribe: send mail to majord...@freebsd.org
with "unsubscribe freebsd-current" in the body of the message

Reply via email to