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

feat(bin/oli): implement oli bench #5443

Merged
merged 10 commits into from
Dec 24, 2024
Merged

feat(bin/oli): implement oli bench #5443

merged 10 commits into from
Dec 24, 2024

Conversation

tisonkun
Copy link
Member

@tisonkun tisonkun commented Dec 23, 2024

$ ./target/debug/oli bench --config dev/config.toml demo dev/suite.toml
Create bench suite with config: BenchSuiteConfig { workload: Download, parallelism: Some(4), file_size: 67108864, timeout: 60s }
Start running bench suite ...
Bench suite completed in 60.066151875s; result:

Parallel tasks: 4
Workload: download
File size: 64 MiB

Bandwidth:
  count: 4229
  min: 522.03 MiB
  max: 1.41 GiB
  avg: 1.12 GiB
  stddev: 97.19 MiB
  p99: 1.30 GiB
  p95: 1.25 GiB
  p50: 1.13 GiB/s

Latency:
  count: 4229
  min: 44ms 248us
  max: 122ms 597us
  avg: 56ms 328us
  stddev: 5ms 681us
  p99: 73ms 661us
  p95: 65ms 225us
  p50: 55ms 468us

IOPS:
  count: 4229
  min: 1.839
  max: 17.628
  avg: 17.100
  stddev: 1.350
  p99: 17.610
  p95: 17.582
  p50: 17.424

Alongside resolves #5362.

Signed-off-by: tison <wander4096@gmail.com>
Signed-off-by: tison <wander4096@gmail.com>
Signed-off-by: tison <wander4096@gmail.com>
@tisonkun
Copy link
Member Author

Credit to @leiysky. I'd add a commit for co-authored.

tisonkun and others added 3 commits December 23, 2024 18:16
Signed-off-by: tison <wander4096@gmail.com>
Co-authored-by: Yu Lei <leiysky@outlook.com>
Signed-off-by: tison <wander4096@gmail.com>
Signed-off-by: tison <wander4096@gmail.com>
@tisonkun tisonkun requested a review from koushiro December 23, 2024 11:52
bin/oli/Cargo.toml Outdated Show resolved Hide resolved
bin/oli/dev/suite.toml Outdated Show resolved Hide resolved
bin/oli/src/commands/bench/mod.rs Outdated Show resolved Hide resolved
bin/oli/src/commands/bench/suite.rs Outdated Show resolved Hide resolved
Signed-off-by: tison <wander4096@gmail.com>
Signed-off-by: tison <wander4096@gmail.com>
Signed-off-by: tison <wander4096@gmail.com>
@tisonkun tisonkun requested a review from Xuanwo December 24, 2024 14:17
Copy link
Member

@Xuanwo Xuanwo left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thank @tisonkun and @leiysky a lot for building this!

@Xuanwo Xuanwo merged commit 260fcd4 into apache:main Dec 24, 2024
13 checks passed
@tisonkun tisonkun deleted the oli-bench branch December 24, 2024 15:28
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

bug: deadlink in oli document
2 participants