You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@uniffle.apache.org by "jerqi (via GitHub)" <gi...@apache.org> on 2023/05/25 06:42:58 UTC

[GitHub] [incubator-uniffle] jerqi opened a new pull request, #904: [MINOR] Add benchmark test data

jerqi opened a new pull request, #904:
URL: https://github.com/apache/incubator-uniffle/pull/904

   ### What changes were proposed in this pull request?
   Add the benchmark data.
   
   ### Why are the changes needed?
   Attract more users. If we have benchmark data, users don't need to test by themselves.  It will lower the barrier to use.
   
   ### Does this PR introduce _any_ user-facing change?
   No.
   
   ### How was this patch tested?
   Just doc
   


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: issues-unsubscribe@uniffle.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


---------------------------------------------------------------------
To unsubscribe, e-mail: issues-unsubscribe@uniffle.apache.org
For additional commands, e-mail: issues-help@uniffle.apache.org


[GitHub] [incubator-uniffle] jerqi commented on pull request #904: [MINOR] Add benchmark test data

Posted by "jerqi (via GitHub)" <gi...@apache.org>.
jerqi commented on PR #904:
URL: https://github.com/apache/incubator-uniffle/pull/904#issuecomment-1562688643

   > Great improvement.
   > 
   > How about adding `Netty` 
   We should update the bencmark after finishing Netty feature. 


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: issues-unsubscribe@uniffle.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


---------------------------------------------------------------------
To unsubscribe, e-mail: issues-unsubscribe@uniffle.apache.org
For additional commands, e-mail: issues-help@uniffle.apache.org


[GitHub] [incubator-uniffle] kaijchen commented on a diff in pull request #904: [MINOR] docs: Add benchmark results

Posted by "kaijchen (via GitHub)" <gi...@apache.org>.
kaijchen commented on code in PR #904:
URL: https://github.com/apache/incubator-uniffle/pull/904#discussion_r1205474121


##########
docs/benchmark.md:
##########
@@ -0,0 +1,171 @@
+<!--
+  ~ Licensed to the Apache Software Foundation (ASF) under one or more
+  ~ contributor license agreements.  See the NOTICE file distributed with
+  ~ this work for additional information regarding copyright ownership.
+  ~ The ASF licenses this file to You under the Apache License, Version 2.0
+  ~ (the "License"); you may not use this file except in compliance with
+  ~ the License.  You may obtain a copy of the License at
+  ~
+  ~    http://www.apache.org/licenses/LICENSE-2.0
+  ~
+  ~ Unless required by applicable law or agreed to in writing, software
+  ~ distributed under the License is distributed on an "AS IS" BASIS,
+  ~ WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+  ~ See the License for the specific language governing permissions and
+  ~ limitations under the License.
+  -->
+  ## Environment
+  Software: Uniffle 0.2.0  Hadoop 2.8.5 Spark 2.4.6
+  Hardware: Machine 176 cores, 265G memory, 4T * 12 HDD, network bandwidth 10GB/s
+  Hadoop Yarn Cluster: 1 * ResourceManager + 6 * NodeManager, every machine 4T * 10 HDD
+  Uniffle Cluster: 1 * Coordinator + 6 * Shuffle Server, every machine 4T * 10 HDD

Review Comment:
   Either add `  ` after each line, or add `* ` before each line. 



-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: issues-unsubscribe@uniffle.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


---------------------------------------------------------------------
To unsubscribe, e-mail: issues-unsubscribe@uniffle.apache.org
For additional commands, e-mail: issues-help@uniffle.apache.org


[GitHub] [incubator-uniffle] jerqi commented on pull request #904: [MINOR] docs: Add benchmark results

Posted by "jerqi (via GitHub)" <gi...@apache.org>.
jerqi commented on PR #904:
URL: https://github.com/apache/incubator-uniffle/pull/904#issuecomment-1565889037

   Thanks all, merged.


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: issues-unsubscribe@uniffle.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


---------------------------------------------------------------------
To unsubscribe, e-mail: issues-unsubscribe@uniffle.apache.org
For additional commands, e-mail: issues-help@uniffle.apache.org


[GitHub] [incubator-uniffle] jerqi commented on a diff in pull request #904: [MINOR] docs: Add benchmark results

Posted by "jerqi (via GitHub)" <gi...@apache.org>.
jerqi commented on code in PR #904:
URL: https://github.com/apache/incubator-uniffle/pull/904#discussion_r1205415116


##########
docs/benchmark.md:
##########
@@ -0,0 +1,171 @@
+<!--
+  ~ Licensed to the Apache Software Foundation (ASF) under one or more
+  ~ contributor license agreements.  See the NOTICE file distributed with
+  ~ this work for additional information regarding copyright ownership.
+  ~ The ASF licenses this file to You under the Apache License, Version 2.0
+  ~ (the "License"); you may not use this file except in compliance with
+  ~ the License.  You may obtain a copy of the License at
+  ~
+  ~    http://www.apache.org/licenses/LICENSE-2.0
+  ~
+  ~ Unless required by applicable law or agreed to in writing, software
+  ~ distributed under the License is distributed on an "AS IS" BASIS,
+  ~ WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+  ~ See the License for the specific language governing permissions and
+  ~ limitations under the License.
+  -->
+  ## Environment
+  Software: Uniffle 0.2.0  Hadoop 2.8.5 Spark 2.4.6
+  Hardware: Machine 176 cores, 265G memory, 4T * 12 HDD, network bandwidth 10GB/s
+  Hadoop Yarn Cluster: 1 * ResourceManager + 6 * NodeManager, every machine 4T * 10 HDD
+  Uniffle Cluster: 1 * Coordinator + 6 * Shuffle Server, every machine 4T * 10 HDD
+  
+  ## Configuration
+  Spark's configuration
+  ````
+  spark.executor.instances 100
+  spark.executor.cores 4
+  spark.executor.memory 9g
+  spark.executor.memoryOverhead 1024
+  spark.shuffle.manager org.apache.spark.shuffle.RssShuffleManager
+  spark.rss.storage.type MEMORY_LOCALFILE
+  ````
+  Shuffle Server's configuration
+  ````
+  rss.storage.type MEMORY_LOCALFILE
+  rss.server.buffer.capacity 50g
+  ````
+  
+  ## TPC-DS
+  We generate 1TB data, we use the code of the [repo](https://github.com/databricks/spark-sql-perf)
+  
+  |query name|vanilla|uniffle|
+  |---|---|---|
+  |query1|16|18|
+  |query10|30|35|
+  |query11|86|96|
+  |query12|14|17|
+  |query13|102|77|
+  |query14a|239|254|
+  |query14b|226|232|
+  |query15|44|48|
+  |query16|50|59|
+  |query17|83|97|
+  |query18|31|35|
+  |query19|15|17|
+  |query2|21|25|
+  |query20|15|16|
+  |query21|8|8|
+  |query22|21|22|
+  |query23a|288|366|
+  |query23b|366|422|
+  |query24a|181|198|
+  |query24b|167|187|
+  |query25|93|113|
+  |query26|15|15|
+  |query27|16|17|
+  |query28|38|41|
+  |query29|80|102|
+  |query3|9|11|
+  |query30|21|26|
+  |query31|30|40|
+  |query32|14|15|
+  |query33|26|30|
+  |query34|12|16|
+  |query35|34|39|
+  |query36|15|18|
+  |query37|16|20|
+  |query38|27|36|
+  |query39|15|19|
+  |query39a|16|20|
+  |query39b|14|19|
+  |query4|205|227|
+  |query40|38|38|
+  |query41|5|6|
+  |query42|9|10|
+  |query43|13|13|
+  |query44|20|22|
+  |query45|30|36|
+  |query46|16|18|
+  |query47|22|25|
+  |query48|25|24|
+  |query49|58|66|
+  |query5|56|59|
+  |query50|56|61|
+  |query51|23|28|
+  |query52|9|10|
+  |query53|12|13|
+  |query54|52|62|
+  |query55|9|10|
+  |query56|25|27|
+  |query57|20|22|
+  |query58|23|26|
+  |query59|22|22|
+  |query6|33|41|
+  |query60|25|28|
+  |query61|25|28|
+  |query62|10|11|
+  |query63|12|12|
+  |query64|176|185|
+  |query65|32|37|
+  |query66|23|24|
+  |query67|697|775|
+  |query68|17|19|
+  |query69|31|34|
+  |query7|17|17|
+  |query70|24|27|
+  |query71|23|24|
+  |query72|335|350|
+  |query73|12|14|
+  |query74|68|99|
+  |query75|58|67|
+  |query76|21|21|
+  |query77|35|37|
+  |query78|151|169|
+  |query79|16|16|
+  |query8|15|20|
+  |query80|146|163|
+  |query81|18|26|
+  |query82|28|31|
+  |query83|21|24|
+  |query84|16|19|
+  |query85|45|49|
+  |query86|14|17|
+  |query87|29|37|
+  |query88|29|29|
+  |query89|11|13|
+  |query9|37|37|
+  |query90|11|11|
+  |query91|17|21|
+  |query92|12|12|
+  |query93|86|86|
+  |query94|40|42|
+  |query95|94|94|
+  |query96|10|10|
+  |query97|29|34|
+  |query98|17|21|
+  |query99|13|12|
+  |total|5821|6494|
+  Uniffle is a little 9% slower than vanilla Spark. Because the amount of shuffle is tiny.
+  
+  ## Tera Sort
+  We generate 1TB data, we use the code of the [repo](https://github.com/ehiggs/spark-terasort)
+  #### Uniffle performance
+  Overall Time:
+  ![Overall Time](asset/rss_benchmark3.png)
+  Write Time:
+  ![Write Time](asset/rss_benchmark2.png)
+  Read Time:
+  ![Read Time](asset/rss_benchmark1.png)
+  #### vanilla Spark performance
+  Overall Time:
+  ![Overall Time](asset/vanilla_benchmark1.png)
+  Write Time:
+  ![Write Time](asset/vanilla_benchmark2.png)
+  Read Time:
+  ![Read Time](asset/vanilla_benchmark3.png)

Review Comment:
   I don‘t have raw data now. Maybe we can update the data after finishing Netty.



-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: issues-unsubscribe@uniffle.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


---------------------------------------------------------------------
To unsubscribe, e-mail: issues-unsubscribe@uniffle.apache.org
For additional commands, e-mail: issues-help@uniffle.apache.org


[GitHub] [incubator-uniffle] jerqi commented on pull request #904: [MINOR] docs: Add benchmark results

Posted by "jerqi (via GitHub)" <gi...@apache.org>.
jerqi commented on PR #904:
URL: https://github.com/apache/incubator-uniffle/pull/904#issuecomment-1562806835

   > Thanks @jerqi for the benchmark result. Maybe we should add some charts along with the table to show the result intuitively.
    I tried. But there are too many queries. Charts won't give more effective information.


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: issues-unsubscribe@uniffle.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


---------------------------------------------------------------------
To unsubscribe, e-mail: issues-unsubscribe@uniffle.apache.org
For additional commands, e-mail: issues-help@uniffle.apache.org


[GitHub] [incubator-uniffle] codecov-commenter commented on pull request #904: [MINOR] Add benchmark test data

Posted by "codecov-commenter (via GitHub)" <gi...@apache.org>.
codecov-commenter commented on PR #904:
URL: https://github.com/apache/incubator-uniffle/pull/904#issuecomment-1562372613

   ## [Codecov](https://app.codecov.io/gh/apache/incubator-uniffle/pull/904?src=pr&el=h1&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=apache) Report
   > Merging [#904](https://app.codecov.io/gh/apache/incubator-uniffle/pull/904?src=pr&el=desc&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=apache) (2c6c90b) into [master](https://app.codecov.io/gh/apache/incubator-uniffle/commit/3e58805e4e371bec3733870f12000257543bdc17?el=desc&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=apache) (3e58805) will **increase** coverage by `1.06%`.
   > The diff coverage is `n/a`.
   
   ```diff
   @@             Coverage Diff              @@
   ##             master     #904      +/-   ##
   ============================================
   + Coverage     55.24%   56.31%   +1.06%     
   + Complexity     2201     2069     -132     
   ============================================
     Files           333      296      -37     
     Lines         16449    13127    -3322     
     Branches       1307     1229      -78     
   ============================================
   - Hits           9087     7392    -1695     
   + Misses         6851     5329    -1522     
   + Partials        511      406     -105     
   ```
   
   
   [see 39 files with indirect coverage changes](https://app.codecov.io/gh/apache/incubator-uniffle/pull/904/indirect-changes?src=pr&el=tree-more&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=apache)
   
   :mega: We’re building smart automated test selection to slash your CI/CD build times. [Learn more](https://about.codecov.io/iterative-testing/?utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=apache)
   


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: issues-unsubscribe@uniffle.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


---------------------------------------------------------------------
To unsubscribe, e-mail: issues-unsubscribe@uniffle.apache.org
For additional commands, e-mail: issues-help@uniffle.apache.org


[GitHub] [incubator-uniffle] jerqi commented on a diff in pull request #904: [MINOR] docs: Add benchmark results

Posted by "jerqi (via GitHub)" <gi...@apache.org>.
jerqi commented on code in PR #904:
URL: https://github.com/apache/incubator-uniffle/pull/904#discussion_r1205495289


##########
docs/benchmark.md:
##########
@@ -0,0 +1,172 @@
+<!--
+  ~ Licensed to the Apache Software Foundation (ASF) under one or more
+  ~ contributor license agreements.  See the NOTICE file distributed with
+  ~ this work for additional information regarding copyright ownership.
+  ~ The ASF licenses this file to You under the Apache License, Version 2.0
+  ~ (the "License"); you may not use this file except in compliance with
+  ~ the License.  You may obtain a copy of the License at
+  ~
+  ~    http://www.apache.org/licenses/LICENSE-2.0
+  ~
+  ~ Unless required by applicable law or agreed to in writing, software
+  ~ distributed under the License is distributed on an "AS IS" BASIS,
+  ~ WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+  ~ See the License for the specific language governing permissions and
+  ~ limitations under the License.
+  -->
+  ## Environment
+  Software: Uniffle 0.2.0  Hadoop 2.8.5 Spark 2.4.6
+  Hardware: Machine 176 cores, 265G memory, 4T * 12 HDD, network bandwidth 10GB/s
+  Hadoop Yarn Cluster: 1 * ResourceManager + 6 * NodeManager, every machine 4T * 10 HDD
+  Uniffle Cluster: 1 * Coordinator + 6 * Shuffle Server, every machine 4T * 10 HDD
+  
+  ## Configuration
+  Spark's configuration
+  ````
+  spark.executor.instances 100
+  spark.executor.cores 4
+  spark.executor.memory 9g
+  spark.executor.memoryOverhead 1024
+  spark.shuffle.manager org.apache.spark.shuffle.RssShuffleManager
+  spark.rss.storage.type MEMORY_LOCALFILE
+  ````
+  Shuffle Server's configuration
+  ````
+  rss.storage.type MEMORY_LOCALFILE
+  rss.server.buffer.capacity 50g
+  ````
+  
+  ## TPC-DS
+  We used [spark-sql-perf](https://github.com/databricks/spark-sql-perf) to generate 1TB data.
+  
+  |query name|vanilla|uniffle|
+  |---|---|---|
+  |query1|16|18|
+  |query10|30|35|
+  |query11|86|96|
+  |query12|14|17|
+  |query13|102|77|
+  |query14a|239|254|
+  |query14b|226|232|
+  |query15|44|48|
+  |query16|50|59|
+  |query17|83|97|
+  |query18|31|35|
+  |query19|15|17|
+  |query2|21|25|
+  |query20|15|16|
+  |query21|8|8|
+  |query22|21|22|
+  |query23a|288|366|
+  |query23b|366|422|
+  |query24a|181|198|
+  |query24b|167|187|
+  |query25|93|113|
+  |query26|15|15|
+  |query27|16|17|
+  |query28|38|41|
+  |query29|80|102|
+  |query3|9|11|
+  |query30|21|26|
+  |query31|30|40|
+  |query32|14|15|
+  |query33|26|30|
+  |query34|12|16|
+  |query35|34|39|
+  |query36|15|18|
+  |query37|16|20|
+  |query38|27|36|
+  |query39|15|19|
+  |query39a|16|20|
+  |query39b|14|19|
+  |query4|205|227|
+  |query40|38|38|
+  |query41|5|6|
+  |query42|9|10|
+  |query43|13|13|
+  |query44|20|22|
+  |query45|30|36|
+  |query46|16|18|
+  |query47|22|25|
+  |query48|25|24|
+  |query49|58|66|
+  |query5|56|59|
+  |query50|56|61|
+  |query51|23|28|
+  |query52|9|10|
+  |query53|12|13|
+  |query54|52|62|
+  |query55|9|10|
+  |query56|25|27|
+  |query57|20|22|
+  |query58|23|26|
+  |query59|22|22|
+  |query6|33|41|
+  |query60|25|28|
+  |query61|25|28|
+  |query62|10|11|
+  |query63|12|12|
+  |query64|176|185|
+  |query65|32|37|
+  |query66|23|24|
+  |query67|697|775|
+  |query68|17|19|
+  |query69|31|34|
+  |query7|17|17|
+  |query70|24|27|
+  |query71|23|24|
+  |query72|335|350|
+  |query73|12|14|
+  |query74|68|99|
+  |query75|58|67|
+  |query76|21|21|
+  |query77|35|37|
+  |query78|151|169|
+  |query79|16|16|
+  |query8|15|20|
+  |query80|146|163|
+  |query81|18|26|
+  |query82|28|31|
+  |query83|21|24|
+  |query84|16|19|
+  |query85|45|49|
+  |query86|14|17|
+  |query87|29|37|
+  |query88|29|29|
+  |query89|11|13|
+  |query9|37|37|
+  |query90|11|11|
+  |query91|17|21|
+  |query92|12|12|
+  |query93|86|86|
+  |query94|40|42|
+  |query95|94|94|
+  |query96|10|10|
+  |query97|29|34|
+  |query98|17|21|
+  |query99|13|12|
+  |total|5821|6494|
+  
+  Uniffle is a little 9% slower than vanilla Spark. Because the amount of shuffle is tiny.

Review Comment:
   TPC-DS situation can reflect the performance of tiny shuffle. We don't have too poor performance. It's acceptable.



-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: issues-unsubscribe@uniffle.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


---------------------------------------------------------------------
To unsubscribe, e-mail: issues-unsubscribe@uniffle.apache.org
For additional commands, e-mail: issues-help@uniffle.apache.org


[GitHub] [incubator-uniffle] jerqi commented on pull request #904: [MINOR] docs: Add benchmark results

Posted by "jerqi (via GitHub)" <gi...@apache.org>.
jerqi commented on PR #904:
URL: https://github.com/apache/incubator-uniffle/pull/904#issuecomment-1564377390

   > 1TB is quite a small dataset, has anyone benchmarked more than this and if so what did the results/config look like?
   
   What dataset do you hope to add?


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: issues-unsubscribe@uniffle.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


---------------------------------------------------------------------
To unsubscribe, e-mail: issues-unsubscribe@uniffle.apache.org
For additional commands, e-mail: issues-help@uniffle.apache.org


[GitHub] [incubator-uniffle] jerqi merged pull request #904: [MINOR] docs: Add benchmark results

Posted by "jerqi (via GitHub)" <gi...@apache.org>.
jerqi merged PR #904:
URL: https://github.com/apache/incubator-uniffle/pull/904


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: issues-unsubscribe@uniffle.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


---------------------------------------------------------------------
To unsubscribe, e-mail: issues-unsubscribe@uniffle.apache.org
For additional commands, e-mail: issues-help@uniffle.apache.org


[GitHub] [incubator-uniffle] jerqi commented on pull request #904: [MINOR] docs: Add benchmark results

Posted by "jerqi (via GitHub)" <gi...@apache.org>.
jerqi commented on PR #904:
URL: https://github.com/apache/incubator-uniffle/pull/904#issuecomment-1564155742

   @zuston @kaijchen @jiafuzha I think we should approve this pr first and merge it. It will be better than nothing. When `Netty` feature is finished, we can update benchmark results.


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: issues-unsubscribe@uniffle.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


---------------------------------------------------------------------
To unsubscribe, e-mail: issues-unsubscribe@uniffle.apache.org
For additional commands, e-mail: issues-help@uniffle.apache.org


[GitHub] [incubator-uniffle] jerqi commented on a diff in pull request #904: [MINOR] docs: Add benchmark results

Posted by "jerqi (via GitHub)" <gi...@apache.org>.
jerqi commented on code in PR #904:
URL: https://github.com/apache/incubator-uniffle/pull/904#discussion_r1205495289


##########
docs/benchmark.md:
##########
@@ -0,0 +1,172 @@
+<!--
+  ~ Licensed to the Apache Software Foundation (ASF) under one or more
+  ~ contributor license agreements.  See the NOTICE file distributed with
+  ~ this work for additional information regarding copyright ownership.
+  ~ The ASF licenses this file to You under the Apache License, Version 2.0
+  ~ (the "License"); you may not use this file except in compliance with
+  ~ the License.  You may obtain a copy of the License at
+  ~
+  ~    http://www.apache.org/licenses/LICENSE-2.0
+  ~
+  ~ Unless required by applicable law or agreed to in writing, software
+  ~ distributed under the License is distributed on an "AS IS" BASIS,
+  ~ WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+  ~ See the License for the specific language governing permissions and
+  ~ limitations under the License.
+  -->
+  ## Environment
+  Software: Uniffle 0.2.0  Hadoop 2.8.5 Spark 2.4.6
+  Hardware: Machine 176 cores, 265G memory, 4T * 12 HDD, network bandwidth 10GB/s
+  Hadoop Yarn Cluster: 1 * ResourceManager + 6 * NodeManager, every machine 4T * 10 HDD
+  Uniffle Cluster: 1 * Coordinator + 6 * Shuffle Server, every machine 4T * 10 HDD
+  
+  ## Configuration
+  Spark's configuration
+  ````
+  spark.executor.instances 100
+  spark.executor.cores 4
+  spark.executor.memory 9g
+  spark.executor.memoryOverhead 1024
+  spark.shuffle.manager org.apache.spark.shuffle.RssShuffleManager
+  spark.rss.storage.type MEMORY_LOCALFILE
+  ````
+  Shuffle Server's configuration
+  ````
+  rss.storage.type MEMORY_LOCALFILE
+  rss.server.buffer.capacity 50g
+  ````
+  
+  ## TPC-DS
+  We used [spark-sql-perf](https://github.com/databricks/spark-sql-perf) to generate 1TB data.
+  
+  |query name|vanilla|uniffle|
+  |---|---|---|
+  |query1|16|18|
+  |query10|30|35|
+  |query11|86|96|
+  |query12|14|17|
+  |query13|102|77|
+  |query14a|239|254|
+  |query14b|226|232|
+  |query15|44|48|
+  |query16|50|59|
+  |query17|83|97|
+  |query18|31|35|
+  |query19|15|17|
+  |query2|21|25|
+  |query20|15|16|
+  |query21|8|8|
+  |query22|21|22|
+  |query23a|288|366|
+  |query23b|366|422|
+  |query24a|181|198|
+  |query24b|167|187|
+  |query25|93|113|
+  |query26|15|15|
+  |query27|16|17|
+  |query28|38|41|
+  |query29|80|102|
+  |query3|9|11|
+  |query30|21|26|
+  |query31|30|40|
+  |query32|14|15|
+  |query33|26|30|
+  |query34|12|16|
+  |query35|34|39|
+  |query36|15|18|
+  |query37|16|20|
+  |query38|27|36|
+  |query39|15|19|
+  |query39a|16|20|
+  |query39b|14|19|
+  |query4|205|227|
+  |query40|38|38|
+  |query41|5|6|
+  |query42|9|10|
+  |query43|13|13|
+  |query44|20|22|
+  |query45|30|36|
+  |query46|16|18|
+  |query47|22|25|
+  |query48|25|24|
+  |query49|58|66|
+  |query5|56|59|
+  |query50|56|61|
+  |query51|23|28|
+  |query52|9|10|
+  |query53|12|13|
+  |query54|52|62|
+  |query55|9|10|
+  |query56|25|27|
+  |query57|20|22|
+  |query58|23|26|
+  |query59|22|22|
+  |query6|33|41|
+  |query60|25|28|
+  |query61|25|28|
+  |query62|10|11|
+  |query63|12|12|
+  |query64|176|185|
+  |query65|32|37|
+  |query66|23|24|
+  |query67|697|775|
+  |query68|17|19|
+  |query69|31|34|
+  |query7|17|17|
+  |query70|24|27|
+  |query71|23|24|
+  |query72|335|350|
+  |query73|12|14|
+  |query74|68|99|
+  |query75|58|67|
+  |query76|21|21|
+  |query77|35|37|
+  |query78|151|169|
+  |query79|16|16|
+  |query8|15|20|
+  |query80|146|163|
+  |query81|18|26|
+  |query82|28|31|
+  |query83|21|24|
+  |query84|16|19|
+  |query85|45|49|
+  |query86|14|17|
+  |query87|29|37|
+  |query88|29|29|
+  |query89|11|13|
+  |query9|37|37|
+  |query90|11|11|
+  |query91|17|21|
+  |query92|12|12|
+  |query93|86|86|
+  |query94|40|42|
+  |query95|94|94|
+  |query96|10|10|
+  |query97|29|34|
+  |query98|17|21|
+  |query99|13|12|
+  |total|5821|6494|
+  
+  Uniffle is a little 9% slower than vanilla Spark. Because the amount of shuffle is tiny.

Review Comment:
   TPC-DS situation can reflect the performance of tiny shuffle. We don't have too poor performance. It's accepted.



-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: issues-unsubscribe@uniffle.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


---------------------------------------------------------------------
To unsubscribe, e-mail: issues-unsubscribe@uniffle.apache.org
For additional commands, e-mail: issues-help@uniffle.apache.org


[GitHub] [incubator-uniffle] kaijchen commented on a diff in pull request #904: [MINOR] docs: Add benchmark results

Posted by "kaijchen (via GitHub)" <gi...@apache.org>.
kaijchen commented on code in PR #904:
URL: https://github.com/apache/incubator-uniffle/pull/904#discussion_r1205476094


##########
docs/benchmark.md:
##########
@@ -0,0 +1,171 @@
+<!--
+  ~ Licensed to the Apache Software Foundation (ASF) under one or more
+  ~ contributor license agreements.  See the NOTICE file distributed with
+  ~ this work for additional information regarding copyright ownership.
+  ~ The ASF licenses this file to You under the Apache License, Version 2.0
+  ~ (the "License"); you may not use this file except in compliance with
+  ~ the License.  You may obtain a copy of the License at
+  ~
+  ~    http://www.apache.org/licenses/LICENSE-2.0
+  ~
+  ~ Unless required by applicable law or agreed to in writing, software
+  ~ distributed under the License is distributed on an "AS IS" BASIS,
+  ~ WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+  ~ See the License for the specific language governing permissions and
+  ~ limitations under the License.
+  -->
+  ## Environment
+  Software: Uniffle 0.2.0  Hadoop 2.8.5 Spark 2.4.6
+  Hardware: Machine 176 cores, 265G memory, 4T * 12 HDD, network bandwidth 10GB/s
+  Hadoop Yarn Cluster: 1 * ResourceManager + 6 * NodeManager, every machine 4T * 10 HDD
+  Uniffle Cluster: 1 * Coordinator + 6 * Shuffle Server, every machine 4T * 10 HDD

Review Comment:
   > What format do you prefer?
   
   You are missing line breaks here, see preview.



-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: issues-unsubscribe@uniffle.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


---------------------------------------------------------------------
To unsubscribe, e-mail: issues-unsubscribe@uniffle.apache.org
For additional commands, e-mail: issues-help@uniffle.apache.org


[GitHub] [incubator-uniffle] kaijchen commented on a diff in pull request #904: [MINOR] docs: Add benchmark results

Posted by "kaijchen (via GitHub)" <gi...@apache.org>.
kaijchen commented on code in PR #904:
URL: https://github.com/apache/incubator-uniffle/pull/904#discussion_r1205387918


##########
docs/benchmark.md:
##########
@@ -0,0 +1,171 @@
+<!--
+  ~ Licensed to the Apache Software Foundation (ASF) under one or more
+  ~ contributor license agreements.  See the NOTICE file distributed with
+  ~ this work for additional information regarding copyright ownership.
+  ~ The ASF licenses this file to You under the Apache License, Version 2.0
+  ~ (the "License"); you may not use this file except in compliance with
+  ~ the License.  You may obtain a copy of the License at
+  ~
+  ~    http://www.apache.org/licenses/LICENSE-2.0
+  ~
+  ~ Unless required by applicable law or agreed to in writing, software
+  ~ distributed under the License is distributed on an "AS IS" BASIS,
+  ~ WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+  ~ See the License for the specific language governing permissions and
+  ~ limitations under the License.
+  -->
+  ## Environment
+  Software: Uniffle 0.2.0  Hadoop 2.8.5 Spark 2.4.6
+  Hardware: Machine 176 cores, 265G memory, 4T * 12 HDD, network bandwidth 10GB/s
+  Hadoop Yarn Cluster: 1 * ResourceManager + 6 * NodeManager, every machine 4T * 10 HDD
+  Uniffle Cluster: 1 * Coordinator + 6 * Shuffle Server, every machine 4T * 10 HDD
+  
+  ## Configuration
+  Spark's configuration
+  ````
+  spark.executor.instances 100
+  spark.executor.cores 4
+  spark.executor.memory 9g
+  spark.executor.memoryOverhead 1024
+  spark.shuffle.manager org.apache.spark.shuffle.RssShuffleManager
+  spark.rss.storage.type MEMORY_LOCALFILE
+  ````
+  Shuffle Server's configuration
+  ````
+  rss.storage.type MEMORY_LOCALFILE
+  rss.server.buffer.capacity 50g
+  ````
+  
+  ## TPC-DS
+  We generate 1TB data, we use the code of the [repo](https://github.com/databricks/spark-sql-perf)
+  
+  |query name|vanilla|uniffle|
+  |---|---|---|
+  |query1|16|18|
+  |query10|30|35|
+  |query11|86|96|
+  |query12|14|17|
+  |query13|102|77|
+  |query14a|239|254|
+  |query14b|226|232|
+  |query15|44|48|
+  |query16|50|59|
+  |query17|83|97|
+  |query18|31|35|
+  |query19|15|17|
+  |query2|21|25|
+  |query20|15|16|
+  |query21|8|8|
+  |query22|21|22|
+  |query23a|288|366|
+  |query23b|366|422|
+  |query24a|181|198|
+  |query24b|167|187|
+  |query25|93|113|
+  |query26|15|15|
+  |query27|16|17|
+  |query28|38|41|
+  |query29|80|102|
+  |query3|9|11|
+  |query30|21|26|
+  |query31|30|40|
+  |query32|14|15|
+  |query33|26|30|
+  |query34|12|16|
+  |query35|34|39|
+  |query36|15|18|
+  |query37|16|20|
+  |query38|27|36|
+  |query39|15|19|
+  |query39a|16|20|
+  |query39b|14|19|
+  |query4|205|227|
+  |query40|38|38|
+  |query41|5|6|
+  |query42|9|10|
+  |query43|13|13|
+  |query44|20|22|
+  |query45|30|36|
+  |query46|16|18|
+  |query47|22|25|
+  |query48|25|24|
+  |query49|58|66|
+  |query5|56|59|
+  |query50|56|61|
+  |query51|23|28|
+  |query52|9|10|
+  |query53|12|13|
+  |query54|52|62|
+  |query55|9|10|
+  |query56|25|27|
+  |query57|20|22|
+  |query58|23|26|
+  |query59|22|22|
+  |query6|33|41|
+  |query60|25|28|
+  |query61|25|28|
+  |query62|10|11|
+  |query63|12|12|
+  |query64|176|185|
+  |query65|32|37|
+  |query66|23|24|
+  |query67|697|775|
+  |query68|17|19|
+  |query69|31|34|
+  |query7|17|17|
+  |query70|24|27|
+  |query71|23|24|
+  |query72|335|350|
+  |query73|12|14|
+  |query74|68|99|
+  |query75|58|67|
+  |query76|21|21|
+  |query77|35|37|
+  |query78|151|169|
+  |query79|16|16|
+  |query8|15|20|
+  |query80|146|163|
+  |query81|18|26|
+  |query82|28|31|
+  |query83|21|24|
+  |query84|16|19|
+  |query85|45|49|
+  |query86|14|17|
+  |query87|29|37|
+  |query88|29|29|
+  |query89|11|13|
+  |query9|37|37|
+  |query90|11|11|
+  |query91|17|21|
+  |query92|12|12|
+  |query93|86|86|
+  |query94|40|42|
+  |query95|94|94|
+  |query96|10|10|
+  |query97|29|34|
+  |query98|17|21|
+  |query99|13|12|
+  |total|5821|6494|

Review Comment:
   Add an newline after the table



##########
docs/benchmark.md:
##########
@@ -0,0 +1,171 @@
+<!--
+  ~ Licensed to the Apache Software Foundation (ASF) under one or more
+  ~ contributor license agreements.  See the NOTICE file distributed with
+  ~ this work for additional information regarding copyright ownership.
+  ~ The ASF licenses this file to You under the Apache License, Version 2.0
+  ~ (the "License"); you may not use this file except in compliance with
+  ~ the License.  You may obtain a copy of the License at
+  ~
+  ~    http://www.apache.org/licenses/LICENSE-2.0
+  ~
+  ~ Unless required by applicable law or agreed to in writing, software
+  ~ distributed under the License is distributed on an "AS IS" BASIS,
+  ~ WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+  ~ See the License for the specific language governing permissions and
+  ~ limitations under the License.
+  -->
+  ## Environment
+  Software: Uniffle 0.2.0  Hadoop 2.8.5 Spark 2.4.6
+  Hardware: Machine 176 cores, 265G memory, 4T * 12 HDD, network bandwidth 10GB/s
+  Hadoop Yarn Cluster: 1 * ResourceManager + 6 * NodeManager, every machine 4T * 10 HDD
+  Uniffle Cluster: 1 * Coordinator + 6 * Shuffle Server, every machine 4T * 10 HDD

Review Comment:
   please fix the format here.



##########
docs/benchmark.md:
##########
@@ -0,0 +1,171 @@
+<!--
+  ~ Licensed to the Apache Software Foundation (ASF) under one or more
+  ~ contributor license agreements.  See the NOTICE file distributed with
+  ~ this work for additional information regarding copyright ownership.
+  ~ The ASF licenses this file to You under the Apache License, Version 2.0
+  ~ (the "License"); you may not use this file except in compliance with
+  ~ the License.  You may obtain a copy of the License at
+  ~
+  ~    http://www.apache.org/licenses/LICENSE-2.0
+  ~
+  ~ Unless required by applicable law or agreed to in writing, software
+  ~ distributed under the License is distributed on an "AS IS" BASIS,
+  ~ WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+  ~ See the License for the specific language governing permissions and
+  ~ limitations under the License.
+  -->
+  ## Environment
+  Software: Uniffle 0.2.0  Hadoop 2.8.5 Spark 2.4.6
+  Hardware: Machine 176 cores, 265G memory, 4T * 12 HDD, network bandwidth 10GB/s
+  Hadoop Yarn Cluster: 1 * ResourceManager + 6 * NodeManager, every machine 4T * 10 HDD
+  Uniffle Cluster: 1 * Coordinator + 6 * Shuffle Server, every machine 4T * 10 HDD
+  
+  ## Configuration
+  Spark's configuration
+  ````
+  spark.executor.instances 100
+  spark.executor.cores 4
+  spark.executor.memory 9g
+  spark.executor.memoryOverhead 1024
+  spark.shuffle.manager org.apache.spark.shuffle.RssShuffleManager
+  spark.rss.storage.type MEMORY_LOCALFILE
+  ````
+  Shuffle Server's configuration
+  ````
+  rss.storage.type MEMORY_LOCALFILE
+  rss.server.buffer.capacity 50g
+  ````
+  
+  ## TPC-DS
+  We generate 1TB data, we use the code of the [repo](https://github.com/databricks/spark-sql-perf)
+  
+  |query name|vanilla|uniffle|
+  |---|---|---|
+  |query1|16|18|
+  |query10|30|35|
+  |query11|86|96|
+  |query12|14|17|
+  |query13|102|77|
+  |query14a|239|254|
+  |query14b|226|232|
+  |query15|44|48|
+  |query16|50|59|
+  |query17|83|97|
+  |query18|31|35|
+  |query19|15|17|
+  |query2|21|25|
+  |query20|15|16|
+  |query21|8|8|
+  |query22|21|22|
+  |query23a|288|366|
+  |query23b|366|422|
+  |query24a|181|198|
+  |query24b|167|187|
+  |query25|93|113|
+  |query26|15|15|
+  |query27|16|17|
+  |query28|38|41|
+  |query29|80|102|
+  |query3|9|11|
+  |query30|21|26|
+  |query31|30|40|
+  |query32|14|15|
+  |query33|26|30|
+  |query34|12|16|
+  |query35|34|39|
+  |query36|15|18|
+  |query37|16|20|
+  |query38|27|36|
+  |query39|15|19|
+  |query39a|16|20|
+  |query39b|14|19|
+  |query4|205|227|
+  |query40|38|38|
+  |query41|5|6|
+  |query42|9|10|
+  |query43|13|13|
+  |query44|20|22|
+  |query45|30|36|
+  |query46|16|18|
+  |query47|22|25|
+  |query48|25|24|
+  |query49|58|66|
+  |query5|56|59|
+  |query50|56|61|
+  |query51|23|28|
+  |query52|9|10|
+  |query53|12|13|
+  |query54|52|62|
+  |query55|9|10|
+  |query56|25|27|
+  |query57|20|22|
+  |query58|23|26|
+  |query59|22|22|
+  |query6|33|41|
+  |query60|25|28|
+  |query61|25|28|
+  |query62|10|11|
+  |query63|12|12|
+  |query64|176|185|
+  |query65|32|37|
+  |query66|23|24|
+  |query67|697|775|
+  |query68|17|19|
+  |query69|31|34|
+  |query7|17|17|
+  |query70|24|27|
+  |query71|23|24|
+  |query72|335|350|
+  |query73|12|14|
+  |query74|68|99|
+  |query75|58|67|
+  |query76|21|21|
+  |query77|35|37|
+  |query78|151|169|
+  |query79|16|16|
+  |query8|15|20|
+  |query80|146|163|
+  |query81|18|26|
+  |query82|28|31|
+  |query83|21|24|
+  |query84|16|19|
+  |query85|45|49|
+  |query86|14|17|
+  |query87|29|37|
+  |query88|29|29|
+  |query89|11|13|
+  |query9|37|37|
+  |query90|11|11|
+  |query91|17|21|
+  |query92|12|12|
+  |query93|86|86|
+  |query94|40|42|
+  |query95|94|94|
+  |query96|10|10|
+  |query97|29|34|
+  |query98|17|21|
+  |query99|13|12|
+  |total|5821|6494|
+  Uniffle is a little 9% slower than vanilla Spark. Because the amount of shuffle is tiny.
+  
+  ## Tera Sort
+  We generate 1TB data, we use the code of the [repo](https://github.com/ehiggs/spark-terasort)
+  #### Uniffle performance
+  Overall Time:
+  ![Overall Time](asset/rss_benchmark3.png)
+  Write Time:
+  ![Write Time](asset/rss_benchmark2.png)
+  Read Time:
+  ![Read Time](asset/rss_benchmark1.png)
+  #### vanilla Spark performance
+  Overall Time:
+  ![Overall Time](asset/vanilla_benchmark1.png)
+  Write Time:
+  ![Write Time](asset/vanilla_benchmark2.png)
+  Read Time:
+  ![Read Time](asset/vanilla_benchmark3.png)

Review Comment:
   These screenshots looks blurry, is it possible to put raw data?



##########
docs/benchmark.md:
##########
@@ -0,0 +1,171 @@
+<!--
+  ~ Licensed to the Apache Software Foundation (ASF) under one or more
+  ~ contributor license agreements.  See the NOTICE file distributed with
+  ~ this work for additional information regarding copyright ownership.
+  ~ The ASF licenses this file to You under the Apache License, Version 2.0
+  ~ (the "License"); you may not use this file except in compliance with
+  ~ the License.  You may obtain a copy of the License at
+  ~
+  ~    http://www.apache.org/licenses/LICENSE-2.0
+  ~
+  ~ Unless required by applicable law or agreed to in writing, software
+  ~ distributed under the License is distributed on an "AS IS" BASIS,
+  ~ WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+  ~ See the License for the specific language governing permissions and
+  ~ limitations under the License.
+  -->
+  ## Environment
+  Software: Uniffle 0.2.0  Hadoop 2.8.5 Spark 2.4.6
+  Hardware: Machine 176 cores, 265G memory, 4T * 12 HDD, network bandwidth 10GB/s
+  Hadoop Yarn Cluster: 1 * ResourceManager + 6 * NodeManager, every machine 4T * 10 HDD
+  Uniffle Cluster: 1 * Coordinator + 6 * Shuffle Server, every machine 4T * 10 HDD
+  
+  ## Configuration
+  Spark's configuration
+  ````
+  spark.executor.instances 100
+  spark.executor.cores 4
+  spark.executor.memory 9g
+  spark.executor.memoryOverhead 1024
+  spark.shuffle.manager org.apache.spark.shuffle.RssShuffleManager
+  spark.rss.storage.type MEMORY_LOCALFILE
+  ````
+  Shuffle Server's configuration
+  ````
+  rss.storage.type MEMORY_LOCALFILE
+  rss.server.buffer.capacity 50g
+  ````
+  
+  ## TPC-DS
+  We generate 1TB data, we use the code of the [repo](https://github.com/databricks/spark-sql-perf)

Review Comment:
   ```suggestion
     We used [spark-sql-perf](https://github.com/databricks/spark-sql-perf) to generate 1TB data.
   ```



-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: issues-unsubscribe@uniffle.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


---------------------------------------------------------------------
To unsubscribe, e-mail: issues-unsubscribe@uniffle.apache.org
For additional commands, e-mail: issues-help@uniffle.apache.org


[GitHub] [incubator-uniffle] jerqi commented on pull request #904: [MINOR] docs: Add benchmark results

Posted by "jerqi (via GitHub)" <gi...@apache.org>.
jerqi commented on PR #904:
URL: https://github.com/apache/incubator-uniffle/pull/904#issuecomment-1562967997

   > It would be good to include the uniffle coordinator and shuffle-server configuration used when performing these benchmark e.g. heap, buffer sizes etc
   
   This is our previous benchmark results. I can't find the complete configuration. But we can do new benchmark after finishing Netty feature.


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: issues-unsubscribe@uniffle.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


---------------------------------------------------------------------
To unsubscribe, e-mail: issues-unsubscribe@uniffle.apache.org
For additional commands, e-mail: issues-help@uniffle.apache.org


[GitHub] [incubator-uniffle] jerqi commented on a diff in pull request #904: [MINOR] docs: Add benchmark results

Posted by "jerqi (via GitHub)" <gi...@apache.org>.
jerqi commented on code in PR #904:
URL: https://github.com/apache/incubator-uniffle/pull/904#discussion_r1205626299


##########
docs/benchmark.md:
##########
@@ -0,0 +1,171 @@
+<!--
+  ~ Licensed to the Apache Software Foundation (ASF) under one or more
+  ~ contributor license agreements.  See the NOTICE file distributed with
+  ~ this work for additional information regarding copyright ownership.
+  ~ The ASF licenses this file to You under the Apache License, Version 2.0
+  ~ (the "License"); you may not use this file except in compliance with
+  ~ the License.  You may obtain a copy of the License at
+  ~
+  ~    http://www.apache.org/licenses/LICENSE-2.0
+  ~
+  ~ Unless required by applicable law or agreed to in writing, software
+  ~ distributed under the License is distributed on an "AS IS" BASIS,
+  ~ WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+  ~ See the License for the specific language governing permissions and
+  ~ limitations under the License.
+  -->
+  ## Environment
+  Software: Uniffle 0.2.0  Hadoop 2.8.5 Spark 2.4.6
+  Hardware: Machine 176 cores, 265G memory, 4T * 12 HDD, network bandwidth 10GB/s
+  Hadoop Yarn Cluster: 1 * ResourceManager + 6 * NodeManager, every machine 4T * 10 HDD
+  Uniffle Cluster: 1 * Coordinator + 6 * Shuffle Server, every machine 4T * 10 HDD

Review Comment:
   done.



-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: issues-unsubscribe@uniffle.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


---------------------------------------------------------------------
To unsubscribe, e-mail: issues-unsubscribe@uniffle.apache.org
For additional commands, e-mail: issues-help@uniffle.apache.org


[GitHub] [incubator-uniffle] zuston commented on pull request #904: [MINOR] Add benchmark test data

Posted by "zuston (via GitHub)" <gi...@apache.org>.
zuston commented on PR #904:
URL: https://github.com/apache/incubator-uniffle/pull/904#issuecomment-1562649742

   Great improvement. 
   
   How about adding `Netty` ?


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: issues-unsubscribe@uniffle.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


---------------------------------------------------------------------
To unsubscribe, e-mail: issues-unsubscribe@uniffle.apache.org
For additional commands, e-mail: issues-help@uniffle.apache.org


[GitHub] [incubator-uniffle] jiafuzha commented on a diff in pull request #904: [MINOR] docs: Add benchmark results

Posted by "jiafuzha (via GitHub)" <gi...@apache.org>.
jiafuzha commented on code in PR #904:
URL: https://github.com/apache/incubator-uniffle/pull/904#discussion_r1205482265


##########
docs/benchmark.md:
##########
@@ -0,0 +1,172 @@
+<!--
+  ~ Licensed to the Apache Software Foundation (ASF) under one or more
+  ~ contributor license agreements.  See the NOTICE file distributed with
+  ~ this work for additional information regarding copyright ownership.
+  ~ The ASF licenses this file to You under the Apache License, Version 2.0
+  ~ (the "License"); you may not use this file except in compliance with
+  ~ the License.  You may obtain a copy of the License at
+  ~
+  ~    http://www.apache.org/licenses/LICENSE-2.0
+  ~
+  ~ Unless required by applicable law or agreed to in writing, software
+  ~ distributed under the License is distributed on an "AS IS" BASIS,
+  ~ WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+  ~ See the License for the specific language governing permissions and
+  ~ limitations under the License.
+  -->
+  ## Environment
+  Software: Uniffle 0.2.0  Hadoop 2.8.5 Spark 2.4.6
+  Hardware: Machine 176 cores, 265G memory, 4T * 12 HDD, network bandwidth 10GB/s
+  Hadoop Yarn Cluster: 1 * ResourceManager + 6 * NodeManager, every machine 4T * 10 HDD
+  Uniffle Cluster: 1 * Coordinator + 6 * Shuffle Server, every machine 4T * 10 HDD
+  
+  ## Configuration
+  Spark's configuration
+  ````
+  spark.executor.instances 100
+  spark.executor.cores 4
+  spark.executor.memory 9g
+  spark.executor.memoryOverhead 1024
+  spark.shuffle.manager org.apache.spark.shuffle.RssShuffleManager
+  spark.rss.storage.type MEMORY_LOCALFILE
+  ````
+  Shuffle Server's configuration
+  ````
+  rss.storage.type MEMORY_LOCALFILE
+  rss.server.buffer.capacity 50g
+  ````
+  
+  ## TPC-DS
+  We used [spark-sql-perf](https://github.com/databricks/spark-sql-perf) to generate 1TB data.
+  
+  |query name|vanilla|uniffle|
+  |---|---|---|
+  |query1|16|18|
+  |query10|30|35|
+  |query11|86|96|
+  |query12|14|17|
+  |query13|102|77|
+  |query14a|239|254|
+  |query14b|226|232|
+  |query15|44|48|
+  |query16|50|59|
+  |query17|83|97|
+  |query18|31|35|
+  |query19|15|17|
+  |query2|21|25|
+  |query20|15|16|
+  |query21|8|8|
+  |query22|21|22|
+  |query23a|288|366|
+  |query23b|366|422|
+  |query24a|181|198|
+  |query24b|167|187|
+  |query25|93|113|
+  |query26|15|15|
+  |query27|16|17|
+  |query28|38|41|
+  |query29|80|102|
+  |query3|9|11|
+  |query30|21|26|
+  |query31|30|40|
+  |query32|14|15|
+  |query33|26|30|
+  |query34|12|16|
+  |query35|34|39|
+  |query36|15|18|
+  |query37|16|20|
+  |query38|27|36|
+  |query39|15|19|
+  |query39a|16|20|
+  |query39b|14|19|
+  |query4|205|227|
+  |query40|38|38|
+  |query41|5|6|
+  |query42|9|10|
+  |query43|13|13|
+  |query44|20|22|
+  |query45|30|36|
+  |query46|16|18|
+  |query47|22|25|
+  |query48|25|24|
+  |query49|58|66|
+  |query5|56|59|
+  |query50|56|61|
+  |query51|23|28|
+  |query52|9|10|
+  |query53|12|13|
+  |query54|52|62|
+  |query55|9|10|
+  |query56|25|27|
+  |query57|20|22|
+  |query58|23|26|
+  |query59|22|22|
+  |query6|33|41|
+  |query60|25|28|
+  |query61|25|28|
+  |query62|10|11|
+  |query63|12|12|
+  |query64|176|185|
+  |query65|32|37|
+  |query66|23|24|
+  |query67|697|775|
+  |query68|17|19|
+  |query69|31|34|
+  |query7|17|17|
+  |query70|24|27|
+  |query71|23|24|
+  |query72|335|350|
+  |query73|12|14|
+  |query74|68|99|
+  |query75|58|67|
+  |query76|21|21|
+  |query77|35|37|
+  |query78|151|169|
+  |query79|16|16|
+  |query8|15|20|
+  |query80|146|163|
+  |query81|18|26|
+  |query82|28|31|
+  |query83|21|24|
+  |query84|16|19|
+  |query85|45|49|
+  |query86|14|17|
+  |query87|29|37|
+  |query88|29|29|
+  |query89|11|13|
+  |query9|37|37|
+  |query90|11|11|
+  |query91|17|21|
+  |query92|12|12|
+  |query93|86|86|
+  |query94|40|42|
+  |query95|94|94|
+  |query96|10|10|
+  |query97|29|34|
+  |query98|17|21|
+  |query99|13|12|
+  |total|5821|6494|
+  
+  Uniffle is a little 9% slower than vanilla Spark. Because the amount of shuffle is tiny.

Review Comment:
   The perf is lower  than vanilla Spark. Is it better to remove TPC-DS bench for now? We can add it back when we have better perf with large shuffle data.



-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: issues-unsubscribe@uniffle.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


---------------------------------------------------------------------
To unsubscribe, e-mail: issues-unsubscribe@uniffle.apache.org
For additional commands, e-mail: issues-help@uniffle.apache.org


[GitHub] [incubator-uniffle] awdavidson commented on pull request #904: [MINOR] docs: Add benchmark results

Posted by "awdavidson (via GitHub)" <gi...@apache.org>.
awdavidson commented on PR #904:
URL: https://github.com/apache/incubator-uniffle/pull/904#issuecomment-1562951845

   It would be good to see the uniffle coordinator and shuffle-server configuration used when performing these benchmark e.g. heap, buffer sizes etc


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: issues-unsubscribe@uniffle.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


---------------------------------------------------------------------
To unsubscribe, e-mail: issues-unsubscribe@uniffle.apache.org
For additional commands, e-mail: issues-help@uniffle.apache.org


[GitHub] [incubator-uniffle] jerqi commented on a diff in pull request #904: [MINOR] docs: Add benchmark results

Posted by "jerqi (via GitHub)" <gi...@apache.org>.
jerqi commented on code in PR #904:
URL: https://github.com/apache/incubator-uniffle/pull/904#discussion_r1205415985


##########
docs/benchmark.md:
##########
@@ -0,0 +1,171 @@
+<!--
+  ~ Licensed to the Apache Software Foundation (ASF) under one or more
+  ~ contributor license agreements.  See the NOTICE file distributed with
+  ~ this work for additional information regarding copyright ownership.
+  ~ The ASF licenses this file to You under the Apache License, Version 2.0
+  ~ (the "License"); you may not use this file except in compliance with
+  ~ the License.  You may obtain a copy of the License at
+  ~
+  ~    http://www.apache.org/licenses/LICENSE-2.0
+  ~
+  ~ Unless required by applicable law or agreed to in writing, software
+  ~ distributed under the License is distributed on an "AS IS" BASIS,
+  ~ WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+  ~ See the License for the specific language governing permissions and
+  ~ limitations under the License.
+  -->
+  ## Environment
+  Software: Uniffle 0.2.0  Hadoop 2.8.5 Spark 2.4.6
+  Hardware: Machine 176 cores, 265G memory, 4T * 12 HDD, network bandwidth 10GB/s
+  Hadoop Yarn Cluster: 1 * ResourceManager + 6 * NodeManager, every machine 4T * 10 HDD
+  Uniffle Cluster: 1 * Coordinator + 6 * Shuffle Server, every machine 4T * 10 HDD

Review Comment:
   What format do you prefer?



##########
docs/benchmark.md:
##########
@@ -0,0 +1,171 @@
+<!--
+  ~ Licensed to the Apache Software Foundation (ASF) under one or more
+  ~ contributor license agreements.  See the NOTICE file distributed with
+  ~ this work for additional information regarding copyright ownership.
+  ~ The ASF licenses this file to You under the Apache License, Version 2.0
+  ~ (the "License"); you may not use this file except in compliance with
+  ~ the License.  You may obtain a copy of the License at
+  ~
+  ~    http://www.apache.org/licenses/LICENSE-2.0
+  ~
+  ~ Unless required by applicable law or agreed to in writing, software
+  ~ distributed under the License is distributed on an "AS IS" BASIS,
+  ~ WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+  ~ See the License for the specific language governing permissions and
+  ~ limitations under the License.
+  -->
+  ## Environment
+  Software: Uniffle 0.2.0  Hadoop 2.8.5 Spark 2.4.6
+  Hardware: Machine 176 cores, 265G memory, 4T * 12 HDD, network bandwidth 10GB/s
+  Hadoop Yarn Cluster: 1 * ResourceManager + 6 * NodeManager, every machine 4T * 10 HDD
+  Uniffle Cluster: 1 * Coordinator + 6 * Shuffle Server, every machine 4T * 10 HDD
+  
+  ## Configuration
+  Spark's configuration
+  ````
+  spark.executor.instances 100
+  spark.executor.cores 4
+  spark.executor.memory 9g
+  spark.executor.memoryOverhead 1024
+  spark.shuffle.manager org.apache.spark.shuffle.RssShuffleManager
+  spark.rss.storage.type MEMORY_LOCALFILE
+  ````
+  Shuffle Server's configuration
+  ````
+  rss.storage.type MEMORY_LOCALFILE
+  rss.server.buffer.capacity 50g
+  ````
+  
+  ## TPC-DS
+  We generate 1TB data, we use the code of the [repo](https://github.com/databricks/spark-sql-perf)
+  
+  |query name|vanilla|uniffle|
+  |---|---|---|
+  |query1|16|18|
+  |query10|30|35|
+  |query11|86|96|
+  |query12|14|17|
+  |query13|102|77|
+  |query14a|239|254|
+  |query14b|226|232|
+  |query15|44|48|
+  |query16|50|59|
+  |query17|83|97|
+  |query18|31|35|
+  |query19|15|17|
+  |query2|21|25|
+  |query20|15|16|
+  |query21|8|8|
+  |query22|21|22|
+  |query23a|288|366|
+  |query23b|366|422|
+  |query24a|181|198|
+  |query24b|167|187|
+  |query25|93|113|
+  |query26|15|15|
+  |query27|16|17|
+  |query28|38|41|
+  |query29|80|102|
+  |query3|9|11|
+  |query30|21|26|
+  |query31|30|40|
+  |query32|14|15|
+  |query33|26|30|
+  |query34|12|16|
+  |query35|34|39|
+  |query36|15|18|
+  |query37|16|20|
+  |query38|27|36|
+  |query39|15|19|
+  |query39a|16|20|
+  |query39b|14|19|
+  |query4|205|227|
+  |query40|38|38|
+  |query41|5|6|
+  |query42|9|10|
+  |query43|13|13|
+  |query44|20|22|
+  |query45|30|36|
+  |query46|16|18|
+  |query47|22|25|
+  |query48|25|24|
+  |query49|58|66|
+  |query5|56|59|
+  |query50|56|61|
+  |query51|23|28|
+  |query52|9|10|
+  |query53|12|13|
+  |query54|52|62|
+  |query55|9|10|
+  |query56|25|27|
+  |query57|20|22|
+  |query58|23|26|
+  |query59|22|22|
+  |query6|33|41|
+  |query60|25|28|
+  |query61|25|28|
+  |query62|10|11|
+  |query63|12|12|
+  |query64|176|185|
+  |query65|32|37|
+  |query66|23|24|
+  |query67|697|775|
+  |query68|17|19|
+  |query69|31|34|
+  |query7|17|17|
+  |query70|24|27|
+  |query71|23|24|
+  |query72|335|350|
+  |query73|12|14|
+  |query74|68|99|
+  |query75|58|67|
+  |query76|21|21|
+  |query77|35|37|
+  |query78|151|169|
+  |query79|16|16|
+  |query8|15|20|
+  |query80|146|163|
+  |query81|18|26|
+  |query82|28|31|
+  |query83|21|24|
+  |query84|16|19|
+  |query85|45|49|
+  |query86|14|17|
+  |query87|29|37|
+  |query88|29|29|
+  |query89|11|13|
+  |query9|37|37|
+  |query90|11|11|
+  |query91|17|21|
+  |query92|12|12|
+  |query93|86|86|
+  |query94|40|42|
+  |query95|94|94|
+  |query96|10|10|
+  |query97|29|34|
+  |query98|17|21|
+  |query99|13|12|
+  |total|5821|6494|

Review Comment:
   Ok.



-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: issues-unsubscribe@uniffle.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


---------------------------------------------------------------------
To unsubscribe, e-mail: issues-unsubscribe@uniffle.apache.org
For additional commands, e-mail: issues-help@uniffle.apache.org


[GitHub] [incubator-uniffle] connorlwilkes commented on pull request #904: [MINOR] docs: Add benchmark results

Posted by "connorlwilkes (via GitHub)" <gi...@apache.org>.
connorlwilkes commented on PR #904:
URL: https://github.com/apache/incubator-uniffle/pull/904#issuecomment-1564311153

   1TB is quite a small dataset, has anyone benchmarked more than this and if so what did the results/config look like?


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: issues-unsubscribe@uniffle.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


---------------------------------------------------------------------
To unsubscribe, e-mail: issues-unsubscribe@uniffle.apache.org
For additional commands, e-mail: issues-help@uniffle.apache.org