3 ms·
> perhaps because the data it needs is already on the other core I'm curious. How does the scheduler know that?
by matheusmoreira 6y ago
> perhaps because the data it needs is already on the other core
I'm curious. How does the scheduler know that?
- chrisseaton 6y agoIf your scheduler knows about data dependencies between tasks, such as in a dataflow model, or maybe an actor model, then you can try to run tasks that depend on data produced by a worker on the same core that the producer ran on, to catch data already in that core's cache. For example, read http://www.cs.cmu.edu/~blelloch/papers/locality2000.pdf http://www.cs.cmu.edu/~blelloch/papers/locality2000.pdf.