From owner-freebsd-threads@FreeBSD.ORG Sat May 1 12:45:59 2004 Return-Path: Delivered-To: freebsd-threads@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id EBD5816A4CE for ; Sat, 1 May 2004 12:45:59 -0700 (PDT) Received: from rms04.rommon.net (rms04.rommon.net [212.54.2.140]) by mx1.FreeBSD.org (Postfix) with ESMTP id CC67043D1D for ; Sat, 1 May 2004 12:45:58 -0700 (PDT) (envelope-from pete@he.iki.fi) Received: from he.iki.fi (h91.vuokselantie10.fi [193.64.42.145]) by rms04.rommon.net (8.12.10/8.12.9) with ESMTP id i41Jjvmo021064; Sat, 1 May 2004 22:45:57 +0300 (EEST) (envelope-from pete@he.iki.fi) Message-ID: <4093FE70.7040305@he.iki.fi> Date: Sat, 01 May 2004 22:45:52 +0300 From: Petri Helenius User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.6) Gecko/20040113 X-Accept-Language: en-us, en MIME-Version: 1.0 To: Daniel Eischen References: In-Reply-To: Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 8bit cc: freebsd-threads@freebsd.org Subject: Re: system priorities X-BeenThere: freebsd-threads@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: Threading on FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 01 May 2004 19:46:00 -0000 Daniel Eischen wrote: Thanks, IŽll try the patch. >There would be a way to get it, but you needn't if you >use P_MYID. Solaris has _lwp_self(). One of the other >things on my wish list is to be able to bind (soft >affinity) KSEs to processors. > > > I would like to have KSE or thread processor affinity. Specially in HTT environments where I could assign the threads I know do the bulk of the work to separate physical CPU's and let the small ones run whereever they like ... Pete