GithubHelp home page GithubHelp logo

Comments (2)

FrankReh avatar FrankReh commented on August 16, 2024 1

Thanks for the info. I've been working with my own fork of rewrk to stress the wrk-bench and a new wrk-bench-multishot. I added an HdrHistogram to show all the connection latencies. One day, we should have a rewrk that is based on tokio-uring too.

The biggest reason I made changes to rewrk was that in its current state, it is designed to measure throughput and latencies of messages and responses. It can't measure the rate of accepted connections that close themselves immediately after responding with a single message - well it can, but the numbers it calculates are very misleading.

The best throughput is being achieved when the rewrk batches its connect futures a few at a time, with a 1ms interval between batches. That keeps the kernel TCP setup mechanism happy between my two kernels and the latency for individual setups is low - the number of TCP accepts possible per second is high.

At this point, I don't know if it would still be called ReWrk since these new flags make it very accept/stress specific. Tokio makes it very easy to write efficient stress tests though, I'm glad you pointed me to the rewrk app.

from tokio-uring.

Noah-Kennedy avatar Noah-Kennedy commented on August 16, 2024

This is a stupid, silly benchmark I wrote that is intended to be used in conjunction with (wrk)[https://github.com/wg/wrk] or (rewrk)[https://github.com/lnx-search/rewrk].

This is really only intended for internal use when developing on this repo. It's useful for examining how different tweaks improve or worsen our throughput with a large volume of relatively small IO ops.

from tokio-uring.

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.