Skip to content

Benchmark tool for comparing with other runtimes.

License

Apache-2.0, MIT licenses found

Licenses found

Apache-2.0
LICENSE-APACHE
MIT
LICENSE-MIT
Notifications You must be signed in to change notification settings

monoio-rs/monoio-benchmark

Repository files navigation

Monoio Benchmark

TCP ping-pong(not echo) is a common benchmark for network applications.

We will use 1K ping-pong to test performance of different runtimes. Server will receive 1K data(and parse it in real applications) and reply 1K data.

Max throughput

With given connections(enough for fully utilize CPU cores which latency is not important), we can measure the maximum throughput.

Fixed QPS

We can measure the latency and CPU utilization of different runtimes.

How to run

Run diffrent servers:

./target/release/monoio-server --cores 1
./target/release/glommio-server --cores 1
taskset -c 1 ./target/release/tokio-server --cores 1

./target/release/monoio-server --cores 1 2 3 4
./target/release/glommio-server --cores 1 2 3 4
taskset -c 1-4 ./target/release/tokio-server --cores 1 2 3 4

Run client:

./target/release/client --target 10.0.0.0:40000 --cores 1 2 3 4 --conns-per-core 150

Benchmark result

Full result is available in 中文版本 / English version.

About

Benchmark tool for comparing with other runtimes.

Resources

License

Apache-2.0, MIT licenses found

Licenses found

Apache-2.0
LICENSE-APACHE
MIT
LICENSE-MIT

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages