Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 15 Apr 2021 17:29:11 -0700
From:      Pete Wright <pete@nomadlogic.org>
To:        LuMiWa <lumiwa@dismail.de>, FreeBSD Questions <freebsd-questions@freebsd.org>
Subject:   Re: hyperthreading
Message-ID:  <e72a03bf-00e1-ddb8-3829-f818589af9fc@nomadlogic.org>
In-Reply-To: <20210415192527.49375f7f@dismail.de>
References:  <20210415192527.49375f7f@dismail.de>

next in thread | previous in thread | raw e-mail | index | archive | help


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=0
> Is with AMD processors the same. I had also installed devcpu-data.
> Should I do the same on the laptop, please?

yes i believe the same loader knob is used for AMD cpu's.  here's one of 
my hosts with an Epyc CPU:
CPU: AMD EPYC 7302P 16-Core Processor                (3000.06-MHz 
K8-class CPU)

$ sysctl machdep.hyperthreading_allowed
machdep.hyperthreading_allowed: 1
$ sysctl hw.ncpu
hw.ncpu: 32
$


cheers,
-pete

-- 
Pete Wright
pete@nomadlogic.org
@nomadlogicLA




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?e72a03bf-00e1-ddb8-3829-f818589af9fc>