Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 26 Jul 2006 00:27:53 -0700 (PDT)
From:      "R. B. Riddick" <arne_woerner@yahoo.com>
To:        Raymond Owens <owensr@comcast.net>, freebsd-performance@freebsd.org
Subject:   Re: question concerning proper usage of kernel variables net.bpf.bufsize and vm_kmem_size_max
Message-ID:  <20060726072753.17138.qmail@web30312.mail.mud.yahoo.com>
In-Reply-To: <000701c6b04f$70c9b4d0$0501a8c0@desky64>

next in thread | previous in thread | raw e-mail | index | archive | help
--- Raymond Owens <owensr@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 



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20060726072753.17138.qmail>