Info

이 질문은 마감되었습니다. 편집하거나 답변을 올리려면 질문을 다시 여십시오.

How can i involve four cpu on running a program in matlab 2014?

조회 수: 1 (최근 30일)
MA
MA 2014년 6월 26일
마감: MATLAB Answer Bot 2021년 8월 20일
when i use parpool or matlabpool,program uses only extra ram not cpu whatever i do,my program only uses 25% of cpu what should i do that its uses whole cpu or at least 75% of cpu?

답변 (1개)

Chaitra
Chaitra 2014년 6월 26일
편집: Chaitra 2014년 6월 26일
Executing parpool command starts a pool using the current cluster profile, with the pool size specified by your parallel preferences and the current profile. I would recommend you to check these parameter settings. If these parameter settings are absent, it defaults to the number of cores that your system has.
To start a cluster of 4 CPUs you can execute the command:
>>parpool 4
Execute this command and then run your program and check the usage of CPU. Also, you specified that there is 25% CPU utilization seen. Is this observed on all the CPUs on your system? The usage of CPU depends on how computationally intensive your program is.
  댓글 수: 2
MA
MA 2014년 6월 26일
to your question,it uses 25% of whole 4 cpu or 100% of one cpu of my system
Chaitra
Chaitra 2014년 6월 27일
Is your program computationally intensive? Did you check the parameter settings?

이 질문은 마감되었습니다.

Community Treasure Hunt

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

Start Hunting!

Translated by