Subject: Re: kernel hackers please help!
To: ihack <ihack@myrealbox.com>
From: Manuel Bouyer <bouyer@antioche.eu.org>
List: tech-kern
Date: 09/25/2001 22:19:35
On Mon, Sep 24, 2001 at 03:14:14PM -0700, ihack wrote:
> Hi all,
> 
> I would like to build a 1.4 kernel, but I have a couple of questions
> first. 
> 
> 1. Is NKMEMPAGES an options that is used by 1.4?

No, it looks like it's not.

> 
> 2. What does NKMEMPAGES and SHMAXPGS do?

SHMAXPGS is I think the max size of RAM allocated to shared memory
(sysV IPC).

>  
> 3. I think that NKMEMCLUSTERS sets the size of the kernel malloc area.
> If I have 128 megs of ram what should NKMEMCLUSTERS be?

It really depends on the usage of your machine.

> 
> 4. I what to use this computer as a webserver. How large should
> NMBCLUSTERS be?

Depends on load,  something between 512 and 4096. With 128M RAM I'd go with
4096.

--
Manuel Bouyer <bouyer@antioche.eu.org>
--