Re: Lock Free -- where to start
- From: "Chris Thomasson" <_no_spam_cristom@xxxxxxxxxxxxxxxxxxxx>
- Date: Sun, 2 Oct 2005 18:51:42 -0500
>> If it seems possible by clever design to reduce the time
>> spent holding a lock to almost nothing, bear in mind
>> that on recent Pentiums just acquiring the lock is going
>> to take over a hundred machine cycles; there is a
>> limit.
>
> The lock-free algorithms generally increase the number of such
> expensive operations,
Not all of them...
> and they add extra cache misses.
A good reader/writer solution can greatly enhance cache performance. If you
really want to be "cache friendly", try to avoid calling atomic operation
and/or StoreLoad style membar instructions.
.
- References:
- Re: Lock Free -- where to start
- From: Markus Elfring
- Re: Lock Free -- where to start
- From: David Schwartz
- Re: Lock Free -- where to start
- From: chris noonan
- Re: Lock Free -- where to start
- From: David Schwartz
- Re: Lock Free -- where to start
- Prev by Date: Re: Lock Free -- where to start
- Next by Date: Re: Lock Free -- where to start
- Previous by thread: Re: Lock Free -- where to start
- Next by thread: Re: Lock Free -- where to start
- Index(es):
Relevant Pages
|