Re: Tuning KVA_PAGES / kmem?

From: Stefan Bethke <stb_at_lassitu.de>
Date: Thu, 6 May 2004 17:40:03 +0200
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
Received on Thu May 06 2004 - 06:40:06 UTC

This archive was generated by hypermail 2.4.0 : Wed May 19 2021 - 11:37:53 UTC