The same Matlab 2009a much slower in Windows 7 64bit (i5-2410M) than XP 32bit (core 2 duo) computers

I had installed Matlab 2009a in a computer with pentium core 2 duo and Windows XP 32bit and it has been working without any problem. When I have installed the same Matlab in a computer with intel core i5-2410M and Windows 7 64bit and I have run the same program as with previous computer, the time that spends to finish the calculations with windows 7 computer is extremely higher than the time with XP computer. 1.- Time with Windows XP 32bit (core 2 duo) = 3 minutes 2.- Time with Windows 7 64bit (i5-2410M) = 21 minutes
Does not appear any error message, warning or notification. As you can see, something is not working properly, because with 64 bit environment and with a faster processor, the time difference are not reasonable.
In order to compare results in other computer, I have tried the same Matlab in a AMD Turion64 x2 with Windows Vista 32bit, and results were similar to those obtained with XP computer (only 3 minutes).
I have installed the last Java version in i5 computer, I have selected classic Windows wallpaper, and the results continue being the same: in i5-Windows 7 computer spends 21 minutes.
Which could be the problem?
Could you help me please?
Thank you very much!

Answers (2)

Did you install a 32-bit Matlab on the 64 bit OS? Does the profiler show, where the additional time is spent? E.g. do you write to a file, which is scanned continuosly by an antivrus software on the faster machine only?
No, I installed 64 bit version on the 64 bit OS (in fact, Matlab automatically installed the 64 bit version, propably it detected it in the instalation process).
Recently I installed Matlab 2007 version in the computer with intel core i5-2410M and Windows 7 64bit. This Matlab version is only 32 bit version and it works perfectly! (the computer only spends 2 minutes making the same calculation previously reported).
So it seems that Matlab 32 bit versions work without problems (in both, 64-bit OS and 32-bit OS), but not as concerns to Matlab 64 bit.

1 Comment

Please use the profile to find the commands, which are slower. I'm running 2009a in 32 and 64 bit under Win7/64 and 2009a/32 under WinXP/32 without seeing such differences. Therefore I guessm that this concerns a function I do not use.

Sign in to comment.

Categories

Asked:

on 11 Feb 2012

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!