필터 지우기
필터 지우기

Multi processor

조회 수: 1 (최근 30일)
Nello Troccia
Nello Troccia 2012년 3월 16일
Hi, I started a calculation on matlab and I saw that matlab use only 25% of the CPUs of my machine (1 CPU of 4 in my case). How can I set matlab to use all CPU of my machine? thanks!

답변 (2개)

Daniel Shub
Daniel Shub 2012년 3월 16일
MATLAB will use all the cores of your CPU if it can. Some calculations are not CPU limited, so you might not see maximum usage. Other calculations cannot be easily multi-threaded. Sometimes you can help MATLAB realize that a calculation can be multi-threaded (e.g., parfor). Without a simplified version of what you are doing, there is no way to help you more.

Jan
Jan 2012년 3월 16일
It depends on the problem. If you can parallalize it, it happens either automatically for some commands ( filter, sum, etc), manually by using parfor or spmd or by running several Matlab instances. If the problem cannot be parallelized, you cannot distribute the work to different threads, e.g. when you write a large file to the disk.

카테고리

Help CenterFile Exchange에서 Parallel Computing에 대해 자세히 알아보기

Community Treasure Hunt

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

Start Hunting!

Translated by