Recent

Author Topic: ParalellVarFiler version 1.17  (Read 27429 times)

aminer

  • Hero Member
  • *****
  • Posts: 956
Re: ParalellVarFiler version 1.17
« Reply #15 on: October 21, 2013, 03:32:05 pm »

Ludob wrote:
>The automatic file saving is really a bad >idea. You throw your Parallel HashTable >in to speed up the program and then >write everything you do to a file. That is >putting a rocket engine on your boat >and throwing the anchor out in the >same time.

What is interresting with ParallelVarFiler
is that you have tohe two options , the
automatic saving or to work with the in-memory Parallel hashtable, but when you use automatic saving to a file you still can run multiple gets in parallel, like with RWLocks and that's fine also.

You can download the new version 1.21 of ParallelVarFiler from:


http://pages.videotron.com/aminer/


Thank you,
Amine Moulay Ramdane.

BigChimp

  • Hero Member
  • *****
  • Posts: 5740
  • Add to the wiki - it's free ;)
    • FPCUp, PaperTiger scanning and other open source projects
Re: ParalellVarFiler version 1.17
« Reply #16 on: October 21, 2013, 03:38:48 pm »
Given the thread above, I certainly have no desire whatsoever to download any of your code.
But I still don't believe you.
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

aminer

  • Hero Member
  • *****
  • Posts: 956
Re: ParalellVarFiler version 1.17
« Reply #17 on: October 21, 2013, 03:41:31 pm »

Hello,

Other than that, i have noticed that Mr. Ludob is a harsh person and he is impolite and i think that his genetic is  like that, so i will will keep quite cause your genetic is bad Mr. Ludob.



Thank you,
Amine Moulay Ramdane.

aminer

  • Hero Member
  • *****
  • Posts: 956
Re: ParalellVarFiler version 1.17
« Reply #18 on: October 21, 2013, 04:00:17 pm »

BigChimp wrote:
>Given the thread above, I certainly have >no desire whatsoever to download any of >your code. But I still don't believe you.

Your talk is cheap and impolite, you are talking like a little Kid.


Amine Moulay Ramdane.

aminer

  • Hero Member
  • *****
  • Posts: 956
Re: ParalellVarFiler version 1.17
« Reply #19 on: October 21, 2013, 04:20:07 pm »

Hello,


You have to know that the Peter Johansson
varfiler is 529 lines of code, but my ParallelVarFiler is 1233 lines of code + ParallelHashList, so i can not make just
Peter Johansson the author of ParallelVarFiler , this is why i have put my
name near the name of Peter Johansson
as the authors of ParallelVarFiler.


Thank you,
Amine Moulay Ramdane.


aminer

  • Hero Member
  • *****
  • Posts: 956
Re: ParalellVarFiler version 1.17
« Reply #20 on: October 21, 2013, 04:30:49 pm »

Hello,

If we don't count the documentation,
my ParaellelVarFiler is 1056 lines of code
and  Peter Johansson's varfiler is 387 lines
of code, so i have added more lines of code
than Peter Johansson, and i didn't counted the ParallelHashList code that i have added,
so this is why i have told you that i can't make Peter Johansson the only author of ParallelVaFiler , hence i have put my name near
the name of Peter Johansson as the authors of ParallelVarFiler.


Thank you,
Amine Moulay Ramdane.





BigChimp

  • Hero Member
  • *****
  • Posts: 5740
  • Add to the wiki - it's free ;)
    • FPCUp, PaperTiger scanning and other open source projects
Re: ParalellVarFiler version 1.17
« Reply #21 on: October 21, 2013, 04:47:19 pm »
Please don't misrepresent Peter Johansson as being in any way involved in code you wrote alone. You're opening yourself to legal issues, as well as moral ones.
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

aminer

  • Hero Member
  • *****
  • Posts: 956
Re: ParalellVarFiler version 1.17
« Reply #22 on: October 21, 2013, 05:16:34 pm »

BigChimp wrote:
>Please don't misrepresent Peter >Johansson as being in any way involved >in code you wrote alone. You're opening >yourself to legal issues, as well as moral >ones.


So i have deleted the name of Peter Johansson, and i have added the following inside the README file:

"ParallelVarFiler was derived from TScwVarFiler and Enhanced much more
than TScwVarFiler.

You will find TScwVarFiler here:

http://www.torry.net/quicksearchd.php?String=varfiler&Title=Yes"


You can download ParallelVarFiler version 1.22 from:

http://pages.videotron.com/aminer/

Thank you,
Amine Moulay Ramdane






aminer

  • Hero Member
  • *****
  • Posts: 956
Re: ParalellVarFiler version 1.17
« Reply #23 on: October 21, 2013, 05:39:20 pm »

Hello all,

I have wrote ParallelVarFiler before writing
the scalable scalable Anderson array based Lock , but you have to understand that under Windows the Windows critical
section is not FIFO fair, so it's not starvatoin-free, so in my next version 1.23 of ParallelVarFiler i will
change this Critical Section by the scalable  scalable Anderson  array based Lock.


Thank you,
Amine Moulay Ramdane.

aminer

  • Hero Member
  • *****
  • Posts: 956
Re: ParalellVarFiler version 1.17
« Reply #24 on: October 21, 2013, 05:53:37 pm »

Hello,


ParallelVarFiler was updated to version 1.23, now it uses the scalable Anderson array based Lock , so now the scalable Lock is starvation-free.


You can download ParallelVarFiler 1.23 from:

http://pages.videotron.com/aminer/


Thank you,
Amine Moulay Ramdane.


zamtmn

  • Hero Member
  • *****
  • Posts: 675
Re: ParalellVarFiler version 1.17
« Reply #25 on: October 21, 2013, 06:08:55 pm »
On the day goes by several versions of the product! I also want to learn how to work that way ;D

aminer

  • Hero Member
  • *****
  • Posts: 956
Re: ParalellVarFiler version 1.17
« Reply #26 on: October 21, 2013, 06:17:33 pm »
Hello,


You have to understand me, i have designed Parallel archiver, Parallel compression library and ParallelHahslist and ParallelVarFiler and scalable Locks and scalable RWLocks, cause i wanted to contribute to the FreePascal and Lazarus community, Ludob have criticize ParallelVarFiler and he said that there
were still some bugs with ParallelVarFiler, but i think i have corrected those bugs and i hope you will enjoy my Parallel libraries, if you asked me what i really love in my Parallel archiver,
it's an archiver that has a O(1) complexity access in all the ADD() , Delete()  and Extract() etc. and you can use it as a Hash Table also with both compression and AES encryption and
i think it is stable now, this is why i love it,
if you asked me also why i have designed those
scalable RWLocks and scalable Locks, cause the RWLock that i have designed is scalable and the scalable Locks that i have implemented are scalable and FIFO fair, so they are also starvation-free.. this what i love in them etc. etc.


So hope you will enjoy my parallel libraries etc. etc.

You can download all my parallel librariries and programs from:

http://pages.videotron.com/aminer/


Thank you,
Amine Moulay Ramdane.











 

Scoops

  • Full Member
  • ***
  • Posts: 104
Re: ParalellVarFiler version 1.17
« Reply #27 on: October 21, 2013, 06:46:54 pm »
@Amine, i don't think anyone really wants to dispute the fact that you want to
contribute, but posting pages and pages of the same code and repeating the
same phrases and posts, does'nt really help, you have a web page for that
And i have seen several times requests that you lighten up abit, but no you
continue with the never ending posts that noone understands.  When i see
a post by Amine, 9 times out of 10 i don't even bother to read, because i know
it's because you made a 'smelling pisstake', oops, 'spelling mistake'.

I have asked you a question in another post that you NEVER answered and
you posted straight after myself, (for me this is not polite), so i don't think
it is right that you say that other members are childish or not polite.

If you want to improve your code, this is the best place, but you are not alone
and conversations that work in two directions are more productive in my opinion.

« Last Edit: October 21, 2013, 06:53:28 pm by Scoops »

aminer

  • Hero Member
  • *****
  • Posts: 956
Re: ParalellVarFiler version 1.17
« Reply #28 on: October 21, 2013, 07:00:58 pm »

Hello all,


Why not use the Windows critical section and
that's all ? you have to understand that the Windows critical section is not starvation-free and it's not FIFO fair and
it doesn't minimize efficiently the cache-coherence traffic
cause it is using a backoff mechanism, so
since the Windows critical section is using a backoff mechanism, that means that same thread will have the opportunity to enter many many times the same critical section, and that's what happen with Windows critical section, so
as you have noticed this is fast cause the same same thread will reuse the same variable from the
same local cache, but this is not FIFO fair and
it's not starvation-free, so this why i have decided to contribute to the FreePascal and Lazarus community and i have implemented scalable Locks that are scalable and that minimizes
efficiently the cache-coherence traffic and that are
FIFO fair and starvation-free.


And you can download them from my website:

http://pages.videotron.com/aminer/


Thank you,
Amine Moulay Ramdane.





Scoops

  • Full Member
  • ***
  • Posts: 104
Re: ParalellVarFiler version 1.17
« Reply #29 on: October 21, 2013, 07:04:27 pm »
Once again, you just ignore my previous post, or am i just being paraniod.  >:D

 

TinyPortal © 2005-2018