Git Product home page Git Product logo

Comments (4)

jerqi avatar jerqi commented on April 28, 2024

In our production environment, the size of shuffle is usually hundreds of GBs. For very small shuffles, Firestorm will be slower than native shuffles. But there seems to be room for optimization.

from firestorm.

colinmjj avatar colinmjj commented on April 28, 2024

@packageman with firestorm, there are some RPC calls to send data, as you mentioned, requirePreallocation etc. Your case is the same as we expected, with small shuffle data, Firestorm will be a little slower than origin shuffle.
For reference, Firestorm is target to :

  1. Support Spark on K8s things
  2. Improve job's performance/stability with heavy shuffle workload, eg, shuffle data = TB, partition num = 50000+

from firestorm.

packageman avatar packageman commented on April 28, 2024

Support Spark on K8s things

Currently, we are running Spark on k8s.

image

with small shuffle data, Firestorm will be a little slower than origin shuffle

It looks not only a little slower but also a lot slower(2mins vs 5.6mins), nearly 2 times. I understand that grpc call will take some extra time, but the total time is more than double that of the native shuffle when working with small shuffle data, which is not consistent with your description.

with native shuffle:

image

with Firestorm:

image

from firestorm.

colinmjj avatar colinmjj commented on April 28, 2024

@packageman with your case, 1W+task total, the delay should be depend on task number of parallels, if every task is slower about 0.5s with Firstorm, then

  1. 1W parallels task should be slower 0.5s total
  2. 1000 parallels task should be slower 5s total
  3. 100 parallels task should be slower 50s total
    It's the behave we known, Firstorm is not target to improve performance with any situation. Platform can decide if use Firestorm with all Spark job, or with specific job.
    From your case, input data for every task is less than 1MB, shuffle write data is less than 1kb. Optimize job to have more data for every task will be better.

from firestorm.

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.