필터 지우기
필터 지우기

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!

답변 (1개)

Jason Ross
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.

카테고리

Help CenterFile Exchange에서 Startup and Shutdown에 대해 자세히 알아보기

Community Treasure Hunt

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

Start Hunting!

Translated by