Date: Thu, 6 May 2004 17:40:03 +0200 From: Stefan Bethke <stb@lassitu.de> To: current@FreeBSD.org Cc: Ruslan Ermilov <ru@FreeBSD.org> Subject: Re: Tuning KVA_PAGES / kmem? Message-ID: <A46A2DAC-9F73-11D8-A0EE-000A95C893E4@lassitu.de> In-Reply-To: <20040420182233.GC66808@ip.net.ua> References: <F2014C7A-92BB-11D8-BB31-000393496BE8@lassitu.de> <20040420134021.GD64842@ip.net.ua> <D8214638-92DD-11D8-BB31-000393496BE8@lassitu.de> <20040420182233.GC66808@ip.net.ua>
next in thread | previous in thread | raw e-mail | index | archive | help
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@lassitu.de> Fon +49 170 346 0140
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?A46A2DAC-9F73-11D8-A0EE-000A95C893E4>