Coder Social home page Coder Social logo

Comments (2)

lmatz avatar lmatz commented on June 24, 2024

Some notable phenomena:

1. Join Executor Barrie Align is much higher when scaling up

4X:
SCR-20240205-smg

1X:
SCR-20240205-smj

2. HashJoin executor's throughput is much worse when scaling up

4X:
https://grafana.test.risingwave-cloud.xyz/d/EpkBw5W4k/risingwave-dev-dashboard?from=1706396338000&orgId=1&to=1706398141000&var-datasource=Prometheus:%20test-useast1-eks-a&var-namespace=nexmark-lt-4x-1cn-affinity-weekly-20240127&editPanel=63
SCR-20240205-sqm

1X:
https://grafana.test.risingwave-cloud.xyz/d/EpkBw5W4k/risingwave-dev-dashboard?orgId=1&var-datasource=Prometheus:%20test-useast1-eks-a&from=1706413292000&to=1706415095000&var-namespace=nexmark-1cn-affinity-weekly-20240127&editPanel=63
SCR-20240205-sqj

3. StatelessSimpleAgg executor's throughput is much worse when scaling up

4X:
https://grafana.test.risingwave-cloud.xyz/d/EpkBw5W4k/risingwave-dev-dashboard?from=1706396338000&orgId=1&to=1706398141000&var-datasource=Prometheus:%20test-useast1-eks-a&var-namespace=nexmark-lt-4x-1cn-affinity-weekly-20240127&editPanel=63
SCR-20240205-sv7

1X:
https://grafana.test.risingwave-cloud.xyz/d/EpkBw5W4k/risingwave-dev-dashboard?orgId=1&var-datasource=Prometheus:%20test-useast1-eks-a&from=1706413292000&to=1706415095000&var-namespace=nexmark-1cn-affinity-weekly-20240127&editPanel=63
SCR-20240205-sva

No wonder, SimpleAgg is bad too since it is on the other side of exchange after StatelessSimpleAgg.
4X:
https://grafana.test.risingwave-cloud.xyz/d/EpkBw5W4k/risingwave-dev-dashboard?from=1706396338000&orgId=1&to=1706398141000&var-datasource=Prometheus:%20test-useast1-eks-a&var-namespace=nexmark-lt-4x-1cn-affinity-weekly-20240127&editPanel=63
SCR-20240205-szk

1X:
https://grafana.test.risingwave-cloud.xyz/d/EpkBw5W4k/risingwave-dev-dashboard?orgId=1&var-datasource=Prometheus:%20test-useast1-eks-a&from=1706413292000&to=1706415095000&var-namespace=nexmark-1cn-affinity-weekly-20240127&editPanel=63
SCR-20240205-szn

4. HashAgg executor throughput is worse when scaling up

There are two HashAgg in the query plan, but since they are both worse, it does not matter which one is which one (How to differentiate two though?)

4X:
https://grafana.test.risingwave-cloud.xyz/d/EpkBw5W4k/risingwave-dev-dashboard?from=1706396338000&orgId=1&to=1706398141000&var-datasource=Prometheus:%20test-useast1-eks-a&var-namespace=nexmark-lt-4x-1cn-affinity-weekly-20240127&editPanel=63
SCR-20240205-t3z

1X:
https://grafana.test.risingwave-cloud.xyz/d/EpkBw5W4k/risingwave-dev-dashboard?orgId=1&var-datasource=Prometheus:%20test-useast1-eks-a&from=1706413292000&to=1706415095000&var-namespace=nexmark-1cn-affinity-weekly-20240127&editPanel=63
SCR-20240205-t48

5. Dynamic executor throughput is better when scaling up

4X:
https://grafana.test.risingwave-cloud.xyz/d/EpkBw5W4k/risingwave-dev-dashboard?from=1706396338000&orgId=1&to=1706398141000&var-datasource=Prometheus:%20test-useast1-eks-a&var-namespace=nexmark-lt-4x-1cn-affinity-weekly-20240127&editPanel=63
SCR-20240205-t9u

1X:
https://grafana.test.risingwave-cloud.xyz/d/EpkBw5W4k/risingwave-dev-dashboard?orgId=1&var-datasource=Prometheus:%20test-useast1-eks-a&from=1706413292000&to=1706415095000&var-namespace=nexmark-1cn-affinity-weekly-20240127&editPanel=63

SCR-20240205-t9x

from risingwave.

lmatz avatar lmatz commented on June 24, 2024

Since:

  1. The bottom HashAgg is the first stateful operator in the branch of subplan, it does not make sense that its performance will decrease when scaling up. probably due to back-pressure
  2. StatelessSimpleAgg and SimpleAgg are both too simple to be the root cause. (may still take a look) probably also due to back-pressure
  3. Dynamic filter executor's throughput gets better when scaling up

I suppose HashJoin and Exchange may need to be investigated first?

from risingwave.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.