2011/6/6 William Hopkins <we.hopk...@gmail.com>:
> On 06/06/11 at 10:14pm, darkestkhan wrote:
>> 2011/6/6 William Hopkins <we.hopk...@gmail.com>:
>> > On 06/06/11 at 02:50pm, darkestkhan wrote:
>> >> Is there any way to specify CPU affinity for binaries
>> >> launched from given directory (and it's subdirectories) ?
>> >
>> > AFAIK, no. You can set up a process watcher to scan for processes with a 
>> > certain name and set their affinity, or you can call the processes with a 
>> > set affinity at start. If you're calling an executable, call it with a 
>> > processor affinity (which should be inherited by child processes). If it's 
>> > a script, modify it to call with affinity.
>> >
>> > The command to set affinity on a running process, or launch a new process 
>> > with given CPU affinity is 'taskset'.
>> >
>> > --
>> > Liam
>> >
>>
>> If I set CPU affinity of BOINC manager will also programs launched by
>> BOINC manager have set CPU affinity?
> It depends on how the BOINC manager calls programs. I would try it and see.
>
> --
> Liam
>

I did test it and it seems like after setting  CPU affinity for BOINC
manager the programs it is calling/launching have the same CPU
affinity that BOINC manager.
Thx for help :)

darkestkhan
------------------------------------------
Feel free to CC me.
jid: darkestk...@gmail.com
May The Source be with You.


--
To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org
Archive: 
http://lists.debian.org/banlktinl-ctqqif3btvgzlbdmumqksg...@mail.gmail.com

Reply via email to