From owner-freebsd-arch@FreeBSD.ORG Sun Mar 22 18:48:08 2015 Return-Path: Delivered-To: freebsd-arch@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTPS id EDC8B4C0 for ; Sun, 22 Mar 2015 18:48:08 +0000 (UTC) Received: from c.mail.sonic.net (c.mail.sonic.net [64.142.111.80]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id D00F838C for ; Sun, 22 Mar 2015 18:48:08 +0000 (UTC) Received: from comporellon.tachypleus.net (polaris.tachypleus.net [75.101.50.44]) (authenticated bits=0) by c.mail.sonic.net (8.15.1/8.15.1) with ESMTPSA id t2MIm6HT004486 (version=TLSv1.2 cipher=DHE-RSA-AES256-SHA bits=256 verify=NOT) for ; Sun, 22 Mar 2015 11:48:07 -0700 Message-ID: <550F0E66.6080908@freebsd.org> Date: Sun, 22 Mar 2015 11:48:06 -0700 From: Nathan Whitehorn User-Agent: Mozilla/5.0 (X11; FreeBSD amd64; rv:31.0) Gecko/20100101 Thunderbird/31.5.0 MIME-Version: 1.0 To: freebsd-arch@freebsd.org Subject: Re: RFC: Simplfying hyperthreading distinctions References: <1640664.8z9mx3EOQs@ralph.baldwin.cx> <54FA1180.3080605@astrodoggroup.com> <1526311.uylCbgv5VB@ralph.baldwin.cx> <20150320123823.GA49621@zxy.spb.ru> <550DC564.5020802@freebsd.org> <20150321214336.334eaea5@nonamehost.local> <20150322100744.5b390591@ernst.home> <550EDF87.2070101@astrodoggroup.com> <20150322184349.GA86429@zxy.spb.ru> In-Reply-To: <20150322184349.GA86429@zxy.spb.ru> Content-Type: text/plain; charset=windows-1252; format=flowed Content-Transfer-Encoding: 7bit X-Sonic-CAuth: UmFuZG9tSVYkezcKDwd+5IZnA4cQRWOTlrqRqSnLAW0Z+Gp3Sebe9fcjn7CiMhWcYMsjJR7AKQXIWYJhLu6/4vSXO4A/JnY0kl0tsG10siU= X-Sonic-ID: C;Tt9m+sPQ5BGUm9BwQIsAyQ== M;8DC++sPQ5BGUm9BwQIsAyQ== X-Spam-Flag: No X-Sonic-Spam-Details: 0.0/5.0 by cerberusd X-BeenThere: freebsd-arch@freebsd.org X-Mailman-Version: 2.1.18-1 Precedence: list List-Id: Discussion related to FreeBSD architecture List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 22 Mar 2015 18:48:09 -0000 On 03/22/15 11:43, Slawa Olhovchenkov wrote: > On Sun, Mar 22, 2015 at 10:44:51AM -0700, Adrian Chadd wrote: > >> ... or maybe the scheduler shouldn't be the primary source of the CPU >> topology information, but instead should be a consumer. :) > And may be good think unified API (userland also) for get full > topology (with PCIe, USB bus, USB HUB and other devices and IRQ > handlers). > > Currently for detect IRQ handlers of NIC I am need to parse > hw.intrnames with hacks for maping 't5nex0:0.1' to cxl0 and > 'ix1:que 2' to ix1. > devinfo doesn't work for you? -Nathan