SUMMARY: pinning a process to a cpu

From: Joe Reid <>
Date: Tue Mar 28 2006 - 01:58:45 EST
Thanks to:
Martin Presslaber
Kalyan Manchikanti
Vladimir Terziev
Erek Adams
Webpro - joe
Scott Lawsom
Chris Smith
Atul Gore
and Hutin Bertrand
(so far)

The answer to my question - how to pin a process to a cpu was best 
answered with pbind - give it a pid (already started) on the commandline 
and a cpuid (from mpstat) and it will bind any of your own processes to 
a given cpu - root not needed.

I got another set of answer regarding cpu sets; if I had a really big 
machine and wanted to setup an encoding farm that's probably how I'd do 
it, but pbind solved my problem.

Thanks again to the sunmanagers.

----original query-----
On 3/25/06, Joe Reid <> wrote:

 > Is there a way to pin a process to a single cpu on a multi cpu machine?
 > Will it make a difference while running flac or ogg-enc on my dual 900
 > SB1K?

Joe Reid
sunmanagers mailing list
Received on Tue Mar 28 01:59:26 2006

This archive was generated by hypermail 2.1.8 : Thu Mar 03 2016 - 06:43:57 EST