From owner-freebsd-current@FreeBSD.ORG Thu Mar 10 03:45:33 2011 Return-Path: Delivered-To: freebsd-current@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 95689106566B for ; Thu, 10 Mar 2011 03:45:33 +0000 (UTC) (envelope-from sgk@troutmask.apl.washington.edu) Received: from troutmask.apl.washington.edu (troutmask.apl.washington.edu [128.95.76.21]) by mx1.freebsd.org (Postfix) with ESMTP id 75B7D8FC0A for ; Thu, 10 Mar 2011 03:45:33 +0000 (UTC) Received: from troutmask.apl.washington.edu (localhost.apl.washington.edu [127.0.0.1]) by troutmask.apl.washington.edu (8.14.4/8.14.4) with ESMTP id p2A3jXmJ006975; Wed, 9 Mar 2011 19:45:33 -0800 (PST) (envelope-from sgk@troutmask.apl.washington.edu) Received: (from sgk@localhost) by troutmask.apl.washington.edu (8.14.4/8.14.4/Submit) id p2A3jW2Z006974; Wed, 9 Mar 2011 19:45:32 -0800 (PST) (envelope-from sgk) Date: Wed, 9 Mar 2011 19:45:32 -0800 From: Steve Kargl To: Hideki Yamamoto Message-ID: <20110310034532.GA6934@troutmask.apl.washington.edu> References: Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: User-Agent: Mutt/1.4.2.3i Cc: freebsd-current@freebsd.org, watanabe439@gmail.com Subject: Re: CPU affinity 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, 10 Mar 2011 03:45:33 -0000 On Thu, Mar 10, 2011 at 11:56:22AM +0900, Hideki Yamamoto wrote: > Hi, > > We are interested in realtime application and CPU affinity. > After googling pthread_setaffinity_np, I have found that it appeared in 7.2. > But I cannot find it by man command. > Does anyone know the status of CPU affinity function in FreeBSD or > useful links about it? > I have found the pointer about a command, > http://segfault.in/2010/09/how-to-set-cpu-affinity-for-a-process-in-freebsd/ > Man pages are available on-line. http://www.freebsd.org/cgi/man.cgi?query=pthread_setaffinity_np&apropos=0&sektion=0&manpath=FreeBSD+8.2-RELEASE&format=html -- Steve