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

Add first access analysis #165

Merged
merged 1 commit into from
Feb 16, 2021

Conversation

klauspost
Copy link
Collaborator

@klauspost klauspost commented Feb 16, 2021

This will print out the request stats for the first object access in case the same object is accessed more than once (typically in GET operations)

Only shown when details are requested.

Example output single sized objects:

Requests considered: 4737:
 * Avg: 5.323s, 50%: 4.499s, 90%: 9.432s, 99%: 15.234s, Fastest: 499ms, Slowest: 23.375s
 * First Byte: Avg: 747ms, Median: 458ms, Best: 17ms, Worst: 7.613s
 * First Access:
         - Avg: 5.561s, 50%: 4.762s, 90%: 9.58s, 99%: 15.441s, Fastest: 957ms, Slowest: 23.375s
         - TTFB: Avg: 984ms, Median: 662ms, Best: 59ms, Worst: 7.613s

Multi sized:

Requests considered: 77861. Multiple sizes, average 1833115 bytes:

Request size 1 B -> 10 KiB. Requests - 10811:
 * Throughput: Average: 1534.1KiB/s, 50%: 1571.1KiB/s, 90%: 163.3KiB/s, 99%: 6.6KiB/s, Fastest: 9.7MiB/s, Slowest: 1124.8B/s
 * First Byte: Avg: 3ms, Median: 2ms, Best: 1ms, Worst: 39ms
 * First Access: Average: 4.6MiB/s, 50%: 4.5MiB/s, 90%: 979.4KiB/s, 99%: 67.4KiB/s, Fastest: 9.7MiB/s, Slowest: 8.8KiB/s
 * First Access TTFB: Avg: 1ms, Median: 1ms, Best: 1ms, Worst: 2ms

Request size 10KiB -> 1MiB. Requests - 38069:
 * Throughput: Average: 73.5MiB/s, 50%: 66.4MiB/s, 90%: 27.0MiB/s, 99%: 13.6MiB/s, Fastest: 397.6MiB/s, Slowest: 3.1MiB/s
 * First Byte: Avg: 3ms, Median: 2ms, Best: 1ms, Worst: 41ms
 * First Access: Average: 152.4MiB/s, 50%: 138.3MiB/s, 90%: 69.8MiB/s, 99%: 42.5MiB/s, Fastest: 397.6MiB/s, Slowest: 39.1MiB/s
 * First Access TTFB: Avg: 1ms, Median: 1ms, Best: 1ms, Worst: 3ms

Request size 1MiB -> 10MiB. Requests - 32992:
 * Throughput: Average: 162.1MiB/s, 50%: 159.4MiB/s, 90%: 114.3MiB/s, 99%: 80.3MiB/s, Fastest: 505.4MiB/s, Slowest: 22.4MiB/s
 * First Byte: Avg: 3ms, Median: 2ms, Best: 1ms, Worst: 40ms
 * First Access: Average: 273.0MiB/s, 50%: 265.4MiB/s, 90%: 217.7MiB/s, 99%: 189.8MiB/s, Fastest: 505.4MiB/s, Slowest: 166.7MiB/s
 * First Access TTFB: Avg: 2ms, Median: 2ms, Best: 1ms, Worst: 15ms

This will print out the request stats for the first object access in case the same object is accessed more than once (typically in GET operations)

Example output single sized objects:

```
Requests considered: 4737:
 * Avg: 5.323s, 50%: 4.499s, 90%: 9.432s, 99%: 15.234s, Fastest: 499ms, Slowest: 23.375s
 * First Byte: Avg: 747ms, Median: 458ms, Best: 17ms, Worst: 7.613s
 * First Access:
         - Avg: 5.561s, 50%: 4.762s, 90%: 9.58s, 99%: 15.441s, Fastest: 957ms, Slowest: 23.375s
         - TTFB: Avg: 984ms, Median: 662ms, Best: 59ms, Worst: 7.613s
```

Multi sized:
```
Requests considered: 77861. Multiple sizes, average 1833115 bytes:

Request size 1 B -> 10 KiB. Requests - 10811:
 * Throughput: Average: 1534.1KiB/s, 50%: 1571.1KiB/s, 90%: 163.3KiB/s, 99%: 6.6KiB/s, Fastest: 9.7MiB/s, Slowest: 1124.8B/s
 * First Byte: Avg: 3ms, Median: 2ms, Best: 1ms, Worst: 39ms
 * First Access: Average: 4.6MiB/s, 50%: 4.5MiB/s, 90%: 979.4KiB/s, 99%: 67.4KiB/s, Fastest: 9.7MiB/s, Slowest: 8.8KiB/s
 * First Access TTFB: Avg: 1ms, Median: 1ms, Best: 1ms, Worst: 2ms

Request size 10KiB -> 1MiB. Requests - 38069:
 * Throughput: Average: 73.5MiB/s, 50%: 66.4MiB/s, 90%: 27.0MiB/s, 99%: 13.6MiB/s, Fastest: 397.6MiB/s, Slowest: 3.1MiB/s
 * First Byte: Avg: 3ms, Median: 2ms, Best: 1ms, Worst: 41ms
 * First Access: Average: 152.4MiB/s, 50%: 138.3MiB/s, 90%: 69.8MiB/s, 99%: 42.5MiB/s, Fastest: 397.6MiB/s, Slowest: 39.1MiB/s
 * First Access TTFB: Avg: 1ms, Median: 1ms, Best: 1ms, Worst: 3ms

Request size 1MiB -> 10MiB. Requests - 32992:
 * Throughput: Average: 162.1MiB/s, 50%: 159.4MiB/s, 90%: 114.3MiB/s, 99%: 80.3MiB/s, Fastest: 505.4MiB/s, Slowest: 22.4MiB/s
 * First Byte: Avg: 3ms, Median: 2ms, Best: 1ms, Worst: 40ms
 * First Access: Average: 273.0MiB/s, 50%: 265.4MiB/s, 90%: 217.7MiB/s, 99%: 189.8MiB/s, Fastest: 505.4MiB/s, Slowest: 166.7MiB/s
 * First Access TTFB: Avg: 2ms, Median: 2ms, Best: 1ms, Worst: 15ms
```
@harshavardhana harshavardhana merged commit b3ae7ec into minio:master Feb 16, 2021
@klauspost klauspost deleted the add-first-access-analysis branch February 17, 2021 09:38
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants