forked from apache/celeborn
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
[CELEBORN-1270] Introduce PbPackedPartitionLocations to (de-)serializ…
…e PartitionLocations more efficiently ### What changes were proposed in this pull request? 1. Introduces new approaches to (de-)serialize partition locations. 2. The Celeborn server remains compatible with old clients. ### Why are the changes needed? 1. Improve memory efficiency for partition locations. ### Does this PR introduce _any_ user-facing change? NO. ### How was this patch tested? 1. Pass GA. 2. Run tests on cluster: ``` val start = System.currentTimeMillis spark.sparkContext.parallelize(1 to 10000, 10000).flatMap( _ => (1 to 950000).iterator.map(num => num)).repartition(10000).count val after = System.currentTimeMillis println((after-start)/1000) ``` packed RPC time: 70,65,64,64,64,64 baseline RPC time: 69,66,66,66,67,66 I think this PR does not introduce performance overhead. 4. RPC size test: this PR can reduce PRC size by up to 60%. Closes apache#2456 from FMX/CELEBORN-1270. Authored-by: mingji <[email protected]> Signed-off-by: Shuang <[email protected]>
- Loading branch information
Showing
8 changed files
with
400 additions
and
48 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.