Skip to content
New issue

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

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

Already on GitHub? # 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: Upload, parallelism: Some(4), file_size: 67108864, timeout: 60s, retain_on_success: false }
Start running bench suite ...
Prepare task with path: obench-test-d8141f4a-5b32-4023-ac3e-d53509a70988
Deleting object at path: obench-test-d8141f4a-5b32-4023-ac3e-d53509a70988
Bench suite completed in 60.227706042s; result:

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

Bandwidth:
  num_samples: 395
  min: 43.03 MiB/s
  max: 140.85 MiB/s
  avg: 108.07 MiB/s
  stddev: 14.70 MiB/s
  p99: 134.94 MiB/s
  p95: 127.98 MiB/s
  p50: 109.64 MiB/s

Latency:
  num_samples: 395
  min: 454ms 398us
  max: 1s 487ms 211us
  avg: 608ms 715us
  stddev: 130ms 845us
  p99: 1s 401ms 201us
  p95: 763ms 458us
  p50: 583ms 703us

IOPS:
  num_samples: 395
  min: 1.422
  max: 1.853
  avg: 1.689
  stddev: 0.046
  p99: 1.803
  p95: 1.769
  p50: 1.681

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
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
# for free to join this conversation on GitHub. Already have an account? # to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

bug: deadlink in oli document
2 participants