Uploaded image for project: 'Flink'
  1. Flink
  2. FLINK-22153

Manually test the sort-merge blocking shuffle

    XMLWordPrintableJSON

Details

    • Improvement
    • Status: Resolved
    • Blocker
    • Resolution: Resolved
    • 1.13.0
    • 1.13.0
    • Runtime / Network
    • None

    Description

      In 1.12, we introduced sort-merge blocking shuffle to Flink and in 1.13, the feature was optimized which improves the usability (fix direct memory OOM issue) and performance (introduce IO scheduling and broadcast optimization).

      The sort-merge blocking shuffle can be tested following the bellow process:

      1. Write a simple batch job using either sql/table or DataStream API; (Word count should be enough)
      2. Enable sort-merge blocking shuffle by setting taskmanager.network.sort-shuffle.min-parallelism to 1 in the Flink configuration file;
      3. Submit and run the batch job with different parallelism and data volume;
      4. Tune the relevant config options (taskmanager.network.blocking-shuffle.compression.enabled, taskmanager.network.sort-shuffle.min-buffers, taskmanager.memory.framework.off-heap.batch-shuffle.size) and see the influence. 

       

      Attachments

        Issue Links

          Activity

            People

              trohrmann Till Rohrmann
              kevin.cyj Yingjie Cao
              Votes:
              0 Vote for this issue
              Watchers:
              4 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: