speed up code using servers

1 次查看(过去 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