Using parfor on a single quad-core?

조회 수: 1 (최근 30일)
Bart Boesman
Bart Boesman 2012년 12월 19일
Hi all,
Does anyone have an idea whether its advantageous to use a parforloop on a single quadcore? I have some code that calculates in each iteration a set of integrals (a few with infinite boundaries) which can take up some time. However, matlab uses already functions that are multithreaded on their own. I tested it quickly, but it was slower dan ever (probably I still have to adapt my code a little bit to optimize it). However, I'd like to have an idea whether I should put some work in it or not. To give you an idea of the computation time, some integrals take more than one minute to calculate.
Thanks!
Bart
  댓글 수: 1
Matt J
Matt J 2012년 12월 19일
It would depend a lot on the processing being done and how much of your computation is actually just data transfer to the parallel workers.

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

답변 (0개)

카테고리

Help CenterFile Exchange에서 Parallel for-Loops (parfor)에 대해 자세히 알아보기

태그

Community Treasure Hunt

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

Start Hunting!

Translated by