From owner-freebsd-questions@freebsd.org Fri Apr 16 18:06:34 2021 Return-Path: Delivered-To: freebsd-questions@mailman.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.nyi.freebsd.org (Postfix) with ESMTP id 121C15DA1CB for ; Fri, 16 Apr 2021 18:06:34 +0000 (UTC) (envelope-from lumiwa@dismail.de) Received: from mx1.dismail.de (mx1.dismail.de [78.46.223.134]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA512 client-signature RSA-PSS (4096 bits) client-digest SHA256) (Client CN "mx1.dismail.de", Issuer "R3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4FMPKh6tpmz4gXr for ; Fri, 16 Apr 2021 18:06:32 +0000 (UTC) (envelope-from lumiwa@dismail.de) Received: from mx1.dismail.de (localhost [127.0.0.1]) by mx1.dismail.de (OpenSMTPD) with ESMTP id 39628433; Fri, 16 Apr 2021 20:06:29 +0200 (CEST) Received: from smtp1.dismail.de ( [10.240.26.11]) by mx1.dismail.de (OpenSMTPD) with ESMTP id b515a495; Fri, 16 Apr 2021 20:06:29 +0200 (CEST) Received: from smtp1.dismail.de (localhost [127.0.0.1]) by smtp1.dismail.de (OpenSMTPD) with ESMTP id 86c39bce; Fri, 16 Apr 2021 20:06:29 +0200 (CEST) Received: by dismail.de (OpenSMTPD) with ESMTPSA id 81ff4ef4 (TLSv1.3:AEAD-AES256-GCM-SHA384:256:NO); Fri, 16 Apr 2021 20:06:28 +0200 (CEST) Date: Fri, 16 Apr 2021 14:06:25 -0400 From: LuMiWa To: Pete Wright Cc: FreeBSD Questions Subject: Re: hyperthreading Message-ID: <20210416140625.05a79920@dismail.de> In-Reply-To: References: <20210415192527.49375f7f@dismail.de> X-Mailer: Claws Mail 3.17.8 (GTK+ 2.24.33; amd64-portbld-freebsd13.0) MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: quoted-printable X-Rspamd-Queue-Id: 4FMPKh6tpmz4gXr X-Spamd-Bar: ---- X-Spamd-Result: default: False [-4.70 / 15.00]; ARC_NA(0.00)[]; R_DKIM_ALLOW(-0.20)[dismail.de:s=20190914]; FROM_HAS_DN(0.00)[]; DWL_DNSWL_MED(-2.00)[dismail.de:dkim]; R_SPF_ALLOW(-0.20)[+ip4:78.46.223.134]; NEURAL_HAM_LONG(-1.00)[-1.000]; MIME_GOOD(-0.10)[text/plain]; RCVD_DKIM_ARC_DNSWL_MED(-0.50)[]; NEURAL_SPAM_MEDIUM(1.00)[1.000]; RCVD_COUNT_THREE(0.00)[4]; TO_MATCH_ENVRCPT_SOME(0.00)[]; TO_DN_ALL(0.00)[]; RCVD_IN_DNSWL_MED(-0.20)[78.46.223.134:from]; RCPT_COUNT_TWO(0.00)[2]; DMARC_POLICY_ALLOW(-0.50)[dismail.de,reject]; DKIM_TRACE(0.00)[dismail.de:+]; NEURAL_HAM_SHORT(-1.00)[-1.000]; FROM_EQ_ENVFROM(0.00)[]; MIME_TRACE(0.00)[0:+]; RCVD_TLS_LAST(0.00)[]; ASN(0.00)[asn:24940, ipnet:78.46.0.0/15, country:DE]; MID_RHS_MATCH_FROM(0.00)[]; MAILMAN_DEST(0.00)[freebsd-questions] X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.34 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 16 Apr 2021 18:06:34 -0000 On Thu, 15 Apr 2021 17:29:11 -0700 Pete Wright wrote: >=20 >=20 > On 4/15/21 4:25 PM, LuMiWa via freebsd-questions wrote: > > H1! > > > > I have FreeBSD 13.0-RELEASE on Thinkpad T495. For now I had just > > Intel processors and T495 has > > > > Machine class: amd64 > > CPU Model: AMD Ryzen 5 PRO 3500U w/ Radeon Vega Mobile Gfx > > No. of Cores: 8 > > > > I had hyperthreading disabled in boot/loader.conf: > > > > machdep.hyperthreading_allowed=3D0 > > Is with AMD processors the same. I had also installed devcpu-data. > > Should I do the same on the laptop, please? >=20 > yes i believe the same loader knob is used for AMD cpu's.=C2=A0 here's one > of my hosts with an Epyc CPU: > CPU: AMD EPYC 7302P 16-Core Processor=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0= =C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0 (3000.06-MHz=20 > K8-class CPU) >=20 > $ sysctl machdep.hyperthreading_allowed > machdep.hyperthreading_allowed: 1 > $ sysctl hw.ncpu > hw.ncpu: 32 > $ >=20 >=20 > cheers, > -pete >=20 Thank you. --=20 =E2=80=9CWe live in a world where there is more and more information, and l= ess and less meaning.=E2=80=9D Jean Baudrillard