I have 9 Matlab jobs that I want to run with Matlab from my Mac terminal (MAC OS X 10.8.5 2 * 2.4GHz with 6-core Intel Xeon processor).
So, I open 9 tabs in the Terminal and in each of them I open a Matlab session using the command:
Then, in each of these Matlab sessions, I run my program (which does not and cannot use parfor). The task is in progress.
But when I make the top of the terminal window, I find that in Matlab sessions only 1% to 45% of the CPU is used (and I suppose I have 12 cores!).
Any idea on what might be the problem? Can I charge a certain percentage of CPU usage?
I tried to put priority using
sudo renice -19 -p <PID number>
, , ( -19 0 +19).
;)