Comments (2)
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.
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)
- Proposal for overhaul of buffer representation HOT 11
- multi_thread support HOT 5
- Direct IO HOT 2
- Support _msg syscalls HOT 4
- impl Clone for stream types?
- Add chunks() for BoundedBuf
- Not in a runtime context is not always true HOT 5
- Return msghdr from `recvmsg`
- DPDK support? HOT 5
- Dead or dying? HOT 9
- Support for windows IOCP (input/output completion ports) another completion-based async API HOT 1
- Is it support `splice` operation now?
- New Release? HOT 3
- tokio-uring missing similar tokio runtime builder options
- io_uring command support? HOT 3
- Support for IO_LINK feature
- Restructuring HOT 2
- __io_uring_buf_ring_cq_advance broken? HOT 1
- [BUG] Hangs when using iopoll without sqpoll HOT 2
- Expose access to io_uring in the form of submission and completion queues HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from tokio-uring.