Skip to content

Commit

Permalink
upgrade monoio and update readme
Browse files Browse the repository at this point in the history
  • Loading branch information
ihciah committed Dec 2, 2021
1 parent 5281ed4 commit 0494f46
Show file tree
Hide file tree
Showing 3 changed files with 8 additions and 9 deletions.
6 changes: 3 additions & 3 deletions Cargo.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

9 changes: 4 additions & 5 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -7,13 +7,9 @@ We will use 1K ping-pong to test performance of different runtimes. Server will
## Max throughput
With given connections(enough for fully utilize CPU cores which latency is not important), we can measure the maximum throughput.

TODO: 1C/4C with 3 runtimes, different connections, watch the throughput.

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

TODO: 1C/4C with 3 runtimes, different QPS, watch latency and CPU utilization.

## How to run
Run diffrent servers:
```
Expand All @@ -29,4 +25,7 @@ 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 [中文版本](https://github.com/bytedance/monoio/blob/master/docs/zh/benchmark.md) / [English version](https://github.com/bytedance/monoio/blob/master/docs/zh/benchmark.md).
2 changes: 1 addition & 1 deletion client/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -7,4 +7,4 @@ edition = "2021"
config = {path="../config"}

monoio = {path="../../monoio/monoio"}
local-sync = "0.0.3"
local-sync = "0.0.5"

0 comments on commit 0494f46

Please sign in to comment.