Tuning KVA_PAGES / kmem?
Stefan Bethke
stb at lassitu.de
Thu May 6 08:40:06 PDT 2004
Am 20.04.2004 um 20:22 schrieb Ruslan Ermilov:
> Well, take the amount of your virtual memory (physical + swap),
> and decide how much of it you'd like to allocate for kernel.
> It's really hard to say what how much memory you need in your
> kernel, this is highly dependent on your specific requirements.
> If you do a lot of malloc()'s in the kernel, for example...
Kris Kennaway was kind enought to give an example that works for him,
in a similiar thread on -hackers:
> I'm pretty sure it's just a matter of the right tuning. All I needed
> to do was to add this on my heavily loaded 4GB machine:
>
> options VM_KMEM_SIZE_MAX=419430400 #400MB
With that option, I can do multiple cvs up's and ports builds
simultaneously without problems.
Stefan
--
Stefan Bethke <stb at lassitu.de> Fon +49 170 346 0140
More information about the freebsd-current
mailing list