FAQ Search Today's Posts Mark Forums Read
» Video Reviews

» Linux Archive

Linux-archive is a website aiming to archive linux email lists and to make them easily accessible for linux users/developers.

» Sponsor

» Partners

» Sponsor

Go Back   Linux Archive > Debian > Debian User

LinkBack Thread Tools
Old 06-06-2011, 10:14 PM
Default Fwd: Setting CPU affinity for binaries in given directory

2011/6/6 William Hopkins <we.hopkins@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?

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

To UNSUBSCRIBE, email to debian-user-REQUEST@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmaster@lists.debian.org
Archive: BANLkTi==i4ZFaPXisaw9hOnLCa-LnejP9g@mail.gmail.com">http://lists.debian.org/BANLkTi==i4ZFaPXisaw9hOnLCa-LnejP9g@mail.gmail.com

Thread Tools

All times are GMT. The time now is 09:18 PM.

VBulletin, Copyright ©2000 - 2014, Jelsoft Enterprises Ltd.
Content Relevant URLs by vBSEO ©2007, Crawlability, Inc.
Copyright 2007 - 2008, www.linux-archive.org