Re: Increase of WITNESS_COUNT

From: John Baldwin <jhb_at_FreeBSD.org>
Date: Wed, 15 Dec 2004 16:16:36 -0500
On Sunday 05 December 2004 03:09 pm, Michal Mertl wrote:
> Hello,
>
> for some time I'm seeing "witness exhausted" message in my logs when I run
> with WITNESS enabled. I know it's nothing new but it's either the bug which
> is causing it is surviving for long time or there's something special in my
> setups or that it's just normal (as more code get fine grained locking more
> witnesses are used).
>
> What are the consequences of increasing WITNESS_COUNT in
> src/sys/kern/subr_witness.c? I don't see any ill effects and I don't get
> the dreaded "witness exhausted" message. Can it be increased by default?

It just uses up more memory, but it doesn't use that much as it is.  It needs 
to be bumped, I just haven't sat down and done it.  What number did you bump 
it to in your testing?

-- 
John Baldwin <jhb_at_FreeBSD.org>  <><  http://www.FreeBSD.org/~jhb/
"Power Users Use the Power to Serve"  =  http://www.FreeBSD.org
Received on Wed Dec 15 2004 - 22:10:06 UTC

This archive was generated by hypermail 2.4.0 : Wed May 19 2021 - 11:38:24 UTC