tech-net archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

Re: nmbclusters on amd64



netbsd%precedence.co.uk@localhost (Stephen Borrill) writes:

># gdb /netbsd
>(gdb) print nmbclusters
>$1 = 32768

This is the initial value. It is usually clamped to 25% of all
memory (for direct mapping) or 25% of kernel memory depending on
the machine. However, some systems (arm and i386) limit it further.

#ifndef NMBCLUSTERS_MAX
#define NMBCLUSTERS_MAX (0x2000000 / MCLBYTES)  /* Limit to 64MB for clusters */
#endif

The value is probably wrong as the comment and the commit message
talk about a 64MB limit but the value corresponds to 32MB.

-- 
-- 
                                Michael van Elst
Internet: mlelstv%serpens.de@localhost
                                "A potential Snark may lurk in every tree."


Home | Main Index | Thread Index | Old Index