speed up code using servers

조회 수: 6 (최근 30일)
Kim
Kim 2014년 9월 8일
댓글: Kim 2014년 10월 26일
I have a code that takes more than a day to run. It has a lot of nested loops so I cant use parfor to speed it up much. Can I hire computing time on a superfast computer and run it there? I dont want to use the parallel computing toolbox, because it wont help me much. I just need a very fast computer (better than my desktop i7 processor). Would it help if I use Amazons server or is that only useful if you can benefit from parallel computing? Thank you!
  댓글 수: 2
Iain
Iain 2014년 9월 8일
Matlab uses a single core. Opening up all of your cores (An i7 has 8?) ought to speed up your execution time by about a factor of 6-7 (if you use 8 cores) when you use parfor. - If you can use parfor that is.
You might find improvements by using graphical processors. "gpuArray" is a function you'll find in the help documentation.
Kim
Kim 2014년 10월 26일
Sorry for the late reply, it took me a while to look into all of this. For me using parfor is not going to help much I think, as I have many forloops 'over' each other. I found the following server though which should speed up things even without using parfor: https://www.cac.cornell.edu/redcloud/

댓글을 달려면 로그인하십시오.

답변 (0개)

카테고리

Help CenterFile Exchange에서 Loops and Conditional Statements에 대해 자세히 알아보기

태그

Community Treasure Hunt

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

Start Hunting!

Translated by