Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fix typos in resp-bench.md #43

Merged
merged 4 commits into from
Mar 19, 2024
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
14 changes: 7 additions & 7 deletions website/docs/benchmarking/resp-bench.md
Original file line number Diff line number Diff line change
Expand Up @@ -157,19 +157,19 @@ Garnet/benchmark/Resp.benchmark
For a run with 1 client session:

```bash
dotnet run -c Release --f net8.0 -- --online --op-workload GET,SET --op-percent 50,50 -b 1 -t 1
dotnet run -c Release -f net8.0 -- --online --op-workload GET,SET --op-percent 50,50 -b 1 -t 1
```

For a run with 16 client sessions:

```bash
dotnet run -c Release --f net8.0 -- --online --op-workload GET,SET --op-percent 50,50 -b 1 -t 16
dotnet run -c Release -f net8.0 -- --online --op-workload GET,SET --op-percent 50,50 -b 1 -t 16
```

For a run using ZADD and ZCARD commands:

```bash
dotnet run -c Release --f net8.0 -- --online --op-workload ZADD,ZCARD --op-percent 50,50 -b 1 -t 1 --keylength --client SERedis
dotnet run -c Release -f net8.0 -- --online --op-workload ZADD,ZCARD --op-percent 50,50 -b 1 -t 1 --keylength --client SERedis
```

**Where:**
Expand All @@ -189,11 +189,11 @@ This category of benchmark use our `LightClient` with pre-created batches, to me
Some examples of running offline benchmarks are:

```bash
dotnet run -c Release --f net8.0 -- --op GET -t 2,4,8,16 -b 512 --dbsize 10241024 --keylength 1024
dotnet run -c Release -f net8.0 -- --op GET -t 2,4,8,16 -b 512 --dbsize 10241024 --keylength 1024
```

```bash
dotnet run -c Release --f net8.0 -- --op ZADDCARD -t 64 --b 512 --dbsize 16777216 --keylength 512
dotnet run -c Release -f net8.0 -- --op ZADDCARD -t 64 --b 512 --dbsize 16777216 --keylength 512
```
**Where:**

Expand All @@ -208,13 +208,13 @@ You can pre-populate the store with keys before running GET benchmarks by perfor
- Execute MSET with the Resp Benchmark tool:

```bash
dotnet run -c Release --f net8.0 -- --op MSET --dbsize 16777216 --keylength 512
dotnet run -c Release -f net8.0 -- --op MSET --dbsize 16777216 --keylength 512
```

Then execute the GET command in online mode:

```bash
dotnet run -c Release --f net8.0 -- --op-workload GET --online -b 1 --op-percent 100 -t 64 --client GarnetClientSession --itp 1024 --runtime -1 --dbsize 16777216 --keylength 512
dotnet run -c Release -f net8.0 -- --op-workload GET --online -b 1 --op-percent 100 -t 64 --client GarnetClientSession --itp 1024 --runtime -1 --dbsize 16777216 --keylength 512
```

If you want to know how high the hit rate you can execute from any client CLI tool:
Expand Down