soutakux Posted March 26, 2014 Share Posted March 26, 2014 Hi I was wondering of anyone knew how to improve the performance of Matlab on my laptop. Im new to the site and have a 4th gen i7 on my lenovo 510p. When I run my code, Matlab seems to only use 20 percent of my cpu. Does anyone know if this is due to hyperthreaing or if its due to a restriction on Matlab itself? Quote Link to comment Share on other sites More sharing options...
svl7 Posted March 26, 2014 Share Posted March 26, 2014 I'm not sure... it might also depend on what you do with matlab. Not everything is parallelizable, so that might be the reason why it can't make full use of your CPUs potential. Quote Link to comment Share on other sites More sharing options...
Founder StamatisX Posted March 26, 2014 Founder Share Posted March 26, 2014 It's Matlab, last time I used it though was 10 years ago for my thesis... it was slower than death... took me 3 months to do something that in C required max a week... I am pretty sure things have changed since then, and it will probably offer code optimization for the toolbox you use but I wouldn't expect miracles. Quote Link to comment Share on other sites More sharing options...
Moderator angerthosenear Posted March 26, 2014 Moderator Share Posted March 26, 2014 It's Matlab, last time I used it though was 10 years ago for my thesis... it was slower than death... took me 3 months to do something that in C required max a week... I am pretty sure things have changed since then, and it will probably offer code optimization for the toolbox you use but I wouldn't expect miracles.Don't worry, it hasn't changed much. I haven't run anything fancy that required a decently measurable amount of time to run, but even with the small stuff I think "this could be a bit faster...."So yeah, don't expect it to run blazing fast. Quote Link to comment Share on other sites More sharing options...
Chen Posted April 9, 2014 Share Posted April 9, 2014 Hi I was wondering of anyone knew how to improve the performance of Matlab on my laptop. Im new to the site and have a 4th gen i7 on my lenovo 510p. When I run my code, Matlab seems to only use 20 percent of my cpu. Does anyone know if this is due to hyperthreaing or if its due to a restriction on Matlab itself?I am using Matlab for my research for a year now.. I do agree that Matlab is not the best when it comes to High speed computing. But certain performance can be improved atleast a bit , it depends on what you are trying to do. Let me know.. And I'll try to help..Sent from my GT-I9000 using Tapatalk Quote Link to comment Share on other sites More sharing options...
NerdyJack Posted April 19, 2014 Share Posted April 19, 2014 I'm afraid you can't improve it without redesigning your program to take the advantage of multi-processor... Option 1, try using Parallel computing toolbox. Option 2, or you can simulate the multi-threading process if you don't wanna purchase parallel toolkit. In your primary code, start another matlab instance by invoking a batch file which opens up matlab and run a script. The synchronization can be coordinated by sharing a piece of memory specifically reserved for parameter transferring, or you can simply create a .mat file and share the parameters via hard drive (check the file every several millisecond). This is what I used for multi-threading during the development of one internal test frame, and I saved a lot of money for my team lol (cuz parallel computing toolbox cost some 1000 dollars a piece) 2 Quote Link to comment Share on other sites More sharing options...
neeraj Posted April 22, 2014 Share Posted April 22, 2014 not too sure Quote Link to comment Share on other sites More sharing options...
arifrini Posted May 7, 2014 Share Posted May 7, 2014 i would recommend to install a SSD and a fast CPU. I had normal HDD and it took 10 sec to open the matlab, now it takes only a sec to open the program. you can guess how fast it is now. Quote Link to comment Share on other sites More sharing options...
kirkydaturkey Posted May 15, 2014 Share Posted May 15, 2014 yea it worked a lot faster on my SSD than HDD Quote Link to comment Share on other sites More sharing options...
soutakux Posted May 16, 2014 Author Share Posted May 16, 2014 I already have a fast CPU and a SSD installed. Actually some of my friends that one way of improving the efficiency of a code is to define the size of the matrix first then fill it in with numbers instead of increasing the size of the matrix as the code iterates. Quote Link to comment Share on other sites More sharing options...
Meet0s Posted January 21, 2015 Share Posted January 21, 2015 Need a good graphics card Quote Link to comment Share on other sites More sharing options...
pokethat Posted January 26, 2015 Share Posted January 26, 2015 The graphics card should not be too important, I do not know if any toolboxes allow for GPU compute anyway. Since Matlab is essential running code, and especially iterations, in serial, the best way to improve performance is to improve single threaded.Definately disable hyper threading and see if you cant tweak the processor some with intel XTU (overclocking, use at your own risk!)Hope this helped! Quote Link to comment Share on other sites More sharing options...
kaarelkelk Posted May 17, 2015 Share Posted May 17, 2015 i reccomendssd too Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.