Re: Binding a thread (or specific process) to a designated CPU

2005-08-22 Thread Douglas McNaught
"Brian D. McGrew" <[EMAIL PROTECTED]> writes: > Good morning, > > Using FC3 or FC4 with the 2.6.9 or later kernel, we're looking for a way > to bind a thread (or an entire process) to a designated CPU. We're > using dual processor systems as well as P4 with HT and Xeons so all of > our boxes eith

Re: Binding a thread (or specific process) to a designated CPU

2005-08-22 Thread Tomasz Torcz
On Mon, Aug 22, 2005 at 02:56:47PM -0700, Brian D. McGrew wrote: > Using FC3 or FC4 with the 2.6.9 or later kernel, we're looking for a way > to bind a thread (or an entire process) to a designated CPU. man sched_setaffinity -- Tomasz TorczTo co nierealne - tutaj jest n

Re: Binding a thread (or specific process) to a designated CPU

2005-08-22 Thread Jesper Juhl
On 8/22/05, Brian D. McGrew <[EMAIL PROTECTED]> wrote: > Good morning, > > Using FC3 or FC4 with the 2.6.9 or later kernel, we're looking for a way > to bind a thread (or an entire process) to a designated CPU. We're #include int sched_setaffinity(pid_t pid, unsigned int len, uns

Binding a thread (or specific process) to a designated CPU

2005-08-22 Thread Brian D. McGrew
Good morning, Using FC3 or FC4 with the 2.6.9 or later kernel, we're looking for a way to bind a thread (or an entire process) to a designated CPU. We're using dual processor systems as well as P4 with HT and Xeons so all of our boxes either have two CPU's or 'appear' to have two. I want to be a