work-stealing Questions

10

Solved

I'm looking for a proper implementation of a work stealing queue in C/CPP. I've looked around Google but haven't found anything useful. Perhaps someone is familiar with a good open-source i...
Patagium asked 20/1, 2010 at 13:57

2

Solved

Hello I thought with CompletableFuture and the default ForkJoinPool I could optimize execution of task more than a classic ExecutorService but I missing something With this code the execution take...

2

Is there a queue of pending tasks used in conjunction with Java 8's Executors.newWorkStealingPool()? For example, suppose the # available cores is 2, and Executors.newWorkStealingPool() is empty ...
Corsair asked 24/2, 2016 at 0:46

3

In my project I am building a Java execution framework that receives work requests from a client. The work (varying size) is broken down in to a set of tasks and then queued up for processing. Ther...
Box asked 14/4, 2012 at 12:32

1

Solved

I want to submit Runnable tasks into ForkJoinPool via a method: forkJoinPool.submit(Runnable task) Note, I use JDK 7. Under the hood, they are transformed into ForkJoinTask objects. I know tha...

2

I've been investigating different scheduling algorithms for a thread pool I am implementing. Due to the nature of the problem I am solving I can assume that the tasks being run in parallel are inde...

1

Solved

Is the following correct? The disruptor pattern has better parallel performance and scalability if each entry has to be processed in multiple ways (io operations or annotations), since that can b...

1

Solved

I would like to improve my fork/join little example to show that during Java Fork/Join framework execution work stealing occurs. What changes I need to do to following code? Purpose of example: j...
Chiliarch asked 28/12, 2012 at 23:4
1

© 2022 - 2024 — McMap. All rights reserved.