From owner-freebsd-smp@FreeBSD.ORG Mon Nov 20 11:26:36 2006 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 5404B16A63D for ; Mon, 20 Nov 2006 11:26:36 +0000 (UTC) (envelope-from atmblr@gmail.com) Received: from wx-out-0506.google.com (wx-out-0506.google.com [66.249.82.232]) by mx1.FreeBSD.org (Postfix) with ESMTP id 455D543F31 for ; Mon, 20 Nov 2006 11:24:24 +0000 (GMT) (envelope-from atmblr@gmail.com) Received: by wx-out-0506.google.com with SMTP id s18so1523901wxc for ; Mon, 20 Nov 2006 03:24:26 -0800 (PST) DomainKey-Signature: a=rsa-sha1; q=dns; c=nofws; s=beta; d=gmail.com; h=received:message-id:date:from:to:subject:mime-version:content-type; b=TkpMja+NwX2NfQ7aRDuO26QoP6dVwEa0erTd6gL/LfLJyinPyMjE9OKOdIDOyid8eZV3mG3AM4iXEnPsG5cDO9kMzGZGXuSU6zgSoSg7LMsNOzOStSiPUfh7nSKDsgj7U2tGHIrlQJV8KDO7ZAeHxZrmd/a9CI/vi9QjV1T6u0w= Received: by 10.70.99.9 with SMTP id w9mr9514539wxb.1164021865447; Mon, 20 Nov 2006 03:24:25 -0800 (PST) Received: by 10.70.43.15 with HTTP; Mon, 20 Nov 2006 03:24:25 -0800 (PST) Message-ID: Date: Mon, 20 Nov 2006 16:54:25 +0530 From: "Ashok TM" To: freebsd-smp@freebsd.org MIME-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Content-Disposition: inline X-Content-Filtered-By: Mailman/MimeDel 2.1.5 Subject: 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: Mon, 20 Nov 2006 11:26:36 -0000 Hello, 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) . Does freebsd smp scheduler supports setting affinity? Thanks atm