SUMMARY: pinning a process to a cpu

From: Joe Reid <jreid_at_vnet.net>
Date: Tue Mar 28 2006 - 01:58:45 EST
Thanks to:
Martin Presslaber
Kalyan Manchikanti
Vladimir Terziev
Erek Adams
francisco
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 <jreid@vnet.net> 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
jreid@vnet.net
http://www.singlewhitemale.net
?c=a=rb=sc=fd=te=wf=zg=porh=n?
_______________________________________________
sunmanagers mailing list
sunmanagers@sunmanagers.org
http://www.sunmanagers.org/mailman/listinfo/sunmanagers
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