Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 15 Nov 2001 23:14:48 +0700
From:      Eugene Grosbein <eugen@svzserv.kemerovo.su>
To:        David Malone <dwmalone@maths.tcd.ie>
Cc:        Eugene Grosbein <eugen@grosbein.pp.ru>, stable@freebsd.org, hackers@freebsd.org
Subject:   Re: kern.vm.kmem.size
Message-ID:  <3BF3E9F8.38004D42@svzserv.kemerovo.su>
References:  <20011111230817.A2325@grosbein.pp.ru> <20011113151329.A44837@walton.maths.tcd.ie> <20011113224730.A864@grosbein.pp.ru> <20011114153031.A16886@lanczos.maths.tcd.ie>

next in thread | previous in thread | raw e-mail | index | archive | help
> > So, how can I estimate needed value of kern.vm.kmem.size?
> 
> How much ram do you have in the machine? On a 4.4-RC1 machine

I have 320M here.

> with 128MB of ram we don't have any problems getting dirhash
> to use almost all of it's 2MB:
> 
>         vfs.ufs.dirhash_maxmem: 2097152
>         vfs.ufs.dirhash_mem: 2085797
> 
> This is with the devault value for kern.vm.kmem.size. Maybe
> you could print the value your system is getting with:
> 
>         echo print vm_kmem_size |  gdb -k /kernel /dev/mem

You are absolutely right, it's using about 1/3 of RAM here 
(108875776 when I do not tune kern.vm.kmem.size). 
Hmm, my test seems to be incorrect somehow.
How can I see used amount of kernel malloc area?

Eugene Grosbein

To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-hackers" in the body of the message




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?3BF3E9F8.38004D42>