Github user Ishiihara commented on the pull request:
https://github.com/apache/spark/pull/1871#issuecomment-51724432
@mengxr Some benchmark result
Environment: OSX 10.9, 8G memory, 2.5G i5 CPU, 4 threads
startingAlpha = 0.0025
vecterSize = 100
Driver memory 2g
syn0 and syn1 as mutable.HashMap
| numPartition | numIteration | time | total shuffle write |
| ---------------- | -----------------
|-----------|-----------------------|
|1 |1 | 9m30.828s |42.6MB |
|4 |1 | 5m47.192s |43.6MB |
|10 |1 | 6m12.333s |490.4MB|
|100 |1 | 6m24.663s |2.0G|
syn0 and syn1 as big Array
| numPartition | numIteration | time | total shuffle write |
| ---------------- | -----------------
|-----------|-----------------------|
|1 |1 | 9m1.675s |42.6MB |
|4 |1 | 5m3.130s |43.6MB |
|10 |1 | 5m24.283s |580MB|
|100 |1 | 5m52.446s | 4.1G|
---
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]