From owner-freebsd-arch@FreeBSD.ORG Sat Mar 21 19:43:51 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 18FAA56E; Sat, 21 Mar 2015 19:43:51 +0000 (UTC) Received: from frv158.fwdcdn.com (frv158.fwdcdn.com [212.42.77.158]) (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 74E4075; Sat, 21 Mar 2015 19:43:50 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=ukr.net; s=fsm; h=Content-Transfer-Encoding:Content-Type:MIME-Version:References:In-Reply-To:Message-ID:Subject:Cc:To:From:Date; bh=rPGLg7fLGKkSja4ih4ts1qofj4tT6IGE0Ij9z5Gsoyc=; b=vNgXUsWcDH70AfLLhEoKXe82h++ynPwDBbIuwciFaLE3kcv2OEAUrijtNIU57lgFcDlKOExOlMXQ2/PmJfqw3rBcXqvLjNFdSzf453oMjNsb8LVthMjUmtOe4RDiBjUEeid1Qv8f3bXBnAVwdz0CwgAwNlDGzW0Bl0Mrx+MCA9I=; Received: from [46.211.113.164] (helo=nonamehost.local) by frv158.fwdcdn.com with esmtpsa ID 1YZPJ8-000PlF-1A ; Sat, 21 Mar 2015 21:43:42 +0200 Date: Sat, 21 Mar 2015 21:43:35 +0200 From: Ivan Klymenko To: Alfred Perlstein Subject: Re: RFC: Simplfying hyperthreading distinctions Message-ID: <20150321214336.334eaea5@nonamehost.local> In-Reply-To: <550DC564.5020802@freebsd.org> References: <1640664.8z9mx3EOQs@ralph.baldwin.cx> <54FA1180.3080605@astrodoggroup.com> <1526311.uylCbgv5VB@ralph.baldwin.cx> <20150320123823.GA49621@zxy.spb.ru> <550DC564.5020802@freebsd.org> X-Mailer: Claws Mail 3.11.1 (GTK+ 2.24.25; amd64-portbld-freebsd11.0) MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: quoted-printable Authentication-Result: IP=46.211.113.164; mail.from=fidaj@ukr.net; dkim=pass; header.d=ukr.net Cc: Harrison Grundy , freebsd-arch@freebsd.org, Slawa Olhovchenkov 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: Sat, 21 Mar 2015 19:43:51 -0000 =D0=92 Sat, 21 Mar 2015 12:24:20 -0700 Alfred Perlstein =D0=BF=D0=B8=D1=88=D0=B5=D1=82: > John, >=20 > Just a quick note on this, hopefully it's not too off-topic... >=20 > We need to detect if HTT or SMT is enabled, right now there are no=20 > sysctl nodes to detect this and instead we have to parse xml out of > the scheduler... >=20 > Does it make sense to have a basic sysctl tree for this? >=20 > hw.cpu.threading.smt=3D0 > hw.cpu.threading.htt=3D0 >=20 > or something? >=20 I am sorry that I interfere Why then not use kern.smp.topology for this purpose?