GithubHelp home page GithubHelp logo

Replay slows down about avalon HOT 6 CLOSED

dtube avatar dtube commented on July 30, 2024
Replay slows down

from avalon.

Comments (6)

skzap avatar skzap commented on July 30, 2024 1

Ok I merged the branch into master. I believe replay speed can still be upgraded by 'clusterizing' the secp256k1 and maybe the sha256s in order to make full usage of multiple cpu cores.

from avalon.

skzap avatar skzap commented on July 30, 2024

https://github.com/dtube/avalon/tree/memory-fix

from avalon.

skzap avatar skzap commented on July 30, 2024

I've done some changes on this new branch and will run some tests now. Trying to replay with old code and new code and calculate performance increase

from avalon.

skzap avatar skzap commented on July 30, 2024

Wasn't that. Still similar speeds.

from avalon.

skzap avatar skzap commented on July 30, 2024

I think the slowdown issue is the cache.js file now. Skipping the cache backup/rollback system during transaction verification improves the replay speed by a lot and it doesn't seem to slow down. Alas this would break the state of the node on any wrong transaction or block received (let's say a forked node sent a bad block) ...

from avalon.

skzap avatar skzap commented on July 30, 2024

Ok I did some good progress, replay is much faster now, feel free to try the new memory-fix branch with git checkout memory-fix (just don't do it on your active node :D)

from avalon.

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.