Serving the Quantitative Finance Community

 
User avatar
jzamoras
Topic Author
Posts: 0
Joined: January 10th, 2007, 2:14 am

Optimize Matlab code for multicore

May 12th, 2008, 3:10 pm

Hi All, I just bought a quad core computer (Q6600 Intel Quad) and I noticed that it's just twice fast as my 2 GHz centrino. I suppose that something can be done to achieve better performance. Is there a tutorial about this issue?Best,Jaime
 
User avatar
piterdias
Posts: 0
Joined: July 14th, 2002, 3:00 am

Optimize Matlab code for multicore

May 13th, 2008, 5:46 pm

Jaime,This one is old dated (an year ago) but seems to explain your issue: I have a PC that runs on a multi-core processor, and I would like one session of MATLAB to take advantage of the multiple processors. Regards,Piter Dias
 
User avatar
Cuchulainn
Posts: 23029
Joined: July 16th, 2004, 7:38 am

Optimize Matlab code for multicore

May 13th, 2008, 7:08 pm

QuoteOriginally posted by: jzamorasHi All, I just bought a quad core computer (Q6600 Intel Quad) and I noticed that it's just twice fast as my 2 GHz centrino. I suppose that something can be done to achieve better performance. Is there a tutorial about this issue?Best,JaimeSomeone said that Memory Man. on single core Matlab was shaky (lost objects etc.) Is that true?
 
User avatar
attesaarela
Posts: 0
Joined: November 10th, 2006, 6:06 pm

Optimize Matlab code for multicore

September 9th, 2008, 11:30 am

From what I've read, Maybe you could try JOCaml etc, havent used it myself very much though.But there is a school of thought that functional languages could make parallel programming easier.
 
User avatar
himAgain
Posts: 0
Joined: August 17th, 2008, 8:11 pm

Optimize Matlab code for multicore

October 28th, 2008, 1:19 pm

Jamie,MatLab R2008a (R2007a i believe as well) is already optimized for multi-core. If you need to make sure goto;file (toolbar) preferences General Multi threading a button and check box will enable/disable and will give you the option to select the amount of threads (I have 8 but I still choose automatic)let me know if this is the answer you were looking for.