GithubHelp home page GithubHelp logo

Comments (6)

hinshun avatar hinshun commented on July 17, 2024 1

@bonedaddy Btw, I added an additional section on benchmarking the quic libp2p transport: https://github.com/Netflix/p2plab#live-updating-the-cluster. More to come later.

from p2plab.

hinshun avatar hinshun commented on July 17, 2024

This is just a rendering feature from the table writer: https://github.com/olekukonko/tablewriter
Rows that have the same value have the cells merged. i.e. in the README's benchmark the neighbor nodes both received 0 blocks and 0 duplicate blocks, whereas in your run the neighbor nodes received a few duplicate blocks.

from p2plab.

bonedaddy avatar bonedaddy commented on July 17, 2024

Ah okay, makes sense. Thanks.

from p2plab.

bonedaddy avatar bonedaddy commented on July 17, 2024

@hinshun Thanks! Another question I have is determining what kind of results are better than others. For example in the bitswap tests do we want BLOCKSRECV to be equal across all nodes, and as low as possible? For the bandwidth tests do we want the fastest mb/s as possible?

Thanks.

from p2plab.

hinshun avatar hinshun commented on July 17, 2024

It depends on your scenario and what you care about. In this specific example, you probably want:

  • Minimize total time for all (not 'neighbor') nodes to receive the DAG
  • Minimize total DUPBLOCKS, aka minimize BLOCKSRECV
  • Minimize BLOCKSRECV in neighbor nodes (they have the full DAG so they shouldn't need any blocks)
  • Balance the BLOCKSSENT in neighbor nodes (so load is distributed)

That said, the bitswap implementation should perform well generally. So if a change in bitswap improves one scenario but greatly slows down in another, then it may not be acceptable. In practice, you probably want to write a suite of scenarios, assign a weight to each scenario, and then compute a final score.

from p2plab.

bonedaddy avatar bonedaddy commented on July 17, 2024

Makes sense, thanks.

from p2plab.

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.