Details

    • Sub-task
    • Status: Resolved
    • Major
    • Resolution: Fixed
    • 3.1.0
    • 3.1.0
    • ML
    • None

    Description

      According to the performance test in https://issues.apache.org/jira/browse/SPARK-31783, the performance gain is mainly related to the nnz of block.

      So it is reasonable to control the size of block.

       

      I had some offline discuss with weichenxu123, then we think following changes are worthy:

      1, infer an appropriate blockSize (MB) based on numFeatures and nnz by default;

      2, impls should use a relative small memory footprint when processing one block, and should not use a large pre-allocated buffer, so we need to revert gmm;

      3, use new blockify strategy in LinearSVC/LoR/LiR/AFT;

       

       

      Attachments

        1. blockify_svc_perf_20201010.xlsx
          27 kB
          Ruifeng Zheng

        Activity

          apachespark Apache Spark added a comment -

          User 'zhengruifeng' has created a pull request for this issue:
          https://github.com/apache/spark/pull/29782

          apachespark Apache Spark added a comment - User 'zhengruifeng' has created a pull request for this issue: https://github.com/apache/spark/pull/29782
          apachespark Apache Spark added a comment -

          User 'zhengruifeng' has created a pull request for this issue:
          https://github.com/apache/spark/pull/29998

          apachespark Apache Spark added a comment - User 'zhengruifeng' has created a pull request for this issue: https://github.com/apache/spark/pull/29998
          apachespark Apache Spark added a comment -

          User 'zhengruifeng' has created a pull request for this issue:
          https://github.com/apache/spark/pull/29998

          apachespark Apache Spark added a comment - User 'zhengruifeng' has created a pull request for this issue: https://github.com/apache/spark/pull/29998
          apachespark Apache Spark added a comment -

          User 'zhengruifeng' has created a pull request for this issue:
          https://github.com/apache/spark/pull/30009

          apachespark Apache Spark added a comment - User 'zhengruifeng' has created a pull request for this issue: https://github.com/apache/spark/pull/30009
          weichenxu123 Weichen Xu added a comment - Resolved in  https://github.com/apache/spark/pull/30009
          apachespark Apache Spark added a comment -

          User 'zhengruifeng' has created a pull request for this issue:
          https://github.com/apache/spark/pull/30355

          apachespark Apache Spark added a comment - User 'zhengruifeng' has created a pull request for this issue: https://github.com/apache/spark/pull/30355

          People

            podongfeng Ruifeng Zheng
            podongfeng Ruifeng Zheng
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: