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

perf: sysbench: select_random_ranges #7365

Closed
Tracked by #6640
fuyufjh opened this issue Jan 13, 2023 · 3 comments
Closed
Tracked by #6640

perf: sysbench: select_random_ranges #7365

fuyufjh opened this issue Jan 13, 2023 · 3 comments
Assignees
Labels
type/bug Something isn't working

Comments

@fuyufjh
Copy link
Member

fuyufjh commented Jan 13, 2023

Describe the bug

The throughput is 2.26 per sec is unacceptable. There must be something wrong.

PS. We set number_of_ranges = 1 to avoid the OR of multiple ranges, which is not supported yet.

Sysbench Tasks :  select_random_ranges

Running the test with following options:
Number of threads: 16
Report intermediate results every 1 second(s)
Initializing random number generator from current time
SQL statistics:
    queries performed:
        read:                            692
        write:                           0
        other:                           0
        total:                           692
    transactions:                        692    (2.26 per sec.)
    queries:                             692    (2.26 per sec.)
    ignored errors:                      0      (0.00 per sec.)
    reconnects:                          0      (0.00 per sec.)
Throughput:
    events/s (eps):                      2.2586
    time elapsed:                        306.3879s
    total number of events:              692
Latency (ms):
         min:                                 2049.90
         avg:                                 7014.37
         max:                                28196.25
         99th percentile:                    28352.44
         sum:                              4853945.24
Threads fairness:
    events (avg/stddev):           43.2500/0.43
    execution time (avg/stddev):   303.3716/1.92

To Reproduce

No response

Expected behavior

No response

Additional context

@fuyufjh fuyufjh added the type/bug Something isn't working label Jan 13, 2023
@github-actions github-actions bot added this to the release-0.1.16 milestone Jan 13, 2023
@fuyufjh
Copy link
Member Author

fuyufjh commented Jan 13, 2023

Feel free to reassign to someone else 🥰 Thank you!

@liurenjie1024
Copy link
Contributor

liurenjie1024 commented Feb 6, 2023

I can't reproduce the low performance report when running select_random_ranges only, neither using kube-ben or standalone ec2. One possible reason is that in our ci the prepare step has ran for several times and inserted duplicated data into our table, and the iter size is much larger than normal:

image

image

cc @huangjw806

@liurenjie1024
Copy link
Contributor

In several tests of new pipeline without inserting too much data, the data seems normal now, let's watch several days for perf report to see the result.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
type/bug Something isn't working
Projects
None yet
Development

No branches or pull requests

2 participants