From owner-freebsd-arch@FreeBSD.ORG Tue Dec 25 03:35:13 2007 Return-Path: Delivered-To: arch@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 1962F16A420 for ; Tue, 25 Dec 2007 03:35:13 +0000 (UTC) (envelope-from brian.mcginty@gmail.com) Received: from wx-out-0506.google.com (wx-out-0506.google.com [66.249.82.239]) by mx1.freebsd.org (Postfix) with ESMTP id D287213C465 for ; Tue, 25 Dec 2007 03:35:12 +0000 (UTC) (envelope-from brian.mcginty@gmail.com) Received: by wx-out-0506.google.com with SMTP id i29so570603wxd.7 for ; Mon, 24 Dec 2007 19:35:12 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:received:received:message-id:date:from:to:subject:cc:in-reply-to:mime-version:content-type:content-transfer-encoding:content-disposition:references; bh=TyTAIqfRtGCfHBSavDY+wQvZFqsa4x36vZGfFvbI6c8=; b=G/Vez16mmWHBJVA9OjJ+VFZKP2b0+k8nanRsF1s1L0VIqlXetO0sqcAFAC+3N+XCr5ZDSDMqKjNDMTfznbHMY7mutt0RXq4T/FVlyBnfQSXBU8qqH7KbY5I/CXL0NKFZpSzhuRhYXoATvnnOwbaOVm21iJcA4CjbXKT/h98InPg= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=message-id:date:from:to:subject:cc:in-reply-to:mime-version:content-type:content-transfer-encoding:content-disposition:references; b=UxE1wnbaOJvHwlSCBLV9y7UkvVGMPr/gDtML8wnaDxGJc1RrO+FK7MZf332nWktqwQH31NPwlQljEPwDQtlc5cCnCrFEFRmIc/UqORdyG6nGfm3PNpahiau7Dp+QKi1jSU6Lw0yG2kPnxCCzurbkpNSkvdfZphLyuHpHbBzZe7M= Received: by 10.70.22.16 with SMTP id 16mr3574395wxv.45.1198552179856; Mon, 24 Dec 2007 19:09:39 -0800 (PST) Received: by 10.70.17.20 with HTTP; Mon, 24 Dec 2007 19:09:39 -0800 (PST) Message-ID: <601bffc40712241909t10e6f3k8e7940d387b6efc2@mail.gmail.com> Date: Mon, 24 Dec 2007 19:09:39 -0800 From: "Brian McGinty" To: "David Xu" In-Reply-To: <476F0EE5.1040404@freebsd.org> MIME-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit Content-Disposition: inline References: <20071219211025.T899@desktop> <476B1973.6070902@freebsd.org> <20071222183700.L5866@fledge.watson.org> <476F0EE5.1040404@freebsd.org> Cc: arch@freebsd.org, Robert Watson Subject: Re: Linux compatible setaffinity. X-BeenThere: freebsd-arch@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Discussion related to FreeBSD architecture List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 25 Dec 2007 03:35:13 -0000 On Dec 23, 2007 5:44 PM, David Xu wrote: > > Robert Watson wrote: > > On Fri, 21 Dec 2007, David Xu wrote: > > > >> I don't say no to these interfaces, but there is a need to tell user > >> which cpus are sharing cache, or memory distance is closest enough, > >> and which cpus are servicing interrupts, e.g, network interrupt and > >> disks etc, etc, otherwise, blindly setting cpu affinity mask only can > >> shoot itself in the foot. > > > > While the Mac OS X API is pretty Mach-specific, it's worth taking a look > > at their recently-announced affinity API: > > > > http://developer.apple.com/releasenotes/Performance/RN-AffinityAPI/index.html > > > > > > Robert N M Watson > > Computer Laboratory > > University of Cambridge > > > > > I like the interfaces, it is more flexible. I agree. May I as k what's being planned? It's Jeffs' call finally I think. Brian.