Giter Site home page Giter Site logo

Improving the critical path about arcon HOT 2 CLOSED

cda-group avatar cda-group commented on June 8, 2024 1
Improving the critical path

from arcon.

Comments (2)

Bathtor avatar Bathtor commented on June 8, 2024

The most common channel strategy is a forward one, that is, one-to-one.

I don't think this will be true. Most of the code with this pattern should be fused by the compiler. The most common actual channel implementation should be multiple many-to-one channels, which are encountered during partitioning. So I don't think it's worth optimising for this.

Fixed sized queues are probably a good idea, but we need to integrate that with Adam's work on backpressure, because it would introduce a hard limit on outstanding jobs, the violation of which would cause runtime failures. The SeqQueues may do some allocation, but once they are warmed up and driven at similar load for a while, they usually perform very well...and they do respond to changing load levels, as opposed to ArrayQueues, where you need to pre-allocate for the the worst-case load level in advance.

in the end, in a distributed system usually network traffic will be the bottleneck, not local queues, so prematurely optimising for it is probably not a good way to spend our time.

I do think NUMA aware place is valuable, though. For many jobs this will kind of happen automatically the way that my scheduler is designed, but if we know a fairly static layout a-priori, we could optimise and do slightly more static assignments from the start.

from arcon.

Max-Meldrum avatar Max-Meldrum commented on June 8, 2024

elements are batched now. NUMA can be looked at through another issue in the future.

from arcon.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.