Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 12 Apr 2007 09:02:16 -0400
From:      Randall Stewart <rrs@cisco.com>
To:        =?ISO-8859-1?Q?Dag-Erling_Sm=F8rgrav?= <des@des.no>
Cc:        freebsd-current@freebsd.org, Ivan Voras <ivoras@fer.hr>
Subject:   Re: CPU utilization
Message-ID:  <461E2DD8.9030103@cisco.com>
In-Reply-To: <86slb5ycmd.fsf@dwp.des.no>
References:  <461E0078.3050001@cisco.com>	<20070412114344.G64803@fledge.watson.org> <461E1D4E.3090806@cisco.com>	<evl95h$969$1@sea.gmane.org> <461E2C07.5000503@cisco.com> <86slb5ycmd.fsf@dwp.des.no>

next in thread | previous in thread | raw e-mail | index | archive | help
Dag-Erling Smørgrav wrote:
> Randall Stewart <rrs@cisco.com> writes:
>> Sure.. dumb question though.. whats the magic cookie to pin
>> something on a cpu.. is it a system call or is there a "shell" tool
>> that will do it?
> 
> Neither.  There is a kernel function to tie a thread to a CPU, but it
> is not exported to userland.
> 
> DES
Ahh.. hmm not sure how to setup my tests to do this then.. since
my test tools are all in user land :-(

R

-- 
Randall Stewart
NSSTG - Cisco Systems Inc.
803-345-0369 <or> 803-317-4952 (cell)



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?461E2DD8.9030103>