How do I force matlab to run on a certain processor other than the first one under Linux?
2 ビュー (過去 30 日間)
古いコメントを表示
Aloha Folks, sometimes I have Matlab running doing some crunch work and its taking over resources from other programs, making it sometimes hard to do any sort of work.
I am wondering if there is a way to assign a worker other than the primary to be used for matlab. This is not a parallel question, though I am aware that I may need parallel/distributive toolboxes.I am using Linux, so perhaps a combination with PBS or similar might be an option?
FYI, under windows, you can use Affinity in the task manager.
I am very thankful for anyone who could help me with this,
Thank you!
0 件のコメント
回答 (1 件)
Jason Ross
2012 年 10 月 4 日
Take a look at the "taskset" command.
I will say that most modern OS's do a pretty decent job of balancing processes -- so the slowdown might be coming from the exhaustion of another resource, like memory or disk I/O -- especially if you are using enough memory to be using a swap file heavily.
0 件のコメント
参考
カテゴリ
Help Center および File Exchange で Startup and Shutdown についてさらに検索
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!