speed up code using servers
2 次查看(过去 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 个)
另请参阅
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!