-
Notifications
You must be signed in to change notification settings - Fork 589
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: improve tpc-h q1 performance (single-topic) #15034
Comments
RW Query:
Query Plan:
Flink:
Query Plan:
|
Why three separate and consecutive Edit:
|
CPU is not really the bottleneck, so Nearly zero However, there is clear skewness: Flink: |
could it be the same issue with #5214? |
Could be Three possibilities in total:
|
So I added a simple stateless query called q0 that does nothing and evaluated it for both RW and Flink: https://github.com/risingwavelabs/kube-bench/blob/main/manifests/tpch/tpch-modified-sinks.template.yaml#L7-L33 it turns out the performance is almost exactly the same as q1 for both RW and Flink (as shown in the notion page in the first thread): RW: http://metabase.risingwave-cloud.xyz/question/10801-tpch-q0-bs-medium-1cn-affinity-avg-source-output-rows-per-second-rows-s-history-thtb-2971?start_date=2024-01-09 So we can conclude that the computation is very light and that the bottleneck should be on the source. As there is an outstanding issue for fixing the source's performance regression, we will wait for #14815 to be fixed first and see what should be the next step |
This issue has been open for 60 days with no activity. Could you please update the status? Feel free to continue discussion or close as not planned. |
See performance numbers at https://www.notion.so/risingwave-labs/TPCH-Performance-Numbers-Table-e098ef82884546949333409f0513ada7?pvs=4#8de0bf4bda51444c8381f3b0c10ddfe1
The text was updated successfully, but these errors were encountered: