GithubHelp home page GithubHelp logo

Comments (2)

MartinCornelis2 avatar MartinCornelis2 commented on July 17, 2024

Is this fixed / captured by the PR that was just merged, or is this a separate issue?

Additionally, if this is a separate issue, what impact does it have on the executor?
I agree that the executor waking up for no reason is not desirable, but it does not induce unexpected behaviour and I don't expect the performance impact to be major. Can you give me an indication of the urgency of the fix?

Also, what fix would you suggest. Is there another check besides is_ready() that can be performed to prevent this behaviour. And if so, what is the performance impact of the check vs. the performance impact of the unnecessary awakes?

from static_executor.

alsora avatar alsora commented on July 17, 2024

This is a separate issue from the PR created by @mauropasse .
However, that PR already contributes to mitigate the overhead, because it makes sure that no work is performed in these "spurious" awakes.

I agree with you that the impact should no be that much, anyhow, I'm creating some tests for exactly measuring it.

Unfortunately I don't have a solution at the moment, I opened this ticket mainly to make you aware of the issue.
I will investigate more at how the SingleThreadExecutor uses the memory strategy to get ready executables, because that approach apparently fixes the problem. I will see if it's possible to integrate it in the StaticExecutor to gain some performance.

from static_executor.

Related Issues (2)

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.