From owner-freebsd-smp@FreeBSD.ORG Thu Feb 22 02:01:25 2007 Return-Path: X-Original-To: freebsd-smp@freebsd.org Delivered-To: freebsd-smp@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id E08D116A402; Thu, 22 Feb 2007 02:01:25 +0000 (UTC) (envelope-from aaron.kunze@intel.com) Received: from mga01.intel.com (mga01.intel.com [192.55.52.88]) by mx1.freebsd.org (Postfix) with ESMTP id C440D13C481; Thu, 22 Feb 2007 02:01:25 +0000 (UTC) (envelope-from aaron.kunze@intel.com) Received: from fmsmga001.fm.intel.com ([10.253.24.23]) by mga01.intel.com with ESMTP; 21 Feb 2007 17:32:50 -0800 Received: from orsmsx335.jf.intel.com ([10.22.226.40]) by fmsmga001.fm.intel.com with ESMTP; 21 Feb 2007 17:32:49 -0800 X-ExtLoop1: 1 X-IronPort-AV: i="4.14,203,1170662400"; d="scan'208"; a="202690950:sNHT21998389" Received: from orsmsx416.amr.corp.intel.com ([10.22.226.46]) by orsmsx335.jf.intel.com with Microsoft SMTPSVC(6.0.3790.1830); Wed, 21 Feb 2007 17:32:49 -0800 X-MimeOLE: Produced By Microsoft Exchange V6.5 Content-class: urn:content-classes:message MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: quoted-printable Date: Wed, 21 Feb 2007 17:32:49 -0800 Message-ID: <07DDDFCFB8BE0A43BCA52E743373DBDC030C5D5A@orsmsx416.amr.corp.intel.com> X-MS-Has-Attach: X-MS-TNEF-Correlator: Thread-Topic: Re: Setting CPU affinity to process( Freebsd smp kernel) thread-index: AcdWIVzDXVZyVVzJRTKTq9pCuzWVVA== From: "Kunze, Aaron" To: , X-OriginalArrivalTime: 22 Feb 2007 01:32:49.0270 (UTC) FILETIME=[5CB62960:01C75621] Cc: atmblr@gmail.com Subject: Re: Setting CPU affinity to process( Freebsd smp kernel) X-BeenThere: freebsd-smp@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: FreeBSD SMP implementation group List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 22 Feb 2007 02:01:26 -0000 Hello! Does anyone know if this will change any time soon? For example, is anyone working on exposing affinity to user-space applications via extensions of the pthreads interface? =20 Sorry to reply to such an old thread... Aaron --------------- On Monday 20 November 2006 06:24, Ashok TM wrote: > Hello, >=20 > Is there a way to set a process's CPU affinity with freebsd smp kernel. > By doing so a process is bound to and will only run on the processor (where > the affinity was set ) even though the other processors are free. (similar > to sched_setaffinity available on Linux kernel) . >=20 > Does freebsd smp scheduler supports setting affinity? Yes, but currently only in the kernel. --=20 John Baldwin -------------------------- Aaron Kunze aaron.kunze@intel.com --PGP Key ID: 0x81124B7C-- --NOT SPEAKING FOR INTEL-- -------GO BOILERS!!-------