question concerning proper usage of kernel variables net.bpf.bufsize and vm_kmem_size_max

R. B. Riddick arne_woerner at yahoo.com
Wed Jul 26 07:27:55 UTC 2006


--- Raymond Owens <owensr at comcast.net> wrote:
> Questions:
> Can VM_KMEM_SIZE_MAX be set manually with sysctl?
> 
No, but you could set it with this procedure:
1. Insert the lines
  vm.kmem_size=123456789
  vm.kmem_size_max=1234567890
in
  /boot/loader.conf

2. reboot

That should change those values...
(see src/sys/kern/kern_malloc.c)

I wonder, why your box needs such a big buffer? Do u have network traffic
bursts or so?

-Arne


__________________________________________________
Do You Yahoo!?
Tired of spam?  Yahoo! Mail has the best spam protection around 
http://mail.yahoo.com 


More information about the freebsd-performance mailing list