Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
Groups > comp.programming.threads > #2138 > unrolled thread
| Started by | aminer <aminer@toto.net> |
|---|---|
| First post | 2014-04-04 16:35 -0700 |
| Last post | 2014-04-04 16:46 -0700 |
| Articles | 2 — 1 participant |
Back to article view | Back to comp.programming.threads
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
| From | aminer <aminer@toto.net> |
|---|---|
| Date | 2014-04-04 16:35 -0700 |
| Subject | My bright idea |
| Message-ID | <lhnfjh$lhl$7@news.albasani.net> |
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 consumer thread have to distribute the items in a round robin manner to the four queues...and the second, and the third and the fourth consumer threads must do the same... this is how the my almost 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.
[toc] | [next] | [standalone]
| From | aminer <aminer@toto.net> |
|---|---|
| Date | 2014-04-04 16:46 -0700 |
| Message-ID | <lhng90$mo8$2@news.albasani.net> |
| In reply to | #2138 |
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.
[toc] | [prev] | [standalone]
Back to top | Article view | comp.programming.threads
csiph-web