From owner-freebsd-hackers@FreeBSD.ORG Wed Mar 11 00:53:07 2015 Return-Path: Delivered-To: freebsd-hackers@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 71EC09AD for ; Wed, 11 Mar 2015 00:53:07 +0000 (UTC) Received: from na01-bn1-obe.outbound.protection.outlook.com (mail-bn1bon0065.outbound.protection.outlook.com [157.56.111.65]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-SHA384 (256/256 bits)) (Client CN "mail.protection.outlook.com", Issuer "MSIT Machine Auth CA 2" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 13DCAE74 for ; Wed, 11 Mar 2015 00:53:06 +0000 (UTC) Received: from DM2PR0801MB0944.namprd08.prod.outlook.com (25.160.131.27) by DM2PR0801MB0941.namprd08.prod.outlook.com (25.160.131.24) with Microsoft SMTP Server (TLS) id 15.1.106.15; Wed, 11 Mar 2015 00:52:58 +0000 Received: from DM2PR0801MB0944.namprd08.prod.outlook.com ([25.160.131.27]) by DM2PR0801MB0944.namprd08.prod.outlook.com ([25.160.131.27]) with mapi id 15.01.0106.007; Wed, 11 Mar 2015 00:52:58 +0000 From: "Pokala, Ravi" To: "lokadamus@gmx.de" , Rui Paulo Subject: Re: detecting hyperthreading Thread-Topic: detecting hyperthreading Thread-Index: AQHQWqyImRFHWPGSCkqtx00nVjUfFZ0U6yCA//+MIICAAWfagP//i6mAgAB5HICAABzcgA== Date: Wed, 11 Mar 2015 00:52:58 +0000 Message-ID: References: <9F2E1411-B517-4BC8-AF61-BB15EE35083C@me.com> <54FF1343.1020705@gmx.de> <54FF1743.8080205@gmx.de> In-Reply-To: <54FF1743.8080205@gmx.de> Accept-Language: en-US Content-Language: en-US X-MS-Has-Attach: X-MS-TNEF-Correlator: user-agent: Microsoft-MacOutlook/14.4.8.150116 x-originating-ip: [24.6.178.251] authentication-results: gmx.de; dkim=none (message not signed) header.d=none; x-microsoft-antispam: UriScan:;BCL:0;PCL:0;RULEID:;SRVR:DM2PR0801MB0941; x-forefront-antispam-report: BMV:1; SFV:NSPM; SFS:(10009020)(6009001)(51704005)(377424004)(13464003)(106116001)(66066001)(86362001)(87936001)(221733001)(122556002)(102836002)(40100003)(92566002)(93886004)(77156002)(83506001)(76176999)(36756003)(2501003)(54356999)(2900100001)(19580405001)(2950100001)(62966003)(2656002)(46102003)(19580395003)(99286002)(50986999)(7059030); DIR:OUT; SFP:1101; SCL:1; SRVR:DM2PR0801MB0941; H:DM2PR0801MB0944.namprd08.prod.outlook.com; FPR:; SPF:None; MLV:sfv; LANG:en; x-microsoft-antispam-prvs: x-exchange-antispam-report-test: UriScan:; x-exchange-antispam-report-cfa-test: BCL:0; PCL:0; RULEID:(601004)(5002009)(5005006); SRVR:DM2PR0801MB0941; BCL:0; PCL:0; RULEID:; SRVR:DM2PR0801MB0941; x-forefront-prvs: 0512CC5201 Content-Type: text/plain; charset="us-ascii" Content-ID: <6F2234014D260C44A71F03F30E3075C1@namprd08.prod.outlook.com> Content-Transfer-Encoding: quoted-printable MIME-Version: 1.0 X-OriginatorOrg: panasas.com X-MS-Exchange-CrossTenant-originalarrivaltime: 11 Mar 2015 00:52:58.6913 (UTC) X-MS-Exchange-CrossTenant-fromentityheader: Hosted X-MS-Exchange-CrossTenant-id: acf01c9d-c699-42af-bdbb-44bf582e60b0 X-MS-Exchange-Transport-CrossTenantHeadersStamped: DM2PR0801MB0941 Cc: "freebsd-hackers@freebsd.org" X-BeenThere: freebsd-hackers@freebsd.org X-Mailman-Version: 2.1.18-1 Precedence: list List-Id: Technical Discussions relating to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 11 Mar 2015 00:53:07 -0000 -----Original Message----- From: "lokadamus@gmx.de" Date: 2015-03-10, Tuesday at 09:09 To: Ravi Pokala , Rui Paulo Cc: "freebsd-hackers@freebsd.org" Subject: Re: detecting hyperthreading >Well, i don't know, how a new system is showing the following sequence: >dmesg | grep FreeBSD/SMP | grep HTT >Answer: FreeBSD/SMP: 1 package(s) x 1 core(s) x 2 HTT threads > >Value $? is zero, but i will not reboot my system to look how it will >change, when HTT is disabled. > >I make a portupgrade and this will need some hour. ;) :-) I could probably use the machdep.hyperthreading_allowed *tunable* in loader.conf to get a system running w/ HT disabled and see what the kernel reports there, but all the suitable systems are shared, so I need to coordinate w/ others. -Ravi