![]() |
|
|
|||
|
Restrict app to use only single core
I have a multi core system and in order to do performance profiling I
would like to restrict Matlab to use no more than one of the available cores. Is there a way to do this at the OS level? Matlab can restrict itself to a single thread but this isn't the same. Other OS's refer to this capability as the "Processor Affinity". Thanks, Curt |
|
|||
|
Re: Restrict app to use only single core
> I have a multi core system and in order to do performance profiling I
> would like to restrict Matlab to use no more than one of the available > cores. Is there a way to do this at the OS level? Matlab can restrict > itself to a single thread but this isn't the same. Other OS's refer to > this capability as the "Processor Affinity". http://librenix.com/?inode=8829 toylet@server:~$ apt-cache search affinity schedtool - Queries/alters process' scheduling policy and CPU affinity -- @~@ Might, Courage, Vision, SINCERITY. / v \ Simplicity is Beauty! May the Force and Farce be with you! /( _ )\ (Xubuntu 8.04) Linux 2.6.26 ^ ^ 18:24:01 up 3 days 21:50 3 users load average: 1.00 1.02 1.00 ºî ´© (CSSA): http://www.swd.gov.hk/tc/index/site_...ub_addressesa/ |
|
|||
|
Re: Restrict app to use only single core
Curt wrote:
> I have a multi core system and in order to do performance profiling I > would like to restrict Matlab to use no more than one of the available > cores. Is there a way to do this at the OS level? Matlab can restrict > itself to a single thread but this isn't the same. Other OS's refer to > this capability as the "Processor Affinity". http://librenix.com/?inode=8829 toylet@server:~$ apt-cache search affinity schedtool - Queries/alters process' scheduling policy and CPU affinity -- @~@ Might, Courage, Vision, SINCERITY. / v \ Simplicity is Beauty! May the Force and Farce be with you! /( _ )\ (Xubuntu 8.04) Linux 2.6.26 ^ ^ 18:27:01 up 3 days 21:53 3 users load average: 1.17 1.05 1.01 ºî ´© (CSSA): http://www.swd.gov.hk/tc/index/site_...ub_addressesa/ |
![]() |
|
| Thread Tools | Search this Thread |
| Display Modes | |
|
|