Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > comp.programming.threads > #2139

Re: My bright idea

From aminer <aminer@toto.net>
Newsgroups comp.programming.threads
Subject Re: My bright idea
Date 2014-04-04 16:46 -0700
Organization albasani.net
Message-ID <lhng90$mo8$2@news.albasani.net> (permalink)
References <lhnfjh$lhl$7@news.albasani.net>

Show all headers | View raw


Please reread, i have corrected something...

Hello...

My scalable and relaxed MPMC almost FIFO priority Queue was updated to 
version 1.06, it's an almost strict FIFO.. and you have to be smart when 
you are using it...

For example when you have 4 producers threads and you have
for example 16 cores, and you want to process your items in all
the cores, and you want my almost FIFO priority Queue to be scalable , 
you have to model your queues as follows...


You have to create 4 of my scalable and almost strict FIFO queue
each with 4 queues.

And the first producer thread have to distribute the items in a round 
robin manner to the four queues...and the second, and the third and the 
fourth producer  threads must do the same... this is how the my almost 
strict FIFO queues will be scalable.


So be smart and hope you have understood this bright idea.


You can download my scalable and relaxed MPMC almost FIFO queue
from:

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




Thank you,
Amine Moulay Ramdane.



Back to comp.programming.threads | Previous | Next — Previous in thread | Find similar | Unroll thread


Thread

My bright idea aminer <aminer@toto.net> - 2014-04-04 16:35 -0700
  Re: My bright idea aminer <aminer@toto.net> - 2014-04-04 16:46 -0700

csiph-web