Post

1 follower Follow
0
Avatar

R Studio 64 bit slower than expected

The same R code is running on two different machines.
Few lines of code (around 70). It is an SVD recommender system.

That's what it does:
1- setting parameters (k, user.id, movie.id)
2- uploading ratings (matrix 5600x100) and movies' titles
3- centering the ratings matrix with a personalized mean
4- computing svd
5- prediction(user, movie)

Here you find the performance on 2 different machines:
Desktop: Intel Pentium G630 @2.70GHz - 4GB RAM - Windows 7 Professional 32 bit
R version 3.0.2 (2013-09-25) - Platform: i386-w64-mingw32/i386 (32-bit)

user system elapsed
1.40 0.01 1.46

Laptop: Intel Core i7-4700HQ @2.40GHz - 16GB RAM - Windows 8 Pro 64 bit
R version 3.0.2 (2013-09-25) - Platform: x86_64-w64-mingw32/x64 (64-bit)

user system elapsed
4.16 0.31 6.30

I am very surprised that my desktop is faster than my laptop, although my laptop is more powerful. Does anybody have a clue on why this is happening? (no other background programs)

I hope to have been clear
Thank you very much
Cristian

Cristian Mastrofrancesco