MATLAB Parallel Computing Toolbox and Process Priority Settings

16 ビュー (過去 30 日間)
Kareem Elgindy
Kareem Elgindy 2022 年 4 月 15 日
コメント済み: Kareem Elgindy 2023 年 1 月 17 日 14:32
Before I started using MATLAB Parallel Computing Toolbox, I often set the priority of MATLAB in the Task Manager in Windows as either High or Realtime to speed up the execution. Now, after running a code using the aforementioned toolbox, I started to see several instances of MATLAB in the list of ongoing processes, so which instance should I increase its priority to gain more speed? Should I change them all? Does changing the priority even has any effect in terms of speed in this case?
  2 件のコメント
Kareem Elgindy
Kareem Elgindy 2023 年 1 月 17 日 14:32
Thanks for your time to answer this question, but I think the answer to this question is still open.

サインインしてコメントする。

回答 (1 件)

Alvaro
Alvaro 2023 年 1 月 17 日 12:32
The MATLAB central file linked in Edric's answer should let you modulate priorities when called within an spmd block:
Regarding on whether it would help or not, I would think that it depends on the number of resource-hungry processes that you have running on your machine. Basically, if you close all the other programs you have running besides MATLAB then setting a higher priority should not significantly affect the performance of your MATLAB workers.

カテゴリ

Find more on Startup and Shutdown in Help Center and File Exchange

製品


リリース

R2022a

Community Treasure Hunt

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

Start Hunting!

Translated by