Borrar filtros
Borrar filtros

How do I force matlab to run on a certain processor other than the first one under Linux?

2 visualizaciones (últimos 30 días)
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!

Respuestas (1)

Jason Ross
Jason Ross el 4 de Oct. de 2012
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.

Categorías

Más información sobre Startup and Shutdown en Help Center y File Exchange.

Community Treasure Hunt

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

Start Hunting!

Translated by