Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 18 Aug 2011 11:21:54 -0400
From:      John Baldwin <jhb@freebsd.org>
To:        freebsd-current@freebsd.org
Cc:        pho@freebsd.org, Peter Jeremy <peterjeremy@acm.org>
Subject:   Re: "witness_lock_list_get: witness exhausted"
Message-ID:  <201108181121.54918.jhb@freebsd.org>
In-Reply-To: <20110816215953.GB35017@server.vk2pj.dyndns.org>
References:  <20110816215953.GB35017@server.vk2pj.dyndns.org>

next in thread | previous in thread | raw e-mail | index | archive | help
On Tuesday, August 16, 2011 5:59:53 pm Peter Jeremy wrote:
> I'm getting the above message when running Peter Holm's stress
> test with INCARNATIONS=150 on a 16-core sparc.  Does this mean
> LOCK_CHILDCOUNT is too low or does it indicate a leak in witness
> lock_list_entry's somewhere?

Most likely the former.

> The comment on LOCK_CHILDCOUNT indicates it is dimensioned to
> allow 2048 threads to hold 5 locks each but it's not clear how
> many threads will get started at a given INCARNATIONS count.

Also, each lle holds a bucket of instances, so the same count
would only let 1024 threads hold 6 locks each perhaps (depending
on the bucket size.. it was originally 4 locks per lle).

-- 
John Baldwin



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201108181121.54918.jhb>