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

Folders and files

NameName
Last commit message
Last commit date

Latest commit

4c2d015 · Mar 25, 2024

History

7 Commits
Dec 10, 2022
Nov 24, 2021
Nov 23, 2021
Dec 10, 2022
Nov 23, 2021
Nov 23, 2021
Dec 10, 2022
Dec 10, 2022
Mar 25, 2024
Mar 25, 2024
Dec 2, 2021
Nov 26, 2021

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