From owner-freebsd-current@FreeBSD.ORG Thu Apr 12 12:59:33 2007 Return-Path: X-Original-To: freebsd-current@freebsd.org Delivered-To: freebsd-current@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id 4209116A404 for ; Thu, 12 Apr 2007 12:59:33 +0000 (UTC) (envelope-from rrs@cisco.com) Received: from sj-iport-3.cisco.com (sj-iport-3-in.cisco.com [171.71.176.72]) by mx1.freebsd.org (Postfix) with ESMTP id 17E8313C44C for ; Thu, 12 Apr 2007 12:59:33 +0000 (UTC) (envelope-from rrs@cisco.com) Received: from sj-dkim-1.cisco.com ([171.71.179.21]) by sj-iport-3.cisco.com with ESMTP; 12 Apr 2007 05:59:33 -0700 X-IronPort-AV: i="4.14,402,1170662400"; d="scan'208"; a="477737954:sNHT45161344" Received: from sj-core-1.cisco.com (sj-core-1.cisco.com [171.71.177.237]) by sj-dkim-1.cisco.com (8.12.11/8.12.11) with ESMTP id l3CCxW93022927; Thu, 12 Apr 2007 05:59:32 -0700 Received: from xbh-sjc-221.amer.cisco.com (xbh-sjc-221.cisco.com [128.107.191.63]) by sj-core-1.cisco.com (8.12.10/8.12.6) with ESMTP id l3CCxWMH025255; Thu, 12 Apr 2007 12:59:32 GMT Received: from xfe-sjc-212.amer.cisco.com ([171.70.151.187]) by xbh-sjc-221.amer.cisco.com with Microsoft SMTPSVC(6.0.3790.1830); Thu, 12 Apr 2007 05:59:32 -0700 Received: from [127.0.0.1] ([171.68.225.134]) by xfe-sjc-212.amer.cisco.com with Microsoft SMTPSVC(6.0.3790.1830); Thu, 12 Apr 2007 05:59:32 -0700 Message-ID: <461E2DD8.9030103@cisco.com> Date: Thu, 12 Apr 2007 09:02:16 -0400 From: Randall Stewart User-Agent: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.8.0.8) Gecko/20061029 FreeBSD/i386 SeaMonkey/1.0.6 MIME-Version: 1.0 To: =?ISO-8859-1?Q?Dag-Erling_Sm=F8rgrav?= References: <461E0078.3050001@cisco.com> <20070412114344.G64803@fledge.watson.org> <461E1D4E.3090806@cisco.com> <461E2C07.5000503@cisco.com> <86slb5ycmd.fsf@dwp.des.no> In-Reply-To: <86slb5ycmd.fsf@dwp.des.no> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 8bit X-OriginalArrivalTime: 12 Apr 2007 12:59:32.0145 (UTC) FILETIME=[69C7B210:01C77D02] DKIM-Signature: v=0.5; a=rsa-sha256; q=dns/txt; l=550; t=1176382772; x=1177246772; c=relaxed/simple; s=sjdkim1004; h=Content-Type:From:Subject:Content-Transfer-Encoding:MIME-Version; d=cisco.com; i=rrs@cisco.com; z=From:=20Randall=20Stewart=20 |Subject:=20Re=3A=20CPU=20utilization |Sender:=20; bh=YiOgyPSlmI9nq2p9mLHWs9mm7YXpXkAwAU9mhE5bV4w=; b=GA+bgWrkGHeY1naiWMpc6gVfZYwYrGfk5A3X90mmtkaHIXQ79ebXug7MEinktO9maOD1Hc6x KYa75lauYGpP4agWnxv5VGK1mw3hfcUKr+TRhbJsv7puV5wEpbzkOEweuSgXcbaSAYBqRfYdTB 8P4GKeBU59og71lHFfboe+6Go=; Authentication-Results: sj-dkim-1; header.From=rrs@cisco.com; dkim=pass (sig from cisco.com/sjdkim1004 verified; ); Cc: freebsd-current@freebsd.org, Ivan Voras Subject: Re: CPU utilization X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Discussions about the use of FreeBSD-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 12 Apr 2007 12:59:33 -0000 Dag-Erling Smørgrav wrote: > Randall Stewart 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 803-317-4952 (cell)