diff options
author | Davies Liu <davies@databricks.com> | 2014-11-21 15:02:31 -0800 |
---|---|---|
committer | Xiangrui Meng <meng@databricks.com> | 2014-11-21 15:02:42 -0800 |
commit | 9309ddfc3b9cca3780555fb3ac52d96343cb9545 (patch) | |
tree | 9d2088c1347b94fe9d02331d2e4c389eaa300e92 /bin/run-example.cmd | |
parent | 6a01689a913a1a223fad66848c4fc17ab2931f22 (diff) | |
download | spark-9309ddfc3b9cca3780555fb3ac52d96343cb9545.tar.gz spark-9309ddfc3b9cca3780555fb3ac52d96343cb9545.tar.bz2 spark-9309ddfc3b9cca3780555fb3ac52d96343cb9545.zip |
[SPARK-4531] [MLlib] cache serialized java object
The Pyrolite is pretty slow (comparing to the adhoc serializer in 1.1), it cause much performance regression in 1.2, because we cache the serialized Python object in JVM, deserialize them into Java object in each step.
This PR change to cache the deserialized JavaRDD instead of PythonRDD to avoid the deserialization of Pyrolite. It should have similar memory usage as before, but much faster.
Author: Davies Liu <davies@databricks.com>
Closes #3397 from davies/cache and squashes the following commits:
7f6e6ce [Davies Liu] Update -> Updater
4b52edd [Davies Liu] using named argument
63b984e [Davies Liu] fix
7da0332 [Davies Liu] add unpersist()
dff33e1 [Davies Liu] address comments
c2bdfc2 [Davies Liu] refactor
d572f00 [Davies Liu] Merge branch 'master' into cache
f1063e1 [Davies Liu] cache serialized java object
(cherry picked from commit ce95bd8e130b2c7688b94be40683bdd90d86012d)
Signed-off-by: Xiangrui Meng <meng@databricks.com>
Diffstat (limited to 'bin/run-example.cmd')
0 files changed, 0 insertions, 0 deletions