Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
Groups > comp.programming.threads > #1761
| From | aminer <aminer@toto.net> |
|---|---|
| Newsgroups | comp.programming.threads, comp.programming |
| Subject | Re: Scalable Distributed Lock version 1.1 |
| Date | 2013-09-30 11:03 -0700 |
| Organization | albasani.net |
| Message-ID | <l2c3s3$qv9$1@news.albasani.net> (permalink) |
| References | <l2c2ms$ocl$1@news.albasani.net> |
Cross-posted to 2 groups.
Hello,
If you have noticed my Scalable and distributed Lock uses now
a Ticket mechanism, but my Scalable distributed Lock is more
efficient than the Ticket Spinlock cause it's distributed and
hence the threads spins on local variables so it reduced the cache
misses and the cache-cohence traffic, so my scalable distributed Lock
is more efficient than the Ticket Spinlock.
Thannk you,
Amine Moulay Ramdane
On 9/30/2013 10:43 AM, aminer wrote:
>
> Hello,
>
>
> My scalable distributed Lock have been updated to version 1.1,
> now it is fair when there is contention, so i think it will avoid
> starvation and it reduces the cache-coherence traffic.
>
>
> Authors: Amine Moulay Ramdane.
>
>
> Description:
>
> A scalable distributed Lock, it is as fast as the windows critical
> section and it is fair when there is contention , and it reduces the
> cache-coherence traffic.
>
> I have not used a Waitfree queue to implement my Scalable Distributed
> Lock, but you can use a Waitfree queue so that my Scalable Distributed
> Lock will be more efficient.
>
> Please take a look a the test.pas Object Pascal demo inside the zipfile,
> compile and run it...
>
>
> You can download my Scalable and distributed Lock from:
>
> http://pages.videotron.com/aminer/
>
> Language: FPC Pascal v2.2.0+ / Delphi 7+: http://www.freepascal.org/
>
> Operating Systems: Windows, Mac OSX , Linux , Unix...
>
>
> Required FPC switches: -O3 -Sd -dFPC -dFreePascal
>
> -Sd for delphi mode....
>
> {$DEFINE CPU32} and {$DEFINE Windows32} for 32 bit systems
>
> {$DEFINE CPU64} and {$DEFINE Windows64} for 64 bit systems
>
>
>
> Thank you,
> Amine Moulay Ramdane.
>
>
Back to comp.programming.threads | Previous | Next — Previous in thread | Find similar
Scalable Distributed Lock version 1.1 aminer <aminer@toto.net> - 2013-09-30 10:43 -0700 Re: Scalable Distributed Lock version 1.1 aminer <aminer@toto.net> - 2013-09-30 11:03 -0700
csiph-web