speed up code using servers
조회 수: 6 (최근 30일)
이전 댓글 표시
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
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.
답변 (0개)
참고 항목
카테고리
Help Center 및 File Exchange에서 Loops and Conditional Statements에 대해 자세히 알아보기
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!