Lazarus
Home
Help
TinyPortal
Search
Login
Register
Lazarus
»
Forum
»
Announcements
»
Third party
»
About my scalable RWLock
Free Pascal
Website
Downloads
Wiki
Documentation
Bugtracker
Mailing List
Lazarus
Website
Downloads (Laz+FPC)
Packages (OPM)
FAQ
Wiki
Documentation (RTL/FCL/LCL)
Bugtracker
CCR Bugs
GIT
Mailing List
Other languages
Foundation
Website
Useful Wiki Links
Project Roadmap
Getting the Source
Screenshots
How to use the forum
Forum Rules
About donations (wiki)
Bookstore
Computer Math and Games in Pascal
(preview)
Lazarus Handbook
Search
Advanced search
Recent
Hashing pointers by using...
by
440bx
[
Today
at 03:16:33 am]
Error: Enumeration symbol...
by
440bx
[
Today
at 03:07:40 am]
exception external SIGSEG...
by
dseligo
[
Today
at 02:24:28 am]
Why does the call via fun...
by
Martin_fr
[
Today
at 01:59:35 am]
[SOLVED] Is this a compil...
by
jamie
[
Today
at 01:46:54 am]
Problem installing LazPro...
by
peter.dell
[
Today
at 01:32:53 am]
AI interactions
by
Joanna
[December 13, 2025, 11:47:24 pm]
project - count source li...
by
bobonwhidbey
[December 13, 2025, 10:30:31 pm]
Recomendations for conver...
by
BlueIcaro
[December 13, 2025, 09:49:20 pm]
FPC 3.2.4-rc1 available
by
PeterBB
[December 13, 2025, 08:31:32 pm]
fpsockets error: 10047
by
parcel
[December 13, 2025, 04:03:56 pm]
So many "newbies"
by
Joanna
[December 13, 2025, 02:52:06 pm]
Is it possible to run "mo...
by
Thausand
[December 13, 2025, 02:42:56 pm]
TIBDataSet "Closing"? on ...
by
RedOctober
[December 13, 2025, 02:38:05 pm]
TLazSerial : serial port ...
by
CM630
[December 13, 2025, 02:20:24 pm]
connecting to mariadb
by
alanyoung
[December 13, 2025, 01:27:11 pm]
How to get the standard m...
by
stem
[December 13, 2025, 12:50:55 pm]
Lookup field: error list ...
by
BlueIcaro
[December 13, 2025, 12:00:10 pm]
Anchoring controls with d...
by
jamie
[December 13, 2025, 11:22:45 am]
Recompiled IDE with LCLRe...
by
AlexTP
[December 13, 2025, 05:09:56 am]
Commerce website written ...
by
Joanna
[December 13, 2025, 01:00:28 am]
TaurusTLS 1.0.0.25 beta 2...
by
LeP
[December 12, 2025, 09:21:31 pm]
Single / Double / Float s...
by
tetrastes
[December 12, 2025, 09:10:39 pm]
Publish a LAMW app in F-d...
by
spacepascal
[December 12, 2025, 09:00:41 pm]
OS/2 Warp 4 problem with ...
by
PascalDragon
[December 12, 2025, 08:30:23 pm]
« previous
next »
Print
Pages: [
1
]
Author
Topic: About my scalable RWLock (Read 2513 times)
aminer
Hero Member
Posts: 956
About my scalable RWLock
«
on:
September 17, 2013, 11:42:04 pm »
Hello,
But i have something to add to what i wrote in my algorithm
explanation, so if you have noticed in the "writers" side , each
writer verifies if all the FCount1^
.fcount1 equal to zero ,
so you will say that my algorithm have a weakness in the writer
side since every writer must transfer many cache lines so it
will be slow, but be smart please and imagine that we have 100 cores,
and you have to start 100 threads , so when a writer will enter
the RWlock() method it will set all the FCount1^
.fcount1 to zero
in its corresponding core, and since every FCount1^
.fcount1
resides in a core , so i think as soon a writer will finish to verify the
first FCount1^
.fcount1 may other FCount1^
.fcount1 may have been
decremeted to zero , so this will make the writer side faster , so
i think my algorithm will still be fast on both the reader and the writer
and it will be scalable. Other that that if you have 100 cores you can
start fewer than 100 threads and make also my algorithm faster
in the "writers" side , so this will also make my algorithm faster
on both the readers and the writers and my algorithm will be scalable.
Please read here about my scalable RWLock algorithm:
http://pages.videotron.com/aminer/rwlock1.html
Amine Moulay Ramdane.
Logged
aminer
Hero Member
Posts: 956
Re: About my scalable RWLock
«
Reply #1 on:
September 17, 2013, 11:46:29 pm »
I correct please read again:
Hello,
But i have something to add to what i wrote in my algorithm
explanation, so if you have noticed in the "writers" side , each
writer verifies if all the FCount1^
.fcount1 equal to zero ,
so you will say that my algorithm have a weakness in the writer
side since every writer must transfer many cache lines so it
will be slow, but be smart please and imagine that we have 100 cores,
and you have to start 100 threads , so when a writer will enter
the RWlock() method it will set all the FCount1^
.fcount1 to zero
in its corresponding core, and since every FCount1^
.fcount1
resides in a core , so i think as soon a writer will finish to verify the
first FCount1^
.fcount1 many other FCount1^
.fcount1 may have been
decremeted to zero , so this will make the writer side faster , so
i think my algorithm will still be fast on both the reader and the writer
and it will be scalable. Other that that if you have 100 cores you can
start fewer than 100 threads and make also my algorithm faster
in the "writers" side , so this will also make my algorithm faster
on both the readers and the writers and my algorithm will be scalable.
Please read here about my scalable RWLock algorithm:
http://pages.videotron.com/aminer/rwlock1.html
Amine Moulay Ramdane.
Logged
BigChimp
Hero Member
Posts: 5740
Add to the wiki - it's free ;)
Re: About my scalable RWLock
«
Reply #2 on:
September 18, 2013, 08:55:40 am »
Sorry, TL;DR.
Just my opinion, but you might try
- removing the italic formatting
- correcting whichever original post you're talking about
- and/or keeping the text to a short announcement and give details on the site where your download is.
Logged
Want quicker answers to your questions? Read
http://wiki.lazarus.freepascal.org/Lazarus_Faq#What_is_the_correct_way_to_ask_questions_in_the_forum.3F
Open source including papertiger OCR/PDF scanning:
https://bitbucket.org/reiniero
Lazarus trunk+FPC trunk x86, Windows x64 unless otherwise specified
Print
Pages: [
1
]
« previous
next »
Lazarus
»
Forum
»
Announcements
»
Third party
»
About my scalable RWLock
TinyPortal
© 2005-2018