You are viewing a plain text version of this content. The canonical link for it is here.
Posted to user@spark.apache.org by Mohit Jaggi <mo...@ayasdi.com> on 2014/04/25 00:14:52 UTC
spark mllib to jblas calls..and comparison with VW
Folks,
I am wondering how mllib interacts with jblas and lapack. Does it make
copies of data from my RDD format to jblas's format? Does jblas copy it
again before passing to lapack native code?
I also saw some comparisons with VW and it seems mllib is slower on a
single node but scales better and outperforms VW on 16 nodes. Any idea why?
Are improvements in the pipeline?
Mohit.
Re: spark mllib to jblas calls..and comparison with VW
Posted by Xiangrui Meng <me...@gmail.com>.
The data array in RDD is passed by reference to jblas, so data copying
in this stage. However, if jblas uses the native interface, there is a
copying overhead. I think jblas uses java implementation for at least
Level 1 BLAS, and calling native interface for Level 2 & 3. -Xiangrui
On Thu, Apr 24, 2014 at 3:14 PM, Mohit Jaggi <mo...@ayasdi.com> wrote:
> Folks,
> I am wondering how mllib interacts with jblas and lapack. Does it make
> copies of data from my RDD format to jblas's format? Does jblas copy it
> again before passing to lapack native code?
>
> I also saw some comparisons with VW and it seems mllib is slower on a single
> node but scales better and outperforms VW on 16 nodes. Any idea why? Are
> improvements in the pipeline?
>
> Mohit.