One possible though onerous solution would be to wait until the multi-threaded 
process starts and then use "taskset -p -c <n> <pid>" on the individual threads 
 to change the CPU affinity of each thread.  Use "ps -L" to find the "light 
weight process id" (LWP) of the threads.

I'm not sure this would actually improve things, but if it did it might be 
possible to make a script that watches for these tasks and automatically 
spreads the load across multiple CPUs.  Admittedly it's a total hack.  It would 
be nice if Xilinx fixed the situation.

Dave

On Jun 6, 2012, at 9:55 AM, Mandana Amiri wrote:

> You are right. I enabled it as Kim suggested and it hardly uses the second 
> core.
> 
> Mandana
> 
> On 05/06/2012 8:42 PM, Simon Scott wrote:
>> Hi Mandana, Kim
>> 
>> From my experiences, I have never actually seen any speed increase from 
>> enabling multithreading. But I guess it doesn't hurt to enable it anyway.
>> 
>> Simon Scott
>> 
>> On 05/06/2012 14:23, Kim Guzzino wrote:
>>> Mandana,
>>>     The option for turning on multithreading for MAP is  "-mt on" .
>>> Edit   "/mlib_devel/xps_lib/XPS_ROACH_base/etc/fastruntime.opt"
>>>   Add  "-mt on;" under the Map section.
>>> That's it.
>>> 
>>> Kim Guzzino
>>> 
>>> -----Original Message-----
>>> From: [email protected]
>>> [mailto:[email protected]] On Behalf Of Mandana Amiri
>>> Sent: Tuesday, June 05, 2012 12:58 PM
>>> To: Casper
>>> Subject: [casper] How to enable multithreading in XST/PAR in 11.5?
>>> 
>>> Hi everyone,
>>> 
>>> I finally notice that xst and map are running on one CPU core only when I
>>> try to compile our correlator design. I read on Xilinx website that Xilinx
>>> 11.5 supports multi-threading for Virtex-5 series. Does anyone know how to
>>> enable multithreading in Casper toolflow?
>>> 
>>> Mandana
>>> 
>>> 
>>> 
>>> 
>> 
>> 
> 
> 


Reply via email to