Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 14 Jan 2002 02:10:15 -0800
From:      Alfred Perlstein <bright@mu.org>
To:        John Baldwin <jhb@FreeBSD.org>
Cc:        smp@freebsd.org
Subject:   Re: witness speedups?
Message-ID:  <20020114021015.B26067@elvis.mu.org>
In-Reply-To: <XFMail.020114020305.jhb@FreeBSD.org>; from jhb@FreeBSD.org on Mon, Jan 14, 2002 at 02:03:05AM -0800
References:  <20020113160442.U7984@elvis.mu.org> <XFMail.020114020305.jhb@FreeBSD.org>

next in thread | previous in thread | raw e-mail | index | archive | help
* John Baldwin <jhb@FreeBSD.org> [020114 02:03] wrote:
> 
> On 14-Jan-02 Alfred Perlstein wrote:
> > Is there anything you can do to speed up witness a bit?
> > 
> > Can't you add some table structures for things like find_instance()
> > to reduce the overhead of witness?
> 
> You can use WITNESS_SKIPSPIN to turn off checking on spinlocks which should
> help a bit since they are acquried fairly often.  What table structures do you
> mean for find_instance()?  find_instance() is basically searching a per-thread
> linked-list of held locks (well, not a true linked-list since it uses buckets
> to try and save on memory).

Oh, I thought it was traversing a global list.

-Alfred

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




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