Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 1 Aug 2016 14:25:06 +0300
From:      Slawa Olhovchenkov <slw@zxy.spb.ru>
To:        Andriy Gapon <avg@FreeBSD.org>
Cc:        Mateusz Guzik <mjguzik@gmail.com>, freebsd-current@FreeBSD.org
Subject:   Re: [PATCH] randomized delay in locking primitives, take 2
Message-ID:  <20160801112506.GB22212@zxy.spb.ru>
In-Reply-To: <32aa8f7f-8096-740c-13e3-d51e0cb57c23@FreeBSD.org>
References:  <20160731095706.GB9408@dft-labs.eu> <32aa8f7f-8096-740c-13e3-d51e0cb57c23@FreeBSD.org>

index | next in thread | previous in thread | raw e-mail

On Mon, Aug 01, 2016 at 02:16:59PM +0300, Andriy Gapon wrote:

> 
> Mateusz,
> 
> just out of curiosity, have you tried to explore alternative spinlock
> implementations like a ticket lock?   It would be interesting to see if
> there are any improvements to be gained there.

Effective ticket lock implementation as I see limited to 256 (255?)
concurent locks. And anyway may be need randomize delay (QPI bus on
x86 have very limited performance).


home | help

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