> > 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 [EMAIL PROTECTED] with "unsubscribe freebsd-hackers" in the body of the message

