GitHub user ankurdave opened a pull request:
https://github.com/apache/spark/pull/3054
Optimizations for mapReduceTriplets and EdgePartition
1. EdgePartition now stores local vertex ids instead of global ids. This
avoids hash lookups when looking up vertex attributes and aggregating messages.
2. Internal iterators in mapReduceTriplets are inlined into a while loop.
These optimizations were tested to provide a 21.4% speedup on PageRank
(uk-2007-05 graph, 10 iterations, 16 r3.2xlarge machines, sped up from 513 s to
403 s).
You can merge this pull request into a Git repository by running:
$ git pull https://github.com/ankurdave/spark local-ids
Alternatively you can review and apply these changes as the patch at:
https://github.com/apache/spark/pull/3054.patch
To close this pull request, make a commit to your master/trunk branch
with (at least) the following in the commit message:
This closes #3054
----
commit 4a566dc86624ac3f6dfa747d344c86e4be44adc2
Author: Ankur Dave <[email protected]>
Date: 2014-08-14T02:33:47Z
Optimizations for mapReduceTriplets and EdgePartition
1. EdgePartition now stores local vertex ids instead of global ids. This
avoids hash lookups when looking up vertex attributes and aggregating
messages.
2. Internal iterators in mapReduceTriplets are inlined into a while
loop.
----
---
If your project is set up for it, you can reply to this email and have your
reply appear on GitHub as well. If your project does not have this feature
enabled and wishes so, or if the feature is enabled but not working, please
contact infrastructure at [email protected] or file a JIRA ticket
with INFRA.
---
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]