How can I solve a speed matlab execution in a multicore PC?

Hi there,
I currently bought a PC with an i7-6cores(windows8) to run matlab (simulations) but I found it runs my application very much slower than my old laptop with Intel Core2. I understand that one way to speed the execution would be using special coding (parfor, ...) but I think there is another problem that I can not identify.
Is there a similar problem as the one I just described? Is there a possible fix for that?
Thank you very for any help you can provide me.
Juan

4 Comments

You did not provide any useful detail of your program and the computers. It could be the virus scanner, or a cache line collision, or the hard disk, or the Matlab version, ...
Jan, thank you very much for your prompt comment. Actually, I run the same matlab application (RF propagation calculations) using matlab version 13a (64bit) in the PC(i7-3930K, 3.2GHz) and a Toshiba Satellite laptop equipped with an i7 4700MQ-CPU 2.4GHz. Additionally I run the application in a Toshiba and in addition I run the application in my old Toshiba Satellite A204-s4797) using Matlab 11b.
The result I get is that the old laptop takes 40 minutos, the newer laptop 2h 15 minutes and the PC around 5 hours. I noticed that the number of processes, threads and handles in the newer laptop doubles the corresponding values in the PC. I hope this data provides useful info.
Thanks again for any help,
Juan
Jan, I am sorry. I made a mistake repeating part of the info in the third and fourth line
Juan
Hi. The memory in each computer is obviously important factor. The hard disk access speed if very important, so is MATLAB installed in the same disk where the code is saved or separate hard disk? Finally, there is always an overhead time when using multiple cores which will lengthen time if code is not really a complicated one (e.g. serial tasks rather than parallel). Regards

Sign in to comment.

Answers (1)

Marko Gulin
Marko Gulin on 29 Nov 2013
Edited: Marko Gulin on 29 Nov 2013
In my case, hard disk drive was a bottleneck. After I've installed SSD, MATLAB, as well as all other programs, run much much faster!!! :)

1 Comment

Marko,
Thank you very much for your input, I will check it.
Best regards,
Juan

Sign in to comment.

Categories

Products

Asked:

on 29 Nov 2013

Commented:

on 13 Jun 2017

Community Treasure Hunt

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

Start Hunting!