Matlab with dual core uses only 50% cpu (R2010b, Intel Core 2 duo T9300)
Afficher commentaires plus anciens
I'm doing a finite difference simulation with matlab which takes around 15 minutes at this moment. When looking at the resource monitor of Windows 7 (32 bit), I see matlab never uses more than 50% of the cpu.
I'm using Matlab R2010b. The computer is a HP with a Intel core 2 duo T9300, 2.5GHz 4GB RAM, of which 3GB is usable (due to 32bit Windows 7)
The question is, how can I make the computer use 100% of its computing power so I can run my simulations faster?
In Windows I already turned all power saving options off, but this didn't help.
Réponse acceptée
Plus de réponses (3)
the cyclist
le 14 Mar 2011
0 votes
From poking around on Google, I gather that there is a multithreading option in Preferences, but that not all MATLAB functions will multithread.
Not sure on this, and I cannot check because I don't think these options exist on a Mac, which is what I use.
1 commentaire
Johan
le 14 Mar 2011
Jason Ross
le 14 Mar 2011
0 votes
Keep in mind also that "computing power" is not measured by CPU alone. If you look in Resource Monitor, examine the disk, memory and network connection metrics, as well.
For example, if you are accessing data from a network it's entirely possible that you could be waiting on that operation to complete and the CPU has no data to process.
1 commentaire
Sarah Wait Zaranek
le 14 Mar 2011
Good point as well.
Richard Crozier
le 17 Mar 2011
0 votes
Have a look at the multicore package on the file exchange to speed up computation using multiple cores.
Catégories
En savoir plus sur MATLAB Coder dans Centre d'aide et File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!