Uh oh!
There was an error while loading. Please reload this page.
[SPARK-6521][Core] Bypass unnecessary network access if block managers share an identical host - #9478
[SPARK-6521][Core] Bypass unnecessary network access if block managers share an identical host#9478maropu wants to merge 6 commits into
Conversation
SparkQA
commented
Nov 5, 2015
Test build #45071 has finished for PR 9478 at commit
|
SparkQA
commented
Nov 5, 2015
Test build #45106 has finished for PR 9478 at commit
|
5c00a5a to
8d0a2f0CompareSparkQA
commented
Nov 5, 2015
Test build #45117 has finished for PR 9478 at commit
|
There was a problem hiding this comment.
nit: each arg on its own line, with return value on same line as last arg
maropu
commented
Nov 5, 2015
retest this please |
SparkQA
commented
Nov 6, 2015
Test build #45163 has finished for PR 9478 at commit
|
SparkQA
commented
Nov 6, 2015
Test build #45166 has finished for PR 9478 at commit
|
SparkQA
commented
Nov 6, 2015
Test build #45170 has finished for PR 9478 at commit
|
maropu
commented
Nov 6, 2015
@andrewor14 Could you review this and give some suggestions? |
There was a problem hiding this comment.
this doesn't belong here. BlockDataManager should know nothing about shuffles.
There was a problem hiding this comment.
Renamed getShuffleBlockData into getBlockData. Is this fix correct for your comments?
andrewor14
commented
Nov 11, 2015
@maropu Thanks for taking this over. I took a pass and I believe the high level approach is correct. However, it seems that the abstractions can be simplified a little. Please also fix the style issues that I pointed out. |
andrewor14
commented
Nov 11, 2015
By the way, have you done some benchmarking to measure how much this actually saves? I wonder if the gains are actually all that significant. Maybe it actually matters if we're fetching many small blocks, but even then I'm not 100% sure. |
maropu
commented
Nov 11, 2015
@andrewor14 Thx for your reviews. |
cebc895 to
6b8f7bfCompareSparkQA
commented
Nov 11, 2015
Test build #45591 has finished for PR 9478 at commit
|
andrewor14
commented
Nov 19, 2015
@maropu any updates? Did you have a chance to do the benchmarks? |
maropu
commented
Nov 26, 2015
@andrewor14 I tried quick benchmarks though, I saw little difference, so I'm taking various tests on it. |
6b8f7bf to
1653691CompareSparkQA
commented
Nov 26, 2015
Test build #46739 has finished for PR 9478 at commit
|
SparkQA
commented
Nov 26, 2015
Test build #46741 has finished for PR 9478 at commit
|
4ca2d72 to
ba94687CompareSparkQA
commented
Nov 27, 2015
Test build #46794 has finished for PR 9478 at commit
|
0325d35 to
303abcdComparemaropu
commented
Nov 27, 2015
@andrewor14 ISTM that this pr has a little effect on performance even in case of many partitions involved in shuffle. Test settings:
I think that this patch might avoid issues caused by netty (i.e., gc pressures and network troubles) in a corner case though, |
SparkQA
commented
Nov 27, 2015
Test build #46806 has finished for PR 9478 at commit
|
andrewor14
commented
Dec 1, 2015
@maropu thanks for running the benchmarks. It seems that the gains are not really significant enough to warrant all the complexity this patch adds. This is to a certain extent as expected since network is generally pretty fast, and Spark tends to bottleneck on CPU rather than I/O or network. |
andrewor14
commented
Dec 1, 2015
Can you close this PR? |
maropu
commented
Dec 1, 2015
@andrewor14 Okay and thanks. Also, can you close SPARK-6521? I left comments there. |
Refactored #5178 and added unit tests.